National Cyber-Alert System
Vulnerability Summary for CVE-2003-1307
Original release date:12/31/2003
Last revised:09/05/2008
Source:
US-CERT/NIST
Overview
** DISPUTED ** The mod_php module for the Apache HTTP Server allows local users with write access to PHP scripts to send signals to the server's process group and use the server's file descriptors, as demonstrated by sending a STOP signal, then intercepting incoming connections on the server's TCP port. NOTE: the PHP developer has disputed this vulnerability, saying "The opened file descriptors are opened by Apache. It is the job of Apache to protect them ... Not a bug in PHP."
Impact
CVSS Severity (version 2.0):
Impact Subscore:
6.4
Exploitability Subscore:
3.1
CVSS Version 2 Metrics:
Access Vector: Locally exploitable
Access Complexity: Low
Authentication: Required to exploit
Impact Type:Provides unauthorized access, Allows partial confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service
- Official Statement from Red Hat (10/25/2006)
-
This is not a vulnerability. When PHP scripts are interpreted using the dynamically loaded mod_php DSO, the PHP interpreter executes with the privileges of the httpd child process. The PHP intepreter does not "sandbox" PHP scripts from the environment
in which they run.
On any modern Unix system a process can easily obtain access to all the parent file descriptors anyway, even if they have been closed.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: BID
Name: 9302
External Source: BUGTRAQ
Name: 20061020 Re: PHP "exec", "system", "popen" (+small POC)
Type: Advisory
External Source: BUGTRAQ
Name: 20061019 PHP "exec", "system", "popen" problem
Type: Advisory
External Source: BUGTRAQ
Name: 20031226 Hijacking Apache https by mod_php
Type: Advisory
External Source: MISC
Name: http://hackerdom.ru/~dimmo/phpexpl.c
External Source: MISC
Name: http://bugs.php.net/38915