CVE-2004-0490 json
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…
published 2004-06-03 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0489
- cvss
- 7.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 1
- Exploit-DB
Summary
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.
Timeline
- First public exploit (EDB-24141)
- Published
Exploit prediction
4.47% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-24141 cPanel 5 < 9 - Local Privilege Escalation local, 2004-05-24
- securityfocus.com http://www.securityfocus.com/bid/10407 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
References
-
securityfocus.com
/bid/10407
vdb-entry, exploit, vendor-advisory
-
securiteam.com
/tools/5TP0N15CUA.html
vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/16239
vdb-entry
- bugzilla.cpanel.net /show_bug.cgi?id=664
- bugzilla.cpanel.net /show_bug.cgi?id=283
-
securityfocus.com
/archive/1/364112
mailing-list
- a-squad.com /audit/explain10.html
Sources
- CVE List CVE-2004-0490
- NVD CVE-2004-0490
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.