Apache mod_php File Descriptor Leakage Vulnerability

BID:6117

Info

Apache mod_php File Descriptor Leakage Vulnerability

Bugtraq ID: 6117
Class: Access Validation Error
CVE:
Remote: Yes
Local: No
Published: Nov 06 2002 12:00AM
Updated: Nov 06 2002 12:00AM
Credit: Discovery of this vulnerability is credited to Georgi Guninski.
Vulnerable: Apache Apache 1.3.26
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.0
+ OpenPKG OpenPKG 1.1
+ Trustix Secure Linux 1.5
+ Trustix Secure Linux 1.2
+ Trustix Secure Linux 1.1
Not Vulnerable:

Discussion

Apache mod_php File Descriptor Leakage Vulnerability

A vulnerability has been discovered in the mod_php module available for Apache web servers that may, under some circumstances, leak file descriptor information. By exploiting this vulnerability it may be possible for a remote attacker to reuse file descriptors used by the httpd daemon, effectively taking control of TCP port 80.

Exploitation of this issue may allow an attacker to bind a malicious server in place of Apache httpd server.

It should be noted that this issue is exploitable only if the 'safe_mode' PHP option is disabled.

Exploit / POC

Apache mod_php File Descriptor Leakage Vulnerability

A sample proof of concept is provided in the referenced advisory.

Solution / Fix

Apache mod_php File Descriptor Leakage Vulnerability

Solution:
An unofficial patch has been made available by George Guninski. Further details are in the referenced advisory.

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.


Apache Apache 1.3.26

References

Apache mod_php File Descriptor Leakage Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report