Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83661 - dev-php/php-4*, dev-php/mod_php-4*: readfile() Denial of Service
Summary: dev-php/php-4*, dev-php/mod_php-4*: readfile() Denial of Service
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Security
URL: http://www.securityfocus.com/bid/1266...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 03:37 UTC by Elfyn McBratney (beu) (RETIRED)
Modified: 2005-03-03 08:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-01 03:37:26 UTC
From the original advisery (http://www.novell.com/linux/security/advisories/2005_06_sr.html):

   - php4 readfile denial of service

     A bug in the readfile() function of php4 could be used to
     to crash the httpd running the php4 code when accessing files
     with a multiple of the architectures page size leading to a denial
     of service.
Comment 1 Thierry Carrez (RETIRED) gentoo-dev 2005-03-02 07:46:22 UTC
I can't find much info on this.
Ccing PHP team, maybe they know more.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-02 17:46:51 UTC
URL replaced with a more useful discussion on it.

From the security note:
"PHP4 is reported prone to a denial of service vulnerability. It is reported that the PHP 'readfile()' function may be utilized to trigger this issue. 
An attacker that has access to a PHP enabled web host may exploit this vulnerability to crash the HTTP server that is incorporating the vulnerable PHP module."

However I can't find any reference to this vuln from the PHP folk, not even in their bug database.

I've tried to look at the SuSE SRPM that supposedly have the fix, but there is NO patch in there for the problem, and the RPM came out on Feb 17, which was before the Feb 25 data on the problem.
Comment 3 Thierry Carrez (RETIRED) gentoo-dev 2005-03-03 07:43:02 UTC
I asked SuSE for more info
Comment 4 Thierry Carrez (RETIRED) gentoo-dev 2005-03-03 08:06:18 UTC
Got more information.

It's a "PHP scripts may crash the PHP interpreter" old bug, which most distributions agree not to consider as a security issue :
http://bugs.php.net/bug.php?id=27037

Fixed since 4.3.5RC2.. closing as INVALID