1. CVE archive
  2. 2004
  3. CVE-2004-0542

CVE-2004-0542

10 Critical severity CVSS v2.0 · source NVD AV:N/AC:L/Au:N/C:C/I:C/A:C 10 – Critical

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.

Affected products

VendorProductVersionPlatform
php php < 4.3.7 –
All 757 Php vulnerabilities