{"id":"CVE-2004-0490","aliases":["EUVD-2004-0489","GHSA-xw7p-mxv9-wcvh"],"status":"published","title":"cPanel, when compiling Apache 1.3.29 and PHP with the mod_phpsuexec option, does not set the -...","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.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04466,"percentile":0.91508,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2004-06-03T04:00:00Z","modified":"2026-06-16T22:05:44Z","exploits":[{"source":"exploitdb","id":"EDB-24141","title":"cPanel 5 \u003c 9 - Local Privilege Escalation","type":"local","platform":"linux","date":"2004-05-24","verified":true,"url":"https://www.exploit-db.com/exploits/24141"}],"products":[{"vendor":"cpanel","product":"cpanel"}],"references":[{"url":"http://www.securityfocus.com/bid/10407","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16239","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://bugzilla.cpanel.net/show_bug.cgi?id=664","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://bugzilla.cpanel.net/show_bug.cgi?id=283","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/364112","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securiteam.com/tools/5TP0N15CUA.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"http://www.a-squad.com/audit/explain10.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0490"},{"url":"https://github.com/advisories/GHSA-xw7p-mxv9-wcvh"}],"sources":{"cve":[{"id":"CVE-2004-0490","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.","status":"published","published":"2004-06-03T04:00:00Z","modified":"2024-08-08T00:17:14.986Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0489","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.","status":"published","published":"2004-06-03T04:00:00Z","modified":"2024-08-08T00:17:14Z","updated_at":"2026-11-03T01:15:19.183327Z"}],"ghsa":[{"id":"GHSA-xw7p-mxv9-wcvh","title":"cPanel, when compiling Apache 1.3.29 and PHP with the mod_phpsuexec option, does not set the -...","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.","status":"published","published":"2022-04-29T02:57:49Z","modified":"2023-01-30T05:02:42Z","updated_at":"2026-11-02T14:46:42.161058Z"}],"nvd":[{"id":"CVE-2004-0490","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.","status":"published","published":"2004-08-18T04:00:00Z","modified":"2026-06-16T22:05:44.333Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.000028Z"}]}}
