PHP CGI SAPI Code Execution Vulnerability

BID:6875

Info

PHP CGI SAPI Code Execution Vulnerability

Bugtraq ID: 6875
Class: Unknown
CVE:
Remote: Yes
Local: No
Published: Feb 17 2003 12:00AM
Updated: Feb 17 2003 12:00AM
Credit: Discovery is credited to Kosmas Skiadopoulos.
Vulnerable: PHP PHP 4.3
Not Vulnerable: PHP PHP 4.3.1
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ OpenPKG OpenPKG Current
+ S.u.S.E. Linux Personal 8.2

Discussion

PHP CGI SAPI Code Execution Vulnerability

The PHP CGI SAPI contains an unspecified bug that renders options for preventing direct access to the CGI binary useless. The configuratin option '--enable-force-cgi-redirect' and the php.ini option 'cgi.force_redirect' could be disabled by this bug, allowing an attacker to gain access to any file readable by the webserver user. Arbitrary PHP code could also be executed.

Exploit / POC

PHP CGI SAPI Code Execution Vulnerability

Currently we are not aware of any exploits 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]>.

References

PHP CGI SAPI Code Execution 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