<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Inspector WordPress Plugin Review</title>
	<atom:link href="http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/feed" rel="self" type="application/rss+xml" />
	<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review</link>
	<description>Always something worth reading...</description>
	<lastBuildDate>Fri, 12 Mar 2010 11:09:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: The Doctor What</title>
		<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/comment-page-1#comment-1838</link>
		<dc:creator>The Doctor What</dc:creator>
		<pubDate>Tue, 09 Oct 2007 20:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/#comment-1838</guid>
		<description>I understand the vector now.

But the problem isn&#039;t putting unchecked content into the file, per se.  There is nothing you can put into conditions.txt that would break a text-editor or text-viewer.

However, if conditions.txt is shown again at a latter point via a web page, then it should be escaped prior to showing.

Of course, there are other attacks, such as a disk-space DoS (large conditions will fill the disk up).  Etc.

As I said, I haven&#039;t been able to get to the site.

Ciao!</description>
		<content:encoded><![CDATA[<p>I understand the vector now.</p>
<p>But the problem isn&#8217;t putting unchecked content into the file, per se.  There is nothing you can put into conditions.txt that would break a text-editor or text-viewer.</p>
<p>However, if conditions.txt is shown again at a latter point via a web page, then it should be escaped prior to showing.</p>
<p>Of course, there are other attacks, such as a disk-space DoS (large conditions will fill the disk up).  Etc.</p>
<p>As I said, I haven&#8217;t been able to get to the site.</p>
<p>Ciao!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DK</title>
		<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/comment-page-1#comment-1833</link>
		<dc:creator>DK</dc:creator>
		<pubDate>Tue, 09 Oct 2007 19:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/#comment-1833</guid>
		<description>Doc, using htmlspecialchars() to sanitise the data before putting it into the log file would prevent this problem.</description>
		<content:encoded><![CDATA[<p>Doc, using htmlspecialchars() to sanitise the data before putting it into the log file would prevent this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Doctor What</title>
		<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/comment-page-1#comment-1822</link>
		<dc:creator>The Doctor What</dc:creator>
		<pubDate>Tue, 09 Oct 2007 15:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/#comment-1822</guid>
		<description>DK:

But surely the problem is that it&#039;s displaying an untrusted file?  Displaying any kind of log file is displaying untrusted content.

FYI: I&#039;d read the code, but the site seems gone or something.

Ciao!</description>
		<content:encoded><![CDATA[<p>DK:</p>
<p>But surely the problem is that it&#8217;s displaying an untrusted file?  Displaying any kind of log file is displaying untrusted content.</p>
<p>FYI: I&#8217;d read the code, but the site seems gone or something.</p>
<p>Ciao!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DK</title>
		<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/comment-page-1#comment-1803</link>
		<dc:creator>DK</dc:creator>
		<pubDate>Tue, 09 Oct 2007 07:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/#comment-1803</guid>
		<description>Doc, read this: http://blogsecurity.net/wordpress/articles/article-280507/

Because the rules are fetched from the text file and displayed to the user, it is possible to inject malicious HTML (due to CSRF vulnerability) that will then be executed everytime the admin opens that page.

If conditions.txt was conditions.php, it would even be possible to execute malicious queries on the web server.

Doc, if you still don&#039;t follow drop me an email via the BlogSecurity contact form and I&#039;ll explain it further.</description>
		<content:encoded><![CDATA[<p>Doc, read this: <a href="http://blogsecurity.net/wordpress/articles/article-280507/" rel="nofollow">http://blogsecurity.net/wordpress/articles/article-280507/</a></p>
<p>Because the rules are fetched from the text file and displayed to the user, it is possible to inject malicious HTML (due to CSRF vulnerability) that will then be executed everytime the admin opens that page.</p>
<p>If conditions.txt was conditions.php, it would even be possible to execute malicious queries on the web server.</p>
<p>Doc, if you still don&#8217;t follow drop me an email via the BlogSecurity contact form and I&#8217;ll explain it further.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Doctor What</title>
		<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/comment-page-1#comment-1789</link>
		<dc:creator>The Doctor What</dc:creator>
		<pubDate>Tue, 09 Oct 2007 02:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/#comment-1789</guid>
		<description>Yes.  I see that. But why is it a problem?  It goes straight into a file.  Is file_put_contents() susceptable to an attack through it&#039;s data?

Ciao!</description>
		<content:encoded><![CDATA[<p>Yes.  I see that. But why is it a problem?  It goes straight into a file.  Is file_put_contents() susceptable to an attack through it&#8217;s data?</p>
<p>Ciao!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DK</title>
		<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/comment-page-1#comment-1766</link>
		<dc:creator>DK</dc:creator>
		<pubDate>Mon, 08 Oct 2007 20:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/#comment-1766</guid>
		<description>There is no sanitisation of $_POST[&quot;conditions&quot;];&quot;.</description>
		<content:encoded><![CDATA[<p>There is no sanitisation of $_POST[&quot;conditions"];&quot;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Doctor What</title>
		<link>http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/comment-page-1#comment-1752</link>
		<dc:creator>The Doctor What</dc:creator>
		<pubDate>Mon, 08 Oct 2007 16:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogsecurity.net/wordpress/inspector-wordpress-plugin-review/#comment-1752</guid>
		<description>Can you explain how that code example is a problem?</description>
		<content:encoded><![CDATA[<p>Can you explain how that code example is a problem?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
