Back to CVE catalog
CVE-2004-0490

cPanel does not set the --enable-discard-path option when compiling Apache and PHP

cpanel cpanel

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

7.2High
Published:
Updated:
EPSS:
4.466%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:cpanelcpanelAffected versions:
5.0Show full version range for cpanel
5.36.06.26.46.4.16.4.26.4.2_stable_487.08.09.09.19.1.0_r85

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories11

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences