CVE-2004-0490 Privilege escalation in n/a

High 7.2 Published Updated

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.

All Cpanel Cpanel vulnerabilities

Sources

Also known as GHSA-xw7p-mxv9-wcvh.

Is CVE-2004-0490 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free