CVE-2004-0490
cPanel, when compiling Apache 1.3.29 and PHP with the mod_phpsuexec option, does not set the -...
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.
Exploit likelihood
What each source reports
NVD Score used
7.2
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.
- Record
CVE-2004-0490- CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-0490- Updated
- 2026-11-02
EUVDEUVD-2004-0489 No score
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.
- Record
EUVD-2004-0489- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xw7p-mxv9-wcvh No score
cPanel, when compiling Apache 1.3.29 and PHP with the mod_phpsuexec option, does not set the -...
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.
- Record
GHSA-xw7p-mxv9-wcvh- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | cPanel 5 < 9 - Local Privilege Escalation | 2004-05-24 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-0490 is a high vulnerability (CVSS 7.2) in Cpanel, published June 3, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 4.47%, the 91st percentile. No source names a fixed version.
References
securityfocus.com/bid/10407
exchange.xforce.ibmcloud.com/vulnerabilities/16239
bugzilla.cpanel.net/show_bug.cgi?id=664
bugzilla.cpanel.net/show_bug.cgi?id=283
securityfocus.com/archive/1/364112
securiteam.com/tools/5TP0N15CUA.html
a-squad.com/audit/explain10.html
nvd.nist.gov/vuln/detail/CVE-2004-0490
github.com/advisories/GHSA-xw7p-mxv9-wcvh