10.0crit
CVE-2004-0542in critical feed
PHP before 4.3.7 on Win32 platforms does not properly filter all shell metacharacters, which allows local or remote attackers to execute ar…
Published 22 y ago · modified 4 mo ago · JSON
CVSS
10.0
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
31.1%
percentile 98%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
31.11% probability of exploitation in the next 30 days, higher than 98% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Technology feeds
- PHP (RSS, critical only)
References
- php.net /release_4_3_7.php · x_refsource_CONFIRM, x_transferred
- exchange.xforce.ibmcloud.com /vulnerabilities/16331 · vdb-entry, x_refsource_XF, x_transferred
- idefense.com /application/poi/display?id=108 · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2004-0542
- NVD: CVE-2004-0542
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.