CVE-2004-0542
PHP before 4.3.7 on Win32 platforms does not properly filter all shell metacharacters, which allows local or remote attackers to execute arbitrary code, overwrite files, and access internal environment variables via (1) the "%", "|", or ">" characters to the escapeshellcmd function, or (2) the "%" character to the escapeshellarg function.
- Severity
- CRITICALCVSS 10
- Priority
- P2: EPSS ≥ 10%
- Exploit prediction (EPSS)
- 31.1%higher than 98% of CVEs
- CISA KEV
- Not listed as known exploited
- First reported
- 6 August 2004
Is CVE-2004-0542 on your systems?
Sign in to get an AI-assisted analysis, a read-only verification script for your servers, and alerts when this CVE changes or is exploited.
References
Look up another CVE
Linda Taifa tracks CVE-2004-0542 and every other published CVE for organisations in Tanzania and across Africa. See the latest on CVE Tanzania.
Sources: NVD, CISA Known Exploited Vulnerabilities catalog and FIRST EPSS. Official CVE record · NVD entry