National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2003-1307 Detail

Description

** 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."

Source:  MITRE      Last Modified:  12/31/2003

Quick Info

CVE Dictionary Entry:
CVE-2003-1307
Original release date:
12/31/2003
Last revised:
09/05/2008
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
4.3 MEDIUM
Vector:
(AV:L/AC:L/Au:S/C:P/I:P/A:P) (legend)
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

Vendor Statements (disclaimer)

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.

Hyperlink Resource Type Source Name
http://bugs.php.net/38915 Exploit External Source MISC http://bugs.php.net/38915
http://hackerdom.ru/~dimmo/phpexpl.c Exploit External Source MISC http://hackerdom.ru/~dimmo/phpexpl.c
http://www.securityfocus.com/archive/1/348368 Exploit; Vendor Advisory External Source BUGTRAQ 20031226 Hijacking Apache https by mod_php
http://www.securityfocus.com/archive/1/archive/1/449234/100/0/threaded Exploit; Vendor Advisory External Source BUGTRAQ 20061019 PHP "exec", "system", "popen" problem
http://www.securityfocus.com/archive/1/archive/1/449298/100/0/threaded Exploit; Vendor Advisory External Source BUGTRAQ 20061020 Re: PHP "exec", "system", "popen" (+small POC)
http://www.securityfocus.com/bid/9302 Exploit External Source BID 9302

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes