<?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>Exploits and Security &#187; WordPress</title>
	<atom:link href="http://www.exploitx.com/category/exploits-and-bugs/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exploitx.com</link>
	<description>Technology &#38; Security Tips &#38; Guides</description>
	<lastBuildDate>Tue, 22 Dec 2009 03:28:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress Exploit</title>
		<link>http://www.exploitx.com/58/wordpress-exploit/</link>
		<comments>http://www.exploitx.com/58/wordpress-exploit/#comments</comments>
		<pubDate>Sat, 02 Jul 2005 00:19:35 +0000</pubDate>
		<dc:creator>Exploitx</dc:creator>
				<category><![CDATA[Exploits and Bugs]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.exploitx.com/58/wordpress-exploit/</guid>
		<description><![CDATA[WordPress Exploit 
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.exploitx.com/wordpressexploit/">WordPress Exploit </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exploitx.com/58/wordpress-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 1.5.1.2 &amp;&amp; Earlier Multiple Vulnerabilities</title>
		<link>http://www.exploitx.com/29/wordpress-1512-earlier-multiple-vulnerabilities/</link>
		<comments>http://www.exploitx.com/29/wordpress-1512-earlier-multiple-vulnerabilities/#comments</comments>
		<pubDate>Thu, 30 Jun 2005 08:49:38 +0000</pubDate>
		<dc:creator>Exploitx</dc:creator>
				<category><![CDATA[Exploits and Bugs]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.exploitx.com/29/wordpress-1512-earlier-multiple-vulnerabilities/</guid>
		<description><![CDATA[GulfTech Security Research             June 28th, 2005
 Vendor  : WordPress
 URL     : http://wordpress.org/
 Version : WordPress 1.5.1.2 &#038;&#038; Earlier
 Risk    : Multiple Vulnerabilities
Description:
WordPress is a very popular personal publishing platform aka blog
software, and is used by [...]]]></description>
			<content:encoded><![CDATA[<p>GulfTech Security Research             June 28th, 2005</p>
<p> Vendor  : WordPress<br />
 URL     : http://wordpress.org/<br />
 Version : WordPress 1.5.1.2 &#038;&#038; Earlier<br />
 Risk    : Multiple Vulnerabilities</p>
<p>Description:<br />
WordPress is a very popular personal publishing platform aka blog<br />
software, and is used by everyone from celebrities, to government<br />
officials, to non technical average joe&#8217;s. There are a number of<br />
vulnerabilities in WordPress that may allow an attacker to ultimately<br />
run arbitrary code on the vulnerable system. These vulnerabilities<br />
include SQL Injection, Cross Site Scripting, and also issues that may<br />
aid an attacker in social engineering. An updated version of WordPress<br />
is available and users are strongly advised to upgrade.</p>
<p>Cross Site Scripting:<br />
There are a number of cross site scripting issues in the WordPress<br />
personal publishing platform.</p>
<p>http://wordpress/wp-admin/post.php?action=confirmdeletecomment&#038;p=1&#038;</p>
<p>comment=22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E%3C/script%3E</p>
<p>http://wordpress/wp-admin/post.php?action=confirmdeletecomment&#038;p=1</p>
<p>22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E%3C/script%3E&#038;comment=2</p>
<p>Even though these vulnerabilities are in the admin section I still<br />
consider them a higher risk than &#8220;normal&#8221; because if an attacker has<br />
an admin&#8217;s cookie data then he can forge a cookie, access the admin<br />
section, and execute arbitrary code by inserting malicious php into<br />
an existing plugin. Also, if you are thinking that the referrer check<br />
in wordpress prevents this particular vulnerability then you are mistaken.</p>
<p><!--adsense--></p>
<p>SQL Injection:<br />
WordPress comes with it&#8217;s own built in XMLRPC server server, and this<br />
XMLRPC server is enabled by default. The problem here though is that<br />
a big part of WordPress preventative security measure comes from this.</p>
<p><code>if ( !get_magic_quotes_gpc() ) {<br />
   $_GET    = add_magic_quotes($_GET   );<br />
   $_POST   = add_magic_quotes($_POST  );<br />
   $_COOKIE = add_magic_quotes($_COOKIE);<br />
   $_SERVER = add_magic_quotes($_SERVER);<br />
}<br />
</code><br />
This code resides in the file wp-settings.php and prevents a number of<br />
what would be SQL Injection attacks otherwise. However, the problem<br />
with this bit of code and the XMLRPC server is that the XMLRPC server<br />
receives it&#8217;s data from the $HTTP_RAW_POST_DATA variable, and this data<br />
is not sanitized by magic_quotes_gpc() or the previously mentioned code.<br />
So, that leaves nearly every method that the XMLRPC server uses vulnerable<br />
to attack. The following XML file could be used to gain an admin hash.</p>
<p><code>< ?xml version="1.0"?><br />
<methodcall><br />
<methodname>pingback.ping</methodname></p>
<params>
<param><value><string><br />
       foobar' UNION SELECT 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 FROM wp_users<br />
       WHERE (user_login='admin' AND MID(user_pass,1,1)='2')/*<br />
       </string></value></param>
<param><value><string>http://host/?p=1#1</string></value>
       </param>
<param><value><string>admin</string></value></param>
   </params>
</methodcall></code><br />
The above XML file would return the message &#8220;The pingback has already been<br />
registered&#8221; if the user admin had a password hash that starts with the<br />
number<br />
two, otherwise we get an error. This vulnerability is VERY dangerous because<br />
once an an attacker has admin access they can execute arbitrary php code by<br />
placing it within an existing plugin, and the ONLY thing an attacker<br />
needs to<br />
access the admin section is the user login name, and the password hash<br />
(it does<br />
not need to be decrypted) to place in a cookie. Also, we can likely<br />
abuse one<br />
of the login function calls within the XMLRPC server to get the same<br />
results<br />
without needing a version of MySQL that supports the UNION functionality.</p>
<p>Forgotten Password Security Issues:<br />
I am going to make a long story short here, and get to the point. If<br />
register<br />
globals is on then an attacker may take advantage of an uninitialized<br />
variable<br />
in wp-login.php and change the content of an email sent to the user by<br />
WordPress.<br />
The problem occurs because the variable $message is never initialized before<br />
being used, so if an attacker abuses this then the normal forgotten password<br />
email message will simply be appended to the attackers message content.</p>
<p>Full Path Disclosure:<br />
There are a number of these issues in wordpress. Below are a few examples.</p>
<p>http://wordpress/wp-admin/menu-header.php</p>
<p>http://wordpress/wp-atom.php?feed=1</p>
<p>http://wordpress/wp-rss.php?feed=1</p>
<p>http://wordpress/wp-rss2.php?feed=1</p>
<p>These issues can aide an attacker in further attacks on the affected system<br />
by disclosing the full physical path on the affected server.</p>
<p>Solution:<br />
A new version of WordPress has been released, and users should upgrade as<br />
soon as possible. The non vulnerable version is 1.5.1.3</p>
<p>Related Info:<br />
The original advisory can be found at the following location</p>
<p>http://www.gulftech.org/?node=research&#038;article_id=00085-06282005</p>
<p>Credits:<br />
James Bercegay of the GulfTech Security Research Team</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exploitx.com/29/wordpress-1512-earlier-multiple-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
