All vulnerabilities

Servers and applications

CVE-2004-0490

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…

Severity
High 7.2
Published
18 Aug 2004
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
4.5% in the next 30 daysHigher than 91% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Needs local access · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
cPanel & WHMServers and applications · cpe:a:cpanel:cpanel
  • Version 9.1.0_r85
  • Version 9.1
  • Version 9.0
  • Version 8.0
All 13 release lines
  • Version 5.0
  • Version 5.3
  • Version 6.0
  • Version 6.2
  • Version 6.4
  • Version 6.4.1
  • Version 6.4.2
  • Version 6.4.2_stable_48
  • Version 7.0
  • Version 8.0
  • Version 9.0
  • Version 9.1
  • Version 9.1.0_r85

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2004-0490
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2004-0490