<?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, 09 Jan 2009 06:30:57 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Secunia.com: CodeIgniter Weakness and Directory Traversal Vulnerability]]></title>
      <guid>http://www.phpdeveloper.org/news/8222</guid>
      <link>http://www.phpdeveloper.org/news/8222</link>
      <description><![CDATA[<p>
On the Secunia.com site today, there's <a href="http://secunia.com/advisories/25991/">a new vulnerability posted</a> that users of the CodeIgniter framework should pay attention to - a "weakness and directory traversal vulnerability".
</p>
<blockquote>
Lukasz Pilorz has reported a vulnerability and a weakness in CodeIgniter, which can be exploited by malicious people to disclose sensitive information and conduct cross-site scripting and header injection attacks.
</blockquote>
<p>
There are two problems that lead to this issue - a non-sanitized input parameter and unsanitized data being passed to the xss_clean function. These issues affect <a href="http://codeigniter.com/">CodeIgniter</a> version 1.5.3 and, as of the time of this post, no update has been made in an official release. It is mentioned, however, that the problem has been fixed in the CVS and is waiting for a release.
</p>]]></description>
      <pubDate>Wed, 11 Jul 2007 11:07:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Sklar's Blog: Speed - DOM traversal vs. XPath in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/4884</guid>
      <link>http://www.phpdeveloper.org/news/4884</link>
      <description><![CDATA[On his blog today, <i>David Sklar</i> has <a href="http://www.sklar.com/blog/archives/85-Speed-DOM-traversal-vs.-XPath-in-PHP-5.html">this new post</a> that compares the speed of two methods of grabbing info from an XML document in PHP5 - DOM traversal versus XPath.
<p>
<quote>
<i>
Needing to pick out some bits from a smallish (40 lines) XML document studded with namespaces, I first turned to DomXPath. Worked great, code's concise, XPath expression is simple. But I had the nagging thought that using DOM traversal functions should be faster.
</i>
</quote>
<p>
The results from <a href="http://www.sklar.com/blog/archives/85-Speed-DOM-traversal-vs.-XPath-in-PHP-5.html">his test</a>? The DOM traversal is about four times faster than using XPath to achieve the same thing.
<p>
<quote>
<i>
That 4x speed multiple translates into about a half second to execute for the XPath code and about 0.13 seconds to execute for the DOM code when each is run 10,000 times. Since a typical use of this code will involve it running maybe 10 or 20 times during a request, I'm happy to sacrifice a few microseconds of processor time in exchange for simpler code.
</i>
</quote>]]></description>
      <pubDate>Thu, 23 Feb 2006 06:43:03 -0600</pubDate>
    </item>
  </channel>
</rss>
