CVE-2004-0542

high

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

https://exchange.xforce.ibmcloud.com/vulnerabilities/16331

http://www.php.net/release_4_3_7.php

http://www.idefense.com/application/poi/display?id=108

Details

Source: Mitre, NVD

Published: 2004-08-06

Updated: 2022-07-01

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High