<?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>gehrcke.de &#187; Security</title> <atom:link href="http://gehrcke.de/category/technical-stuff/security/feed/" rel="self" type="application/rss+xml" /><link>http://gehrcke.de</link> <description>Jan-Philip Gehrcke&#039;s website</description> <lastBuildDate>Fri, 07 Oct 2011 15:57:11 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>Is your software up to date? Easy and convenient security check..</title><link>http://gehrcke.de/2009/12/is-your-software-up-to-date-easy-and-convenient-security-check/</link> <comments>http://gehrcke.de/2009/12/is-your-software-up-to-date-easy-and-convenient-security-check/#comments</comments> <pubDate>Fri, 18 Dec 2009 00:34:40 +0000</pubDate> <dc:creator>Jan-Philip Gehrcke</dc:creator> <category><![CDATA[Security]]></category> <category><![CDATA[Technical Stuff]]></category> <guid
isPermaLink="false">http://gehrcke.de/?p=1106</guid> <description><![CDATA[<p>Secunia offers a great online security check: http://secunia.com/vulnerability_scanning/online/. The Java applet checks the software versions of your installed applications for several famous programs (full list) and warns about missing updates incorporating security fixes. When I ran it first, the check found that my Java, Skype and Adobe Flash versions were not up to date.</p> [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://secunia.com">Secunia</a> offers a great online security check:<br
/> <a
href="http://secunia.com/vulnerability_scanning/online/">http://secunia.com/vulnerability_scanning/online/</a>.<br
/> <span
id="more-1106"></span><br
/> The Java applet checks the software versions of your installed applications for several famous programs (<a
href="http://secunia.com/vulnerability_scanning/online/programs_covered/">full list</a>) and warns about missing updates incorporating security fixes. When I ran it first, the check found that my Java, Skype and Adobe Flash versions were not up to date.</p><p>This test is very convenient, because you can not always keep track of all security updates affecting all your system&#8217;s software. Just run this check about once a week and perform the recommended updates. Then you can feel more secure than before.</p><p>The test is based on Secunias <a
href="http://secunia.com/vulnerability_scanning/online/">Personal Software Inspector</a>, a local application that knows much more different programs than the online test. Definitely worth a look, too.</p> ]]></content:encoded> <wfw:commentRss>http://gehrcke.de/2009/12/is-your-software-up-to-date-easy-and-convenient-security-check/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress vulnerability: Remote admin password reset</title><link>http://gehrcke.de/2009/08/wordpress-vulnerability-remote-admin-password-reset/</link> <comments>http://gehrcke.de/2009/08/wordpress-vulnerability-remote-admin-password-reset/#comments</comments> <pubDate>Tue, 11 Aug 2009 14:22:55 +0000</pubDate> <dc:creator>Jan-Philip Gehrcke</dc:creator> <category><![CDATA[PHP/HTML/CSS]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Technical Stuff]]></category> <category><![CDATA[Wordpress]]></category> <guid
isPermaLink="false">http://gehrcke.de/?p=777</guid> <description><![CDATA[<p>Today, a way was presented how to reset an admin&#8217;s password of a WordPress installation, by just calling http://domain.dom/wp-login.php?action=rp&#038;key[]=</p><p>So please, as long as there is no official release fixing this problem, apply this changeset to your wp-login.php.</p><p>Simply change line 190 in wp-login.php to</p> if &#40; empty&#40; $key &#41; &#124;&#124; is_array&#40; $key &#41; [...]]]></description> <content:encoded><![CDATA[<p>Today, <a
href="http://lists.grok.org.uk/pipermail/full-disclosure/2009-August/070137.html">a way was presented</a> how to reset an admin&#8217;s password of a WordPress installation, by just calling http://domain.dom/wp-login.php?action=rp&#038;key[]=<br
/> <span
id="more-777"></span></p><p>So please, as long as there is no official release fixing this problem, apply <a
href="http://core.trac.wordpress.org/changeset/11798">this changeset</a> to your <code>wp-login.php</code>.</p><p>Simply change <strong>line 190</strong> in <strong>wp-login.php</strong> to</p><div
class="wp-geshi-highlight-wrap5"><div
class="wp-geshi-highlight-wrap4"><div
class="wp-geshi-highlight-wrap3"><div
class="wp-geshi-highlight-wrap2"><div
class="wp-geshi-highlight-wrap"><div
class="wp-geshi-highlight"><div
class="php"><pre class="de1">    <span class="kw1">if</span> <span class="br0">&#40;</span> <span class="kw3">empty</span><span class="br0">&#40;</span> <span class="re0">$key</span> <span class="br0">&#41;</span> <span class="sy0">||</span> <span class="kw3">is_array</span><span class="br0">&#40;</span> <span class="re0">$key</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span></pre></div></div></div></div></div></div></div><p>Then the &#8220;arraytrick&#8221; does not work anymore. The trick was, that after bypassing <code>if (empty($key))</code>, the database is queried for all users having a blank <code>user_activation_key</code> field. This is true for all users by default (except for those, who have recently ordered an activation key for password reset). Hence, the database simply returns the first user, whose <code>user_activation_key</code> is empty. His password then is reset. This user is likely the admin, because he is the first user in the table.</p><h4>Update:</h4><p>The changeset named above is not the only change the WordPress developers made. As we can see from <a
href="http://core.trac.wordpress.org/changeset/11800">changeset 11800</a> and <a
href="http://core.trac.wordpress.org/changeset/11801">changeset 11801</a>, the password reset is only done when the key is actually <strong>a string</strong> and the user calling the &#8220;reset password URL&#8221; is <strong>logged in</strong>. Both modifications are already branched, so you can take <a
href="http://core.trac.wordpress.org/browser/branches/2.8/wp-login.php?rev=11804">this wp-login.php</a> or wait for the next official release.</p><h4>Update2:</h4><p>The official update to WordPress 2.8.4 <a
href="http://wordpress.org/development/2009/08/2-8-4-security-release/">is released</a>! Update now!</p> ]]></content:encoded> <wfw:commentRss>http://gehrcke.de/2009/08/wordpress-vulnerability-remote-admin-password-reset/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Horrible remote root exploit in DD-WRT&#8217;s httpd server</title><link>http://gehrcke.de/2009/07/remote-root-exploit-dd-wrt/</link> <comments>http://gehrcke.de/2009/07/remote-root-exploit-dd-wrt/#comments</comments> <pubDate>Thu, 23 Jul 2009 02:09:43 +0000</pubDate> <dc:creator>Jan-Philip Gehrcke</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Technical Stuff]]></category> <guid
isPermaLink="false">http://gehrcke.de/?p=684</guid> <description><![CDATA[<p>I really like my Linksys Router at home. I use the great DD-WRT firmware &#8212; but since some hours, the sky is falling down on DD-WRT.. There is some stupid code in DD-WRT&#8217;s httpd server, that enables executing code via cgi-bin without being authenticated by just inserting a metacharacter into an URL. Do you like [...]]]></description> <content:encoded><![CDATA[<p>I really like <a
href="http://en.wikipedia.org/wiki/Linksys_WRT54G_series">my Linksys Router at home</a>. I use the great <a
href="http://www.dd-wrt.com">DD-WRT firmware</a> &#8212; but since some hours, the sky is falling down on DD-WRT.. <span
id="more-684"></span>There is <a
href="http://milw0rm.org/exploits/9209">some stupid code</a> in DD-WRT&#8217;s httpd server, that enables executing code via cgi-bin without being authenticated by just inserting a metacharacter into an URL. Do you like to reboot you rooter by visiting  http://192.168.1.1/cgi-bin/;reboot? Or do you like to easily get a root shell (as demonstrated <a
href="http://www.youtube.com/watch?v=UhDcXCVFrvM">in this video</a>)? Ohoh..</p><p>To exploit this bug, you even don&#8217;t need to have enabled the administration GUI for WAN access. Simple drive-by exploits are possible by placing URLs like</p><div
class="wp-geshi-highlight-wrap5"><div
class="wp-geshi-highlight-wrap4"><div
class="wp-geshi-highlight-wrap3"><div
class="wp-geshi-highlight-wrap2"><div
class="wp-geshi-highlight-wrap"><div
class="wp-geshi-highlight"><div
class="html"><pre class="de1">&lt;img src=&quot;http://192.168.1.1/cgi-bin/;ANYCOMMAND&quot; alt=&quot;&quot;&gt;</pre></div></div></div></div></div></div></div><p>in any website. Then, the attack comes <em>from within your</em> network. Some Javascript code could find out your router&#8217;s IP address. This should work very often and smells like a DD-WRT bot net. Someone stated in <a
href="http://www.dd-wrt.com/phpBB2/viewtopic.php?t=55173&#038;postdays=0&#038;postorder=asc&#038;start=45">DD-WRT&#8217;s forum</a>:</p><blockquote><p>The sky is falling&#8230;<br
/> This is all much to do about nothing.<br
/> This is an international community.<br
/> 65,270 registered members. Right now, there is 129 guests online (guests = not registered) + the registered members.<br
/> Who has been hacked?</p></blockquote><p>In fact, this vulnerability is horrible. So, hurry up with changing your router&#8217;s setting! You&#8217;ve two possibilities:</p><ul><li>Update to <a
href="http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2%2F07-21-09-r12533/">DD-WRT V24-SP2pre</a> (there, they&#8217;ve already fixed the problem)</li></ul><ul><li>If you do not want to update, it seems that the only secure options is to <strong>turn off https management</strong> and to <strong>reject inbound traffic containing &#8220;cgi-bin&#8221; in an URL</strong>. Go to your router admin GUI, choose &#8220;Administration&#8221;, &#8220;Commands&#8221; and enter the follwing commands to 1) insert <em>ipt_webstr</em> kernel module and 2) set the corresponding <em>iptables REJECT</em> rule:<div
class="wp-geshi-highlight-wrap5"><div
class="wp-geshi-highlight-wrap4"><div
class="wp-geshi-highlight-wrap3"><div
class="wp-geshi-highlight-wrap2"><div
class="wp-geshi-highlight-wrap"><div
class="wp-geshi-highlight"><div
class="text"><pre class="de1">insmod ipt_webstr
iptables -I INPUT -p tcp -m tcp -m webstr --url cgi-bin -j REJECT --reject-with tcp-reset</pre></div></div></div></div></div></div></div><p>Press &#8220;Save Firewall&#8221;, then reboot your router.</li></ul><p>Let&#8217;s see what the future brings&#8230;.</p> ]]></content:encoded> <wfw:commentRss>http://gehrcke.de/2009/07/remote-root-exploit-dd-wrt/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress 2.8.1 fixes security issues</title><link>http://gehrcke.de/2009/07/wordpress-2-8-1-fixes-security-issues/</link> <comments>http://gehrcke.de/2009/07/wordpress-2-8-1-fixes-security-issues/#comments</comments> <pubDate>Fri, 10 Jul 2009 21:23:28 +0000</pubDate> <dc:creator>Jan-Philip Gehrcke</dc:creator> <category><![CDATA[Security]]></category> <category><![CDATA[Technical Stuff]]></category> <category><![CDATA[Wordpress]]></category> <guid
isPermaLink="false">http://gehrcke.de/?p=677</guid> <description><![CDATA[<p>I&#8217;ve just updated to WordPress 2.8.1, which fixes some security issues (which allowed unprevileged users to change options of some particular plugins).</p><p>The automatical update executed very cleanly. But, &#8212; as always &#8212; back up files and database before! Btw: For backing up database, I use the great wpBackup plugin.</p><p>Update: WordPress 2.8.2 fixes [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve just updated to <a
href="http://wordpress.org/development/2009/07/wordpress-2-8-1/">WordPress 2.8.1</a>, which fixes some security issues (which allowed unprevileged users to change options of some particular plugins). <span
id="more-677"></span></p><p>The automatical update executed very cleanly. But, &#8212; as always &#8212; back up files and database before! Btw: For backing up database, I use the great <a
href="http://www.wordpressbackup.com/">wpBackup</a> plugin.</p><p><strong>Update:</strong><br
/> <a
href="http://wordpress.org/development/2009/07/wordpress-2-8-2/">WordPress 2.8.2 </a> fixes the next security issue..</p> ]]></content:encoded> <wfw:commentRss>http://gehrcke.de/2009/07/wordpress-2-8-1-fixes-security-issues/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
