CVE-2004-0490
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.47%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 2.0
- 7.2 HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
- EPSS
- 4.47% probability · 91th percentile
- CISA KEV
- Not listed
- Affected
- cpanel/cpanel
- Source
- cve@mitre.org
References
- http://bugzilla.cpanel.net/show_bug.cgi?id=283
- http://bugzilla.cpanel.net/show_bug.cgi?id=664
- http://www.a-squad.com/audit/explain10.html
- http://www.securiteam.com/tools/5TP0N15CUA.htmlVendor Advisory
- http://www.securityfocus.com/archive/1/364112
- http://www.securityfocus.com/bid/10407Exploit, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16239
- http://bugzilla.cpanel.net/show_bug.cgi?id=283
- http://bugzilla.cpanel.net/show_bug.cgi?id=664
- http://www.a-squad.com/audit/explain10.html
- http://www.securiteam.com/tools/5TP0N15CUA.htmlVendor Advisory
- http://www.securityfocus.com/archive/1/364112
- http://www.securityfocus.com/bid/10407Exploit, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16239
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.