CVE-2004-0490 Privilege escalation in n/a
Local users can execute arbitrary PHP code as other users via crafted URLs when mod_phpsuexec is enabled without discard-path.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2004-0490?
CVE-2004-0490 is a high-severity vulnerability in Cpanel Cpanel, published on 3 Jun 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2004-0490?
It affects 1 product.
Products include Cpanel Cpanel.
How do I fix CVE-2004-0490?
No fix has been published for CVE-2004-0490 yet. Limit exposure of the affected software until one is available.
Is CVE-2004-0490 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0490 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Cpanel Cpanel
- CVE-2026-41940 WebPros cPanel & WHM and WP2 (WordPress Squared) Missing Authentication for Critical Function
- CVE-2003-1425 guestbook.cgi in cPanel 5.0 allows remote attackers to execute arbitrary commands via the template parameter.
- CVE-2004-1769 Code injection in n/a
- CVE-2004-1770 Command injection in n/a
- CVE-2020-26098 Command injection in n/a
Sources
Also known as GHSA-xw7p-mxv9-wcvh.