cbcvebase.
CVE-2002-2029
published 2002-12-31

CVE-2002-2029: PHP, when installed on Windows with Apache and ScriptAlias for /php/ set to c:/php/, allows remote attackers to read arbitrary files and possibly execute…

PriorityP339high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
24.60%
97.7th percentile
PHP, when installed on Windows with Apache and ScriptAlias for /php/ set to c:/php/, allows remote attackers to read arbitrary files and possibly execute arbitrary programs via an HTTP request for php.exe with a filename in the query string.

Affected

10 ranges
VendorProductVersion rangeFixed in
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server

Detection & IOCsextracted from sources · hover to see the quote

urlhttp://[targethost]/php/php.exe?c:\[filepath]
path/php/php.exe
filenamephp.exe
  • Detect HTTP GET requests targeting /php/php.exe with a query string containing a file path (e.g., drive-letter colon backslash pattern), indicating attempted arbitrary file read via CVE-2002-2029.
  • Monitor for requests to php.exe that include Windows-style absolute paths (e.g., 'c:\') in the query string, which may also indicate attempts to execute programs in the PHP directory.
  • ·Vulnerability is specific to PHP installed on Windows with Apache where ScriptAlias maps /php/ to c:/php/, exposing php.exe directly via HTTP.
  • ·Exploitation requires the default/suggested Apache ScriptAlias configuration for the PHP binary on Windows; non-default or hardened configurations may not be affected.
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.