<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: WordPress insecurity</title>
	<atom:link href="http://mgeisler.net/2005/08/wordpress-insecurity/feed/" rel="self" type="application/rss+xml" />
	<link>http://mgeisler.net/2005/08/wordpress-insecurity/</link>
	<description>Adventures with Computers</description>
	<pubDate>Mon, 21 May 2012 16:40:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6-bleeding</generator>
		<item>
		<title>By: Sherif Elsisi</title>
		<link>http://mgeisler.net/2005/08/wordpress-insecurity/#comment-135589</link>
		<dc:creator>Sherif Elsisi</dc:creator>
		<pubDate>Sun, 02 Dec 2007 20:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/?p=578#comment-135589</guid>
		<description>&lt;p&gt;I know it has been a while, but now even with wordpress versions of higher than 2, I got SQL injection attacks. Attackers on my sites targeted the wp_options table. One great solution I found on blogsecurity.net, was to always make sure to change the table prefix when installing wordpress.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I know it has been a while, but now even with wordpress versions of higher than 2, I got SQL injection attacks. Attackers on my sites targeted the wp_options table. One great solution I found on blogsecurity.net, was to always make sure to change the table prefix when installing wordpress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jameswillisisthebest</title>
		<link>http://mgeisler.net/2005/08/wordpress-insecurity/#comment-114201</link>
		<dc:creator>jameswillisisthebest</dc:creator>
		<pubDate>Sat, 08 Sep 2007 20:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/?p=578#comment-114201</guid>
		<description>&lt;p&gt;This is my first post 
just saying HI&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is my first post<br />
just saying HI</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/08/wordpress-insecurity/#comment-454</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Thu, 18 Aug 2005 10:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/?p=578#comment-454</guid>
		<description>&lt;p&gt;Thanks a lot for the detailed explaination --- I never expected anybody to actually reply to my rant, and certainly not with such detail :-)&lt;/p&gt;

&lt;p&gt;I must say that I find the paths of logic in the WordPress code to be hard to follow, and apparently the developers must feel the same since these kinds of vulnerabilites come up again and again.&lt;/p&gt;

&lt;p&gt;I recently found the &lt;a href="http://www.cs.virginia.edu/nguyen/phprevent/" rel="nofollow"&gt;PHPrevent: PHP Security Project&lt;/a&gt; which implements a taint mode into PHP, similar to Perl.  I think that's an interesting idea that might help people with plugging these holes.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the detailed explaination &#8212; I never expected anybody to actually reply to my rant, and certainly not with such detail :-)</p>
<p>I must say that I find the paths of logic in the WordPress code to be hard to follow, and apparently the developers must feel the same since these kinds of vulnerabilites come up again and again.</p>
<p>I recently found the <a href="http://www.cs.virginia.edu/nguyen/phprevent/" rel="nofollow">PHPrevent: PHP Security Project</a> which implements a taint mode into PHP, similar to Perl.  I think that&#8217;s an interesting idea that might help people with plugging these holes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/08/wordpress-insecurity/#comment-453</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Thu, 18 Aug 2005 10:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/?p=578#comment-453</guid>
		<description>&lt;p&gt;Damn... that is dangerous stuff!  Thanks for the link!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Damn&#8230; that is dangerous stuff!  Thanks for the link!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://mgeisler.net/2005/08/wordpress-insecurity/#comment-452</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Thu, 18 Aug 2005 08:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/?p=578#comment-452</guid>
		<description>&lt;p&gt;Martin, your analysis is not bad.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;$id&lt;/code&gt; thing in the promotion feature of WordPress was one of the SQL injections I disclosed to them. It allows registered users with atleast &lt;code&gt;user_level&lt;/code&gt; 1 to set f.e. all users down to level 0 (as a DOS).&lt;/p&gt;

&lt;p&gt;At the same point they also fixed a &lt;code&gt;register_globals=On&lt;/code&gt; SQL injection, that I also disclosed to them. When the promotion direction was neither up nor down, it was possible for a user with &lt;code&gt;user_level&lt;/code&gt; 1 to inject a complete SQL query, by simply setting the variable sql.&lt;/p&gt;

&lt;p&gt;The thing in &lt;code&gt;wp-setting.php&lt;/code&gt; is however a problem of remote code execution when &lt;code&gt;register_globals&lt;/code&gt; is turned on. WordPress internally uses a bunch of filter hooks, that can be set by f.e. plugins etc...&lt;/p&gt;

&lt;p&gt;Due to this not protected against &lt;code&gt;register_globals&lt;/code&gt; at all, it was possible for an attacker to define from the outside, what actions of WordPress cause what PHP functions called. An exploit that uses this flaw to execute anything on WordPress &#60; 1.5.2 (replacement-version) blogs was posted to public security sites 6 days before WordPress 1.5.2 was released. (About 8 hours after they had fixed it in their subversion tree).&lt;/p&gt;

&lt;p&gt;And yeah, and unless written elsewhere: I am not the original finder of the last vulnerability. I was just the one who told them after the release, that their fix is easiyl bypassable.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Martin, your analysis is not bad.</p>
<p>The <code>$id</code> thing in the promotion feature of WordPress was one of the SQL injections I disclosed to them. It allows registered users with atleast <code>user_level</code> 1 to set f.e. all users down to level 0 (as a DOS).</p>
<p>At the same point they also fixed a <code>register_globals=On</code> SQL injection, that I also disclosed to them. When the promotion direction was neither up nor down, it was possible for a user with <code>user_level</code> 1 to inject a complete SQL query, by simply setting the variable sql.</p>
<p>The thing in <code>wp-setting.php</code> is however a problem of remote code execution when <code>register_globals</code> is turned on. WordPress internally uses a bunch of filter hooks, that can be set by f.e. plugins etc&#8230;</p>
<p>Due to this not protected against <code>register_globals</code> at all, it was possible for an attacker to define from the outside, what actions of WordPress cause what PHP functions called. An exploit that uses this flaw to execute anything on WordPress &lt; 1.5.2 (replacement-version) blogs was posted to public security sites 6 days before WordPress 1.5.2 was released. (About 8 hours after they had fixed it in their subversion tree).</p>
<p>And yeah, and unless written elsewhere: I am not the original finder of the last vulnerability. I was just the one who told them after the release, that their fix is easiyl bypassable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janus Tøndering</title>
		<link>http://mgeisler.net/2005/08/wordpress-insecurity/#comment-451</link>
		<dc:creator>Janus Tøndering</dc:creator>
		<pubDate>Thu, 18 Aug 2005 07:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/?p=578#comment-451</guid>
		<description>&lt;p&gt;You can find detailed information about the &#60;=1.5.1.2 vulnerabilities at &lt;a href="http://seclists.org/lists/bugtraq/2005/Jun/0280.html"&gt;http://seclists.org/lists/bugtraq/2005/Jun/0280.html&lt;/a&gt;.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You can find detailed information about the &lt;=1.5.1.2 vulnerabilities at <a href="http://seclists.org/lists/bugtraq/2005/Jun/0280.html">http://seclists.org/lists/bugtraq/2005/Jun/0280.html</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/08/wordpress-insecurity/#comment-442</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Wed, 17 Aug 2005 16:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/?p=578#comment-442</guid>
		<description>&lt;p&gt;Well... reading through some more of my mail I found a &lt;a href="http://wordpress.org/support/topic/41836" rel="nofollow"&gt;discussion in the WordPress forums&lt;/a&gt; about the problem.  So it appears that the problem was caused by &lt;code&gt;wp-settings.php&lt;/code&gt; and fixed in revision 2779.  &lt;/p&gt;

&lt;p&gt;The change in &lt;code&gt;users.php&lt;/code&gt; was probably nothing then, considering that the piece of code I talk about isn't executed unless you are logged in as an admin (or maybe just as a normal user, I'm not sure).&lt;/p&gt;

&lt;p&gt;In any case: remember to upgrade any installation you might have.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well&#8230; reading through some more of my mail I found a <a href="http://wordpress.org/support/topic/41836" rel="nofollow">discussion in the WordPress forums</a> about the problem.  So it appears that the problem was caused by <code>wp-settings.php</code> and fixed in revision 2779.  </p>
<p>The change in <code>users.php</code> was probably nothing then, considering that the piece of code I talk about isn&#8217;t executed unless you are logged in as an admin (or maybe just as a normal user, I&#8217;m not sure).</p>
<p>In any case: remember to upgrade any installation you might have.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

