<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 08 Aug 2008 16:19:49 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[GNUCitizen.org: Reviewing Practical PHP Exploitation Techniques]]></title>
      <guid>http://www.phpdeveloper.org/news/9915</guid>
      <link>http://www.phpdeveloper.org/news/9915</link>
      <description><![CDATA[<p>
From the GNUCitizen blog, there's <a href="http://www.gnucitizen.org/blog/reviewing-practical-php-exploitation-techniques/">a new post</a> about a recent meeting (of the OWASP London Chapter) where several presentations were given on methods for exploiting PHP applications. The three talks given were:
</p>
<ul>
<li><i>Rodrigo Marcos</i> - hacking PHP sockets for fun and profit
<li><i>David Kierznowski</i> - exploitation techniques using real world examples
<li><i>Colin Watson</i> - talk about security badges
</ul>
<p>
There's links to the slides for one the formal presentations, the exploitation techniques - two sets: the <a href="http://www.withdk.com/archives/PHP%20Code%20Analysis-%20Real%20World%20Examples.pdf">remote exploit examples</a> and <a href="http://www.gnucitizen.org/blog/reviewing-practical-php-exploitation-techniques/PHP%20Code%20Analysis%20-%20Real%20World%20Examples.pdf">local exploit examples</a>.
</p>]]></description>
      <pubDate>Fri, 04 Apr 2008 12:09:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gareth Heyes' Blog: Exploiting PHP SELF]]></title>
      <guid>http://www.phpdeveloper.org/news/9413</guid>
      <link>http://www.phpdeveloper.org/news/9413</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has a <a href="http://www.thespanner.co.uk/2008/01/14/exploiting-php-self/">new post</a> today talking about one of the vulnerable values in the $_SERVER superglobal - PHP_SELF.
</p>
<blockquote>
I thought it might be a good idea to gather a few test cases demonstrating the problem. Why PHP allows these URL's is beyond me and it wouldn't take much work to filter out these malicious URL's in the PHP code.
</blockquote>
<p>
He <a href="http://www.thespanner.co.uk/2008/01/14/exploiting-php-self/">provides</a> four test cases to show how simple it is to abuse - one using a HTTP header, another pushing XSS through, the third mentions search pages and the fourth a direct code injection.
</p>
<p>
You can <a href="http://www.thespanner.co.uk/wp-content/uploads/2008/01/php_selfphp.zip">download the code here</a>.
</p>]]></description>
      <pubDate>Mon, 14 Jan 2008 07:54:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gareth Heyes' Blog: Faking the unexpected]]></title>
      <guid>http://www.phpdeveloper.org/news/9167</guid>
      <link>http://www.phpdeveloper.org/news/9167</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has <a href="http://www.thespanner.co.uk/2007/12/02/faking-the-unexpected/">an example</a> of yet another way he's seen developers incorrectly handle incoming connections and the information inside. This time, he focuses on the remote IP coming from the client.
</p>
<blockquote>
Developers place too much trust in everything, they assume that certain data cannot be faked and therefore these pieces of data can be used as a Trojan horse. Lets take the REMOTE IP of a user, it seems a trusted source because of the TCP/IP connection between the user and the server.
</blockquote>
<p>
He points out the difference between HTTP_X_FORWARDED_FOR and REMOTE_ADDR and how, despite them being the same almost all of the time, shouldn't be trusted since they could be spoofed. He even includes an example script showing how it could be done (and how a bit of Javascript can even be inserted).
</p>]]></description>
      <pubDate>Tue, 04 Dec 2007 08:36:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Ubuntu Updates PHP Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/9148</guid>
      <link>http://www.phpdeveloper.org/news/9148</link>
      <description><![CDATA[<p>
The Ubuntu linux group has <a href="http://www.ubuntu.com/usn/usn-549-1">released an update</a> for their PHP packages to help protect their users from issues like security bypass and remote exploits.
</p>
<blockquote>
This fixes a weakness and some vulnerabilities, where some have unknown impacts and others can be exploited by malicious, local users to bypass certain security restrictions and by malicious users to bypass certain security restrictions.
</blockquote>
<p>
Packages can either be <a href="http://www.ubuntu.com/usn/usn-549-1">downloaded manually</a> or via the linux distro's package manager. This advisory also applies to the corresponding versions of Kubuntu, Edubuntu, and Xubuntu.
</p>]]></description>
      <pubDate>Fri, 30 Nov 2007 08:41:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Secunia.com: Slackware Update for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8645</guid>
      <link>http://www.phpdeveloper.org/news/8645</link>
      <description><![CDATA[<p>
As mentioned in <a href="http://secunia.com/advisories/26748/">this new advisory</a> on the Secunia website, the Slackware linux group has posted their latest updates to their PHP package (in light of the released of PHP 5.2.4).
</p>
<blockquote>
Slackware has issued an update for php. This fixes a weakness and some vulnerabilities, where some have unknown impacts and others can be exploited by malicious users and malicious, local users to bypass certain security restrictions.
</blockquote>
<p>
The update is marked as "moderately critical" so it's recommended that you update as soon as possible. The packages can be downloaded from <A href="http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.399824">the Slackware website</a> (from the FTP sites they link to in the original advisory).
</p>]]></description>
      <pubDate>Thu, 13 Sep 2007 08:45:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Builder.com.au: PHP exploit code plants itself in GIF]]></title>
      <guid>http://www.phpdeveloper.org/news/8107</guid>
      <link>http://www.phpdeveloper.org/news/8107</link>
      <description><![CDATA[<p>
Builder.com.au has a <a href="http://www.builderau.com.au/news/soa/PHP-exploit-code-plants-itself-in-GIF/0,339028227,339278850,00.htm">new article</a> today about the recent image issue - the PHP code embedded inside the GIF - that's come up on several sites.
</p>
<blockquote>
The exploit code slipped through the site's defenses with the aid of a legitimate image at the beginning of the file, <a href="http://isc2.sans.org/diary.html?storyid=2997">according to a blog post</a> on the Sans Institutes's Internet Storm Center. [...] Malicious attackers planted PHP coded exploit script within an image file. PHP is often used as a programming language to create dynamic Web sites.
</blockquote>
<p>
The article reports that, while this exploit hasn't happened much, the occurrences of it's use are growing with victims in a wide range of classifications - from small personal sites out to a certain major image hosting site. This same issue was discussed <a href="http://www.phpdeveloper.org/news/8088">here</a> on the PHPClasses.org website as well.
</p>]]></description>
      <pubDate>Fri, 22 Jun 2007 12:41:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: PHP security exploit with GIF images]]></title>
      <guid>http://www.phpdeveloper.org/news/8088</guid>
      <link>http://www.phpdeveloper.org/news/8088</link>
      <description><![CDATA[<p>
On the PHPClasses site today, there's <a href="http://www.phpclasses.org/blog/post/67-PHP-security-exploit-with-GIF-images.html">a new post</a> that points out an issue that could happen with dyanamic GIF creation in a PHP script leading to a security exploit.
</p>
<p>
<i>Manuel Lemos</i> writes:
</p>
<blockquote>
The problem that was discovered is that you can insert PHP code in the middle of a GIF image. That would not be a problem if it was not for the insecure ways some developers use to serve images upload by their users. Usually, uploaded files are moved to a given directory. If the site then serves the images directly from that directory and preserve the original file name, the site may be open for security exploits.
</blockquote>
<p>
The problem comes when a user decides to upload an "image" file that's actually a PHP script (ending in PHP even) to the remote system. When this is outputted, it's placed inside the image tag and executed with each page load. <i>Manuel</i> <a href="http://www.phpclasses.org/blog/post/67-PHP-security-exploit-with-GIF-images.html">offers a suggestion</a> to prevent the issue - protecting the images directory and using readfile to grab the contents of the file to output rather than just a straight echo.
</p>]]></description>
      <pubDate>Wed, 20 Jun 2007 12:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Serendipity 1.1.3 and 1.2-beta2 released due to SQL exploit]]></title>
      <guid>http://www.phpdeveloper.org/news/8073</guid>
      <link>http://www.phpdeveloper.org/news/8073</link>
      <description><![CDATA[<p>
As <i>Christopher Kunz</i> <a href="http://www.christopher-kunz.de/archives/142-S9Y-security-announcement-Update-or-fix-now!.html">points out</a>, Serendipity users should check out <a href="http://www.christopher-kunz.de/exit.php?url_id=609&entry_id=142">a new blog posting</a> over on the CMS system's website concerning an immediate update they've released.
</p>
<blockquote>
Serendipity 1.1.3 and 1.2-beta2 have been released due to a SQL injection attack reported by Dr. Neal Krawetz today. It is possible to abuse a 'commentMode' variable to inject SQL code that was targeted to the function that fetches comment information. This variable was introduced to Serendipity 1.1 - all prior versions are not affected.
</blockquote>
<p>
They also suggest checking you access logs for a "commentMode" variable issued in requests to see if there were any kind of attacks made already. The fix is a simple matter of editing the functions_comments.inc.php file and replacing the line of code they give with the more secure versions. Again, this is recommended as an immediate upgrade for Serendipity users.
</p>]]></description>
      <pubDate>Tue, 19 Jun 2007 07:47:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Esser's Blog: Watching the PHP CVS]]></title>
      <guid>http://www.phpdeveloper.org/news/7821</guid>
      <link>http://www.phpdeveloper.org/news/7821</link>
      <description><![CDATA[<p>
In <a href="http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html">this new post</a> to the PHP Security blog today, <i>Stefan Esser</i> gives a good recommendation to developers out there looking to provide the most recent protection for their applications - look to the CVS.
</p>
<blockquote>
One of the worst things in PHP security is the fact that vulnerabilities in PHP are usually patched in the CVS and then wait for months until they are disclosed to the public. Time enough for everyone to grab the fixes from CVS and develop exploits for the vulnerabilities. Therefore PHP vulnerabilities are usually already known to the bad guys for weeks or months when a new PHP version comes out and the public is notified about the vulnerability.
</blockquote>
<p>
He <a href="http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html">also notes</a> that there are sometimes when it happens that issues aren't represented in the materials that go out with each release. One he mentions specifically involves <a href="http://bugs.php.net/bug.php?id=40999">this bug</a>.
</p>]]></description>
      <pubDate>Thu, 10 May 2007 15:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: WordPress 2.1.1 Dangerous, Upgrade]]></title>
      <guid>http://www.phpdeveloper.org/news/7404</guid>
      <link>http://www.phpdeveloper.org/news/7404</link>
      <description><![CDATA[<p>
Just in case you haven't heard yet and are running WordPress version 2.1.1 (that you've downloaded recently), you need to upgrade your installation because of a security exploit that <a href="http://wordpress.org/development/2007/03/upgrade-212/">made its way</a> into the software.
</p>
<p>
From the <a href="http://wordpress.org/development/2007/03/upgrade-212/">WordPress Blog</a>:
</p>
<blockquote>
Long story short: If you downloaded WordPress 2.1.1 within the past 3-4 days, your files may include a security exploit that was added by a cracker, and you should upgrade all of your files to 2.1.2 immediately.
</blockquote>
<p>
If you have even a doubt as to if you're running the bad version, go ahead and <a href="http://wordpress.org/download/">upgrade to version 2.1.2</a>. Somehow, an individual gained access to the servers where the package is hosted and altered some of the code in the download file. This resulted in a method to bypass any security in place and allow the attacker full control.
</p>]]></description>
      <pubDate>Wed, 07 Mar 2007 13:03:00 -0600</pubDate>
    </item>
  </channel>
</rss>
