CVE-2004-0542

10.0
CVSS v2.0 Base Score
31.11%
MEDIUM RiskEPSS (98th percentile)
NVD-CWE-noinfo

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.

Published: 8/6/2004
Modified: 6/16/2026
Back to CVE Lookup

Vulnerability Summary

CVSS v2 Score

10

AV:N/AC:L/Au:N/C:C/I:C/A:C

EPSS Score (Exploitation Probability)

31.11%MEDIUM Exploitation Risk
98th percentile

This vulnerability has a 31.11% probability of being exploited in the next 30 days, ranking higher than 98% of all scored CVEs.

CWE Classification

NVD-CWE-noinfo
Advertisement