<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>domas mituzas &#187; security</title>
	<atom:link href="http://dom.as/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://dom.as</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 21:29:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dom.as' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6e344c6e0cd7462eb056f8b98eb2cbcd?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>domas mituzas &#187; security</title>
		<link>http://dom.as</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dom.as/osd.xml" title="domas mituzas" />
	<atom:link rel='hub' href='http://dom.as/?pushpress=hub'/>
		<item>
		<title>Dear IT Security Industry&#8230;</title>
		<link>http://dom.as/2009/09/10/security-industry-crap/</link>
		<comments>http://dom.as/2009/09/10/security-industry-crap/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 23:59:19 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://mituzas.lt/?p=597</guid>
		<description><![CDATA[&#8230; You are full of shit. I don&#8217;t know how effective your scare-mongering cash-extortion tactics are, but they don&#8217;t really help neither your users, nor vendors, nor anyone else. It all starts when major vulnerability databases start authoritatively spouting out &#8230; <a href="http://dom.as/2009/09/10/security-industry-crap/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=597&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8230; You are full of shit.</p>
<p>I don&#8217;t know how effective your scare-mongering cash-extortion tactics are, but they don&#8217;t really help neither your users, nor vendors, nor anyone else.</p>
<p>It all starts when major vulnerability databases start authoritatively spouting out crap like this:</p>
<p style="padding-left:30px;">A vulnerability has been reported in MySQL, which can be exploited to compromise a vulnerable system.<br />
The vulnerability is caused due to an unspecified error and can be exploited to cause a buffer overflow. (<a href="http://secunia.com/advisories/36575/">Secunia</a>)</p>
<p>Or crap like this:
</p>
<p style="padding-left:30px;">MySQL is prone to a buffer-overflow vulnerability because if fails to perform adequate boundary checks on user-supplied data.<br />
An attacker can leverage this issue to execute arbitrary code within the context of the vulnerable application. Failed exploit attempts will result in a denial-of-service condition. (<a href="http://www.securityfocus.com/bid/36242/discuss">Securityfocus</a>)</p>
<p><span id="more-597"></span></p>
<p>Of course, there must be some reason to publish such claims, right? Of course, if you brought in cash for all these security vendors, they&#8217;d definitely tell you that in future they will give you all available updates, but for now:
</p>
<p style="padding-left:30px;">Due to the very limited available information, it is not possible to suggest an effective workaround.</p>
<p>Why would one post such crap? Because people want to sell things, like vulnerability databases full of rubbish:</p>
<p style="padding-left:30px;">A working commercial exploit is available through Intevydis. This exploit is not otherwise publicly available or known to be circulating in the wild (<a href="http://www.securityfocus.com/bid/36242/exploit">Securityfocus</a>)</p>
<p>This is how the Security Vendor that unleashed this all classifies the vulnerability:</p>
<ul>
<li><strong>Name</strong>: MySQL 5.x exploit</li>
<li><strong>Status</strong>: 0day</li>
<li><strong>Details</strong>: Remote buffer overflow exploit. Tested on Debian Linux 5.0 with mysql-server 5.0.51a-24+lenny1</li>
<li><strong>Listener</strong>: LINUXMOSDEF</li>
<li><strong>Platform</strong>: Linux x86</li>
</ul>
<p>If you&#8217;d look it up, Debian just had security advisory <a href="http://www.debian.org/security/2009/dsa-1877">DSA-1877-1</a> (released at September 2nd, one day before Secunia and Securityfocus went live with their stuff), which tells us about denial of service and execution of arbitrary code possibility. The +lenny2 package fixes it, the +lenny1 package is vulnerable. At this point, I don&#8217;t really have anything against Debian security people &#8211; Linux distribution security contacts are always eager to communicate, share, discuss, and, well, admit failures &#8211; and as they are not in money extortion business, it is very easy to forgive them. Still, the advisory mentions &#8220;potential execution of arbitrary code via format string specifiers&#8221;. See, original exploit at <a href="http://www.milw0rm.com/exploits/9085">milw0rm</a> did mention &#8220;format string vulnerability&#8221;, which is source of  [easily understandable] confusion here.</p>
<p>Various C libraries allow passing %n format specifier to printf() calls, which is:</p>
<p style="padding-left:30px;">The number of characters written so far is stored into the integer indicated by the int * (or variant) pointer argument.  No argument is converted.</p>
<p>This means that if you allow someone to pass a format string, he can overwrite memory of your application with specially crafted data (though, it isn&#8217;t that trivial to exploit it). MySQL though, as it has to be very portable, has its own version of printf, to avoid any OS-specific behaviors, and that implementation does not have %n, which means by passing arbitrary format string you cannot execute arbitrary code. Phew.</p>
<p>So, what is the bug? Let me present you <a href="http://bugs.mysql.com/bug.php?id=45790">Bug#45790</a>:</p>
<ul>
<li>If server has General Query Log enabled (thats very very low percentage of systems out there) and&#8230;.</li>
<li>User has right to create databases (which isn&#8217;t a right given away to every user out there&#8230;.) then&#8230;</li>
<li>He can shut down (well, crash) the server!</li>
</ul>
<p>Summary of this whole security catastrophe in practice would be:</p>
<p style="padding-left:30px;">System administrator can shut down MySQL server</p>
<p>My heart pounds and I hurry to upgrade every machine to 5.0.84 (sarcasm aside, do it anyway, it has great fixes ;-).</p>
<p>P.S. I may be wrong, and there is an exploit which will convert your database clusters into botnet zombies, capable of much more than regular botnets &#8211; imagine all the multicore servers attached to SANs completely dominating the world. Scary. Thats why we try to work on all security threats &#8211; even if it takes quite a few hours too long for what it deserves.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/domasmituzas.wordpress.com/597/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/domasmituzas.wordpress.com/597/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/domasmituzas.wordpress.com/597/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/domasmituzas.wordpress.com/597/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/domasmituzas.wordpress.com/597/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/domasmituzas.wordpress.com/597/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/domasmituzas.wordpress.com/597/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/domasmituzas.wordpress.com/597/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/domasmituzas.wordpress.com/597/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/domasmituzas.wordpress.com/597/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/domasmituzas.wordpress.com/597/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/domasmituzas.wordpress.com/597/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/domasmituzas.wordpress.com/597/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/domasmituzas.wordpress.com/597/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=597&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dom.as/2009/09/10/security-industry-crap/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c660a6eb3a4005232acb111303bef12c?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">domasmituzas</media:title>
		</media:content>
	</item>
		<item>
		<title>Packing for MySQL Conference 2009</title>
		<link>http://dom.as/2008/12/16/packing-for-mysql-conference-2009/</link>
		<comments>http://dom.as/2008/12/16/packing-for-mysql-conference-2009/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 13:36:45 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[dtrace]]></category>
		<category><![CDATA[mysqlconf]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=291</guid>
		<description><![CDATA[Yay, coming to Santa Clara again (4th conference in a row!:). I can&#8217;t imagine my year without MySQL Conference trip anymore. To get a free ticket I&#8217;ll present on two topics, MySQL Security (lately I have related role, and have &#8230; <a href="http://dom.as/2008/12/16/packing-for-mysql-conference-2009/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=291&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yay, coming to Santa Clara again (4th conference in a row!:). I can&#8217;t imagine my year without MySQL Conference trip anymore. To get a free ticket I&#8217;ll present on two topics, MySQL Security (lately I have related role, and have prepared bunch of information already) and deep-inspecting MySQL with DTrace (a voodoo session for all happy Solaris and MacOSX users :). See you there?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/domasmituzas.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/domasmituzas.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/domasmituzas.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/domasmituzas.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/domasmituzas.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/domasmituzas.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/domasmituzas.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/domasmituzas.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/domasmituzas.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/domasmituzas.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/domasmituzas.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/domasmituzas.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/domasmituzas.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/domasmituzas.wordpress.com/291/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=291&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dom.as/2008/12/16/packing-for-mysql-conference-2009/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c660a6eb3a4005232acb111303bef12c?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">domasmituzas</media:title>
		</media:content>
	</item>
		<item>
		<title>Tim is now vocal</title>
		<link>http://dom.as/2008/12/16/tim-is-now-vocal/</link>
		<comments>http://dom.as/2008/12/16/tim-is-now-vocal/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 12:51:41 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[wikipedia]]></category>
		<category><![CDATA[wikitech]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[timstarling]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=276</guid>
		<description><![CDATA[Tim is one of most humble and intelligent developers I&#8217;ve ever met &#8211; and we&#8217;re extremely happy having him at Wikimedia. Now he has a blog, where the first entry is already epic by any standards. I mentioned the IE &#8230; <a href="http://dom.as/2008/12/16/tim-is-now-vocal/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=276&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="Tim at the datacenter by midom, on Flickr" href="http://www.flickr.com/photos/midom/423471688/"><img style="padding:10px;" src="http://farm1.static.flickr.com/163/423471688_3b8fe10e80_t.jpg" alt="Tim at the datacenter" width="100" height="80" align="right" /></a><br />
Tim is one of most humble and intelligent developers I&#8217;ve ever met &#8211; and we&#8217;re extremely happy having him at Wikimedia. Now he has a <a href="http://tstarling.com">blog</a>, where the <a href="http://tstarling.com/blog/2008/12/secure-web-uploads/">first entry</a> is already epic by any standards. I <a href="http://dom.as/2008/01/03/ie-finds-js-in-images-old-xss-bug/">mentioned</a> the IE bug, and Tim has done thorough analysis on this one, and similar problems.</p>
<p>I hope he continues to disclose the complexity of real web applications &#8211; and that will always be a worthy read.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/domasmituzas.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/domasmituzas.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/domasmituzas.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/domasmituzas.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/domasmituzas.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/domasmituzas.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/domasmituzas.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/domasmituzas.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/domasmituzas.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/domasmituzas.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/domasmituzas.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/domasmituzas.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/domasmituzas.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/domasmituzas.wordpress.com/276/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=276&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dom.as/2008/12/16/tim-is-now-vocal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c660a6eb3a4005232acb111303bef12c?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">domasmituzas</media:title>
		</media:content>

		<media:content url="http://farm1.static.flickr.com/163/423471688_3b8fe10e80_t.jpg" medium="image">
			<media:title type="html">Tim at the datacenter</media:title>
		</media:content>
	</item>
		<item>
		<title>IE finds JS in Images (old xss bug!)</title>
		<link>http://dom.as/2008/01/03/ie-finds-js-in-images-old-xss-bug/</link>
		<comments>http://dom.as/2008/01/03/ie-finds-js-in-images-old-xss-bug/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 01:31:02 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[wikitech]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://dammit.lt/2008/01/03/ie-finds-js-in-images-old-xss-bug/</guid>
		<description><![CDATA[Well, this fix was done more than three years ago, but this is one of most evil IE bugs in existence. Even better, it seems to have never been fixed, exists in IE7, and is being discussed in various places &#8230; <a href="http://dom.as/2008/01/03/ie-finds-js-in-images-old-xss-bug/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=90&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, this <a href='http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialUpload.php?view=diff&amp;r1=5579&amp;r2=5580'>fix</a> was done more than three years ago, but this is one of most evil IE bugs in existence. Even better, it seems to have never been fixed, exists in IE7, and is being discussed in <a href='http://www.splitbrain.org/blog/2007-02/12-internet_explorer_facilitates_cross_site_scripting'>various places</a> lately.</p>
<p>The problem is very simple &#8211; valid PNG files can be uploaded to various sites, and then shown to users. The problem is that IE does autodetection, and if it suspects that the file may be HTML, it executes it as HTML, with all Javascript inside. The images can be properly normal images, that show your kitten or wife or whatever. Still, IE will execute any exploit code that is included in them. Exploit code can actually load the actual image, so nobody will even realize they&#8217;re looking at image and not at an attack that hijacks their sessions, steals cookies and does all other sorts of evil things.</p>
<p>So, whenever anyone says IE is secure, just tell them to look at this problem.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/domasmituzas.wordpress.com/90/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/domasmituzas.wordpress.com/90/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/domasmituzas.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/domasmituzas.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/domasmituzas.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/domasmituzas.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/domasmituzas.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/domasmituzas.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/domasmituzas.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/domasmituzas.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/domasmituzas.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/domasmituzas.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/domasmituzas.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/domasmituzas.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/domasmituzas.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/domasmituzas.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dom.as&amp;blog=190075&amp;post=90&amp;subd=domasmituzas&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dom.as/2008/01/03/ie-finds-js-in-images-old-xss-bug/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c660a6eb3a4005232acb111303bef12c?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">domasmituzas</media:title>
		</media:content>
	</item>
	</channel>
</rss>
