{"id":"CVE-2004-0490","published":"2004-06-03T04:00:00Z","modified":"2024-08-08T00:17:14Z","title":"cPanel, when compiling Apache 1.3.29 and PHP with the mod_phpsuexec option, does not set the --enable-discard-path…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04466,"percentile":0.91664,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/10407","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16239","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://bugzilla.cpanel.net/show_bug.cgi?id=664","tags":["x_refsource_CONFIRM"]},{"url":"http://bugzilla.cpanel.net/show_bug.cgi?id=283","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/archive/1/364112","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securiteam.com/tools/5TP0N15CUA.html","tags":["x_refsource_MISC"]},{"url":"http://www.a-squad.com/audit/explain10.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":18.33},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2004-05-24"},"first":{"date":"2004-05-24","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/24141"},"provenance":"source"},"summary":{"text":"The flaw lies in cPanel's build of Apache 1.3.29 and PHP with the mod_phpsuexec option, where the --enable-discard-path option is not set, so PHP takes the script to execute from the SCRIPT_FILENAME variable rather than PATH_TRANSLATED. A local user can exploit this via a URL that references an attacker's script placed after a user's script, causing the attacker's PHP code to run with the privileges of another user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:35Z"},"euvd":{"id":"EUVD-2004-0489","exploited":false,"provenance":"source"},"exploits":[{"id":24141,"url":"https://www.exploit-db.com/exploits/24141","title":"cPanel 5 < 9 - Local Privilege Escalation","date":"2004-05-24","verified":true,"provenance":"source"}]}