<?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>Thu, 04 Dec 2008 12:32:56 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rochak Chauhan's Blog: Top Ten Security Vulnerabilities in PHP Code]]></title>
      <guid>http://www.phpdeveloper.org/news/10756</guid>
      <link>http://www.phpdeveloper.org/news/10756</link>
      <description><![CDATA[<p>
<i>Rochak Chauhan</i> has come up with <a href="http://rochakchauhan.com/blog/2008/07/13/top-ten-security-vulnerabilities-in-php-code/">a list of ten things</a>, some security problems that could be lurking in your applications waiting to pop up at the worst time. Here's his list:
</p>
<ul>
<li>Unvalidated Parameters
<li>Broken Access Control
<li>Broken Account and Session Management
<li>Cross-Site Scripting (XSS) Flaws
<li>Buffer Overflows
<li>Command Injection Flaws
<li>Error Handling Problems
<li>Insecure Use of Cryptography
<li>Remote Administration Flaws
<li>Web and Application Server Misconfiguration
</ul>
<p>
Each item on the list has a bit of detail (and sometimes some code) to help point out the problem. Some of them even have references to external sources and packages to help you solve the problems.
</p>]]></description>
      <pubDate>Mon, 04 Aug 2008 12:58:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Validating PHP User Sessions]]></title>
      <guid>http://www.phpdeveloper.org/news/9923</guid>
      <link>http://www.phpdeveloper.org/news/9923</link>
      <description><![CDATA[<p>
On PHPBuilder.com, there's a <a href="http://www.phpbuilder.com/columns/validating_php_user_sessions.php3">new tutorial</a> about validating user sessions - ensuring that data in your user's sessions is valid and isn't an attack trying to sneak in.
</p>
<blockquote>
In a nutshell, sessions are the way that we "maintain state" from one page to the next, that is, how we identify specific users across multiple page requests. The ability to track users as they go from one page to the next using sessions allows us a number of options, such as tracking where they are going (web statistics) or to verify credentials for a specific section of the site.
</blockquote>
<p>
First, there's a little mini-intro to sessions for those unsure on their use. It's followed by a look at some session vulnerabilities that could be introduces by malicious users looking to break things on your site (including HTML/Javascript injection, as their example shows).
</p>
<p>
They recommend a three step plan to get started with the validation of your user's sessions - making it easy for users to log out when they want to, use unique aspects of the remote machine to define the session and to validate all user input, especially things that will be put into a session variable.
</p>]]></description>
      <pubDate>Mon, 07 Apr 2008 11:12:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Pierre-Alain Joye's Blog: PHP Security Conference in Paris, 2007/01/29]]></title>
      <guid>http://www.phpdeveloper.org/news/7111</guid>
      <link>http://www.phpdeveloper.org/news/7111</link>
      <description><![CDATA[<p>
<i>Pierre-Alain Joye</i> has <a href="http://blog.thepimp.net/index.php/post/2007/01/16/PHP-Security-Conference-in-Paris-2007/12/29">posted a reminder</a> about an event happening on the 29th of January (2007) with <i>Damien S&eacute;guy</i> in Paris concerning PHP security.
</p>
<blockquote>
He will focus on the XSS and CSRF aspects of the web applications: sources of the vulnerabilities, attacks/exploits and the defense techniques. I will sadly not attend but such events are rare enough to be mentioned loudly.
</blockquote>
<p>
The talk is a part of <a href="http://www.afup.org/article.php3?id_article=322">this meeting</a> and requires a RVSP to attend, so if you'd like to attend, please <a href="http://www.afup.org/rdv_afup/">sign up today</a>.
</p>]]></description>
      <pubDate>Wed, 17 Jan 2007 11:54:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[LWN.net: Remote file inclusion vulnerabilities]]></title>
      <guid>http://www.phpdeveloper.org/news/6489</guid>
      <link>http://www.phpdeveloper.org/news/6489</link>
      <description><![CDATA[<p>
According to <a href="http://lwn.net/SubscriberLink/203904/c450f7af16f34584/">this article</a> from LWN.net, you might need to be a bit wary of how you use the allow_url_fopen configuration parameter on your server. Apparently there are some remote file inclusion issues that could cause problems for calls to include or require already in your code.
</p>
<blockquote>
An attacker's fondest wish is to be able to run their code on the target system; an RFI exploit does just that. By exploiting two very dubious 'features' of the PHP language, an attacker can inject their code into a PHP program on the server.
</blockquote>
<p>
Basically, if the potential hacker can manage to get in on a varaible that's inside of an include and use it (in)correctly, they can get the script to jump out and run the code from their server instead of the local copy. Turning off regiter_globals will provide some protection, put poor programming and not performing any input validation can poke holes in the script's security without the need for globals.
</p>
<p>
Check out <a href="http://lwn.net/SubscriberLink/203904/c450f7af16f34584/">the rest of the article</a> for more information on this (potentially) serious issue and check your code/configuration doubly to make sure you're not at risk.
</p>]]></description>
      <pubDate>Thu, 12 Oct 2006 10:27:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: Google Code Search for Security Vulnerabilities]]></title>
      <guid>http://www.phpdeveloper.org/news/6436</guid>
      <link>http://www.phpdeveloper.org/news/6436</link>
      <description><![CDATA[<p>
Recently , Google has released a new service for their search engine, the <a href="http://google.com/codesearch">Google Code Search</a>. It allows for developers to look through and locate items in public source code through the simple Google interface we're all used to. Fortunately, there's also a few security problems the site can help with as well, and <i>Chris Shiflett</i> shares some of these in <a href="http://shiflett.org/archive/269">his latest post</a>.
</p>
<blockquote>
Stephen de Vries sent <a href="http://www.securityfocus.com/archive/107/447729/30/0">an email</a> to SecurityFocus's <a href="http://www.securityfocus.com/archive/107">web application security mailing list</a> earlier today to comment on the new Google Code Search: "Google's code search provides an easy way to find obvious software flaws in open source and example applications."
</blockquote>
<p>
<i>Chris</i> <a href="http://shiflett.org/archive/269">talks about</a> cross-site scripting problems, issues with the superglobals, SQL injection problems, and even a misplaced trust of the $_SERVER superglobal. Each of the items is linked to is search terms on the Code Search to make it easy to locate.
</p>]]></description>
      <pubDate>Fri, 06 Oct 2006 06:49:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ThinPHP Blog: Understanding successful tracing of security vulnerabilities]]></title>
      <guid>http://www.phpdeveloper.org/news/6326</guid>
      <link>http://www.phpdeveloper.org/news/6326</link>
      <description><![CDATA[<p>
In <a href="http://blog.thinkphp.de/archives/142-Understanding-successful-tracing-of-security-vulnerabilities.html">this new post</a> on the ThinkPHP blog, there's more talk about their <a href="https://chorizo-scanner.com/">Chorizo!</a> security scanner and how, with a little help from their Morcilla product, you can find problems easily. Now, interpreting them is another matter, so they show you a simple way to determine just what went wrong.
</p>
<blockquote>
Sometimes it's not very easy to check if a vulnerability occured where Morcilla told you it occured. In order to pinpoint this issue, it is neccessary that you get a deeper look to the callstack of all the functions that were involved calling the SQL abstraction layer.
</blockquote>
<p>
They <a href="http://blog.thinkphp.de/archives/142-Understanding-successful-tracing-of-security-vulnerabilities.html">include a screenshot</a> of how the functionality will (in the upcoming version) work in the case of a MySQL SQL injection problem.
</p>]]></description>
      <pubDate>Thu, 21 Sep 2006 07:34:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SecWatch.org: CJ Tag Board Multiple Parameter Handling PHP Code Injection Vulnerabilities]]></title>
      <guid>http://www.phpdeveloper.org/news/6177</guid>
      <link>http://www.phpdeveloper.org/news/6177</link>
      <description><![CDATA[<p>
According to <a href="http://secwatch.org/advisories/1015231/">this posting</a> on the SecWatch board today, there are some issues with the CJ Tag Board software that allow for code injection issues.
</p>
<blockquote>
Multiple input validation vulnerabilities in CJ Tag Board have been reported, which can be exploited by remote users to compromise a vulnerable system.
</blockquote>
<p>
The <a href="http://secwatch.org/advisories/1015231/">issue</a> comes from improperly filtered user input for the "User-Agent" HTTP header and the "banned" parameter for the admin side. This issue effects CJ Tag Board version 3.0. No update or patch has been posted as of yet to correct this issue.
</p>]]></description>
      <pubDate>Wed, 30 Aug 2006 08:18:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hardened-PHP.net:  Zend Platform Multiple Remote Vulnerabilities]]></title>
      <guid>http://www.phpdeveloper.org/news/6127</guid>
      <link>http://www.phpdeveloper.org/news/6127</link>
      <description><![CDATA[<p>
According to <a href="http://www.hardened-php.net/advisory_052006.128.html">this new advisory</a> on the Hardened-PHP project's site, there are some issues with the Zend Platform product that could cause a number of security issues becaue of malformed session IDs.
</p>
<blockquote>
During the development of suhosin, which is our new PHP protection module, several compatibility tests with binary 3rd party PHP extensions like the Zend Platform and the Zend Optimizer have been made. When testing the session protection features of suhosin, we discovered that the session clustering system, which is shipping with the Zend Platform is vulnerable to several different attacks.
</blockquote>
<p>
They mentions <a href="http://www.hardened-php.net/advisory_052006.128.html">a few things</a> a potential attacker could use this issue for, including crashing the session daemon, remote code execution, and being able to view and write files of their choice (like session files) to execute malicious code.
</p>
<p>
The details are listed out, but a "proof of concept" isn't published for this exploit. Thankfully, Zend has already provided a patch for the issue which can be downloaded at <a href="http://www.zend.com/download">Zend's website</a> (an upgrade to version 2.2.1a).
</p>]]></description>
      <pubDate>Thu, 24 Aug 2006 07:58:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Validating PHP User Sessions]]></title>
      <guid>http://www.phpdeveloper.org/news/6060</guid>
      <link>http://www.phpdeveloper.org/news/6060</link>
      <description><![CDATA[<p>
From PHPBuilder.com today, there's <a href="http://www.phpbuilder.com/columns/validating_php_user_sessions.php3">a new tutorial</a> that looks at one of the more handy features built into PHP, one that makes personalized sites a whole lot easier - sessions - and their management.
</p>
<blockquote>
<p>
In a nutshell, sessions are the way that we "maintain state" from one page to the next, that is, how we identify specific users across multiple page requests.
</p>
<p>
When the user comes to the site, we need to be able to give them a unique identifier (a session id) that will allow us to know the difference between each user on the site. So, when the user logs in, and then modifies their choices for foo.php, we know whose profile to save those changes to.
</p>
</blockquote>
<p>
<a href="http://www.phpbuilder.com/columns/validating_php_user_sessions.php3">The article</a> goes on to talk about what sessions really are, how they're handled on both the client and server side, and a simple code example of how to check the value of them. Thankfully, they also include a section on session vulnerabilities, showing how with something as simple as some Javascript, a session can be maipulated.
</p>
<p>
To help prevent this, they give some examples of securing your sessions. Then, to illustrate all of the above points, they provide some simple code validate the session information that's been set.
</p>]]></description>
      <pubDate>Thu, 17 Aug 2006 07:14:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Security Consortium: SecurityFocus Newsletter #361]]></title>
      <guid>http://www.phpdeveloper.org/news/5968</guid>
      <link>http://www.phpdeveloper.org/news/5968</link>
      <description><![CDATA[<p>
The latest SecurityFocus Summary has been posted on the PHP Security Consortium site today, <a href="http://phpsec.org/projects/vulnerabilities/securityfocus361.html">Issue #361</a>.
</p>
<p>
Included in this issue are vulnerabilities for:
<ul>
<li><a href="http://www.securityfocus.com/bid/19217">SecurityImages Component Multiple Remote File Include Vulnerabilities</a>
<li><a href="http://www.securityfocus.com/bid/19238">Ajax Chat Multiple Remote Vulnerabilities</a>
<li><a href="http://www.securityfocus.com/bid/19232">ATutor Multiple SQL Injection Vulnerabilities</a>
<li><a href="http://www.securityfocus.com/bid/19219">Coppermine Photo Gallery Theme.PHP Remote File Include Vulnerability</a>
<li><a href="http://www.securityfocus.com/bid/19254">PHPAuction PHPAds_Path Variable Remote File Include Vulnerability</a>
<li><a href="http://www.securityfocus.com/bid/19246">myEvent Myevent.PHP Remote File Include Vulnerability</a>
</ul>
</p>
<p>
This is just a sampling of the issues reported, so head over to <a href="http://phpsec.org/projects/vulnerabilities/securityfocus361.html">the full listing</a> for the complete information.
</p>]]></description>
      <pubDate>Mon, 07 Aug 2006 06:37:07 -0500</pubDate>
    </item>
  </channel>
</rss>
