Vulnerabilities · 2004 · Cpanel
CVE-2004-0490
Cpanel vulnerability
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.
Affected products
Cpanel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cpanel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.securiteam.com/tools/5TP0N15CUA.html · Vendor Advisory
- www.securityfocus.com/bid/10407 · Exploit
- bugzilla.cpanel.net/show_bug.cgi?id=283
- bugzilla.cpanel.net/show_bug.cgi?id=664
- www.a-squad.com/audit/explain10.html
- www.securityfocus.com/archive/1/364112
- exchange.xforce.ibmcloud.com/vulnerabilities/16239
- nvd.nist.gov/vuln/detail/CVE-2004-0490
- cve.org/CVERecord?id=CVE-2004-0490
More vulnerabilities in Cpanel products
CVE-2025-66429CVE-2023-29489CVE-2021-38590CVE-2021-38589CVE-2021-38588CVE-2021-38587CVE-2021-38586CVE-2021-38585All 425
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.