<?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>Mon, 20 May 2013 07:31:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Liip Blog: PHP 5.3 for OS X 10.6 One-Line Installer]]></title>
      <guid>http://www.phpdeveloper.org/news/16189</guid>
      <link>http://www.phpdeveloper.org/news/16189</link>
      <description><![CDATA[<p>
On the Liip blog today <i>Christian Stocker</i> talks about a <a href="http://blog.liip.ch/archive/2011/04/13/php-5-3-for-os-x-10-6-one-line-installer.html">one-line installer</a> that's been developed to get PHP 5.3 up and working on an OS X 10.6 platform without much hassle. The tool updates everything needed to get a bit more robust version of the language installed and ready for use.
</p>
<blockquote>
Apple computers and OS X are quite common here at Liip (and local.ch) as developer machines. But while OS X comes with a not-too-old PHP installation, it nevertheless doesn't have everything we need (for example the infamous intl extension) and it's not that easily extendable with self-compiled extensions. [...] Our friends at <a href="http://local.ch/">local.ch</a> took this very dissatisfying situation in their own hands, forked the build-entropy-php script from Marc Liyanage's great <a href="http://www.entropy.ch/home/">entropy</a> work, extended and adjusted it to their (and our) needs.
</blockquote>
<p>
If you'd like to try out the package on your own systems, you can find it and the full instructions for its use at <a href="http://php-osx.liip.ch/">http://php-osx.liip.ch/</a>. He also points out the actual build part of the process (<a href="https://github.com/liip/build-entropy-php">build-entropy-php</a>) as well as <a href="https://github.com/liip/packager">the packager</a> you'll need for it to grab the library updates it needs.
</p>]]></description>
      <pubDate>Wed, 13 Apr 2011 11:16:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Possible vulnerabilities found in PHP session IDs ]]></title>
      <guid>http://www.phpdeveloper.org/news/14331</guid>
      <link>http://www.phpdeveloper.org/news/14331</link>
      <description><![CDATA[<p>
<i>Beth Tucker Long</i> has posted a new warning <a href="http://www.phparch.com/2010/04/09/possible-vulnerabilities-found-in-php-session-ids">about a possible issue with session IDs</a> in PHP dealing with <a href="http://seclists.org/fulldisclosure/2010/Mar/519">weak random numbers</a> being generated by the language when making the IDs.
</p>
<blockquote>
Seclists.org has posted an advisory titled "<a href="http://seclists.org/fulldisclosure/2010/Mar/519">Weak RNG in PHP session ID generation leads to session hijacking</a>." RNG stands for Random Number Generation, and the advisory is warning that not enough entropy is being used to seed the RNG; this, in turn, can lead to a reduced number of possible session IDs under certain specific conditions, thus making brute force session spoofing easier, if not bringing it into the realm of feasibility.
</blockquote>
<p>
The threat is only marked at a "medium" level of severity, but it could still cause problems if you're not careful. There are specific conditions that have to be in place for it to be a problem including using the standard PHP session generation and that the app shares the information about remote users. To protect yourself you can either install <a href="http://www.hardened-php.net/suhosin/">Suhosin</a> and don't use the result of <a href="http://php.net/uniqid</a> directly, hash it. You can also <a href="http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-file">set an external source</a> for entropy to help randomize the session ID even more.
</p>]]></description>
      <pubDate>Mon, 12 Apr 2010 08:29:00 -0500</pubDate>
    </item>
  </channel>
</rss>
