CVE-2004-0490
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 4.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.5% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- Cpanel 5.0
- Cpanel 5.3
- Cpanel 6.0
- Cpanel 6.2
- Cpanel 6.4
- Cpanel 6.4.1
- Cpanel 6.4.2
- Cpanel 6.4.2_stable_48
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2004-0490.md and follow it. Check whether this project is affected by CVE-2004-0490. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.securiteam.com/tools/5TP0N15CUA.html
- http://www.securityfocus.com/bid/10407
- http://www.securiteam.com/tools/5TP0N15CUA.html
- http://www.securityfocus.com/bid/10407
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.html
- http://www.securityfocus.com/archive/1/364112
- http://www.securityfocus.com/bid/10407
- 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.html
- http://www.securityfocus.com/archive/1/364112
- http://www.securityfocus.com/bid/10407
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16239