CVE-2004-0490

high

Description

cPanel, when compiling Apache 1.3.29 and PHP with the mod_phpsuexec option, does not set the --enable-discard-path option, which causes php to use the SCRIPT_FILENAME variable to find and execute a script instead of the PATH_TRANSLATED variable, which allows local users to execute arbitrary PHP code as other users via a URL that references the attacker's script after the user's script, which executes the attacker's script with the user's privileges, a different vulnerability than CVE-2004-0529.

References

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

http://www.securityfocus.com/archive/1/364112

http://www.securiteam.com/tools/5TP0N15CUA.html

http://www.a-squad.com/audit/explain10.html

http://bugzilla.cpanel.net/show_bug.cgi?id=664

http://bugzilla.cpanel.net/show_bug.cgi?id=283

Details

Source: Mitre, NVD

Published: 2004-08-18

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 7.2

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

Severity: High

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

EPSS

EPSS: 0.0043