PHP 4.3.8 Released, Fixing Remote Security Hole
christian klink writes "While it was already reported on Slashdot, that PHP5 was released, it was not mentioned that the PHP developers have also announced the release of PHP 4.3.8 which is supposed to fix a major remote security hole in nearly all PHP installations. Additionally this new version adds a workaround for another Internet Explorer bug. The bugs were found by security specialist Stefan Esser of e-matters who is also a member of the PHP developers."
A remote vulnerability that affects about 50% of all Apache servers world wide and not frontpage?
A temporary workaround (while distributions update their packages) is to disable the memory_limit parameter. Though it can bring other weaknesses on a server (DoS by memory exhaustion), it's a lesser pain than remote code execution.
I am under the impression this vulnerability only affects Apache 2.x? So 1.3.x tree is safe?
Are there PHP config options to address this scenario?
Add "expose_php=Off" to your php.ini file. Then update mod_php when you can.
As far as I can tell, the popular PHP distribution from Marc Liyanage for Mac OS X (still at version 4.3.6) is not vulnerable: it seems to be compiled without memory_limit support. ini_get_all() does not return a value for memory_limit, and memory_get_usage() returns Fatal error: Call to undefined function: memory_get_usage().
I haven't tested the built-in Mac OS X php version.
JP
I'm extremely disappointed with the Slashdot editors not putting this article on the main page. This is a critical security hole in a very common tool, even increasing common on Windows machines. Why was this not on the main page, Slashdot Editors?
That's what it is. Every MS hole gets on the front page and rightly so, but something like half the PHP installations world-wide are at risk and slashdot buries it?
I use linux too, like most people here, and would have really appreciated seeing this earlier.
Beware of geeks bearing formulas.
http://www.hardened-php.net/
Written by the same guy that discovered the php4 exploit, he's also a php developer.