Skip to content
OpenAdvisories
Unscored CVE-2004-0542 EUVD-2004-0541GHSA-ccf6-wjg8-65fx

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 Jun 10, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

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.

References