CVE-2004-04901 exploit
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…
Published 22 y ago · modified 4 mo ago · JSON
Summary
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 prediction (EPSS)
4.47% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.
Exploits and detections
- EDB-24141 cPanel 5 < 9 - Local Privilege Escalation · local · 2004-05-24
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
References
- securityfocus.com /bid/10407 · vdb-entry, x_refsource_BID, x_transferred
- exchange.xforce.ibmcloud.com /vulnerabilities/16239 · vdb-entry, x_refsource_XF, x_transferred
- bugzilla.cpanel.net /show_bug.cgi?id=664 · x_refsource_CONFIRM, x_transferred
- bugzilla.cpanel.net /show_bug.cgi?id=283 · x_refsource_MISC, x_transferred
- securityfocus.com /archive/1/364112 · mailing-list, x_refsource_BUGTRAQ, x_transferred
- securiteam.com /tools/5TP0N15CUA.html · x_refsource_MISC, x_transferred
- a-squad.com /audit/explain10.html · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2004-0490
- NVD: CVE-2004-0490
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.