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?
But I have never believed a security vulnerability unless they release a proof-of-concept, or at least a 10-15 page white paper on how the exploit is done so that people can actually verify it for themselves. If admins can see that that real damage is done, first hand, it will make them that much more likely to upgrade.
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
Too bad you (proverbial you) weren't using perl. A bit more mature and all..
-
ping -f 255.255.255.255 # if only
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.
For an advisory that is 2 days old, if it's as serious as it SOUNDS there seems little action on it.
For example redhat up2date shows nothing new. Nor do most other sites with packages for apache/php.
I'm not even clear if I'm vulnerable or not on a Solaris host that has Apache with mod_php.
http://www.hardened-php.net/
Written by the same guy that discovered the php4 exploit, he's also a php developer.