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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2004-06-10T04:00:00

Updated: 2024-08-08T00:24:25.880Z

Reserved: 2004-06-08T00:00:00

Link: CVE-2004-0542

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2004-08-06T04:00:00.000

Modified: 2022-07-01T14:14:12.260

Link: CVE-2004-0542

cve-icon Redhat

No data.