7.2
CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2004-0490

First published: Thu Jun 03 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
cPanel=9.0
cPanel=6.4
cPanel=5.3
cPanel=9.1.0_r85
cPanel=5.0
cPanel=6.0
cPanel=6.4.1
cPanel=6.4.2_stable_48
cPanel=6.4.2
cPanel=8.0
cPanel=9.1
cPanel=6.2
cPanel=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2004-0490?

    The severity of CVE-2004-0490 is considered high due to its potential for local users to execute arbitrary PHP code.

  • How do I fix CVE-2004-0490?

    To fix CVE-2004-0490, ensure that you configure Apache with the --enable-discard-path option when compiling.

  • Who is affected by CVE-2004-0490?

    CVE-2004-0490 affects specific versions of cPanel, especially those prior to 9.1.

  • What type of vulnerability is CVE-2004-0490?

    CVE-2004-0490 is a local file inclusion vulnerability related to PHP execution.

  • Can CVE-2004-0490 be exploited remotely?

    CVE-2004-0490 requires local user access for exploitation, thus is not a remote attack vector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203