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 sc...
HighCVSS 7.2
EPSS 4.5%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- PHP
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cpanel | = 5.0; = 5.3; = 6.0; = 6.2 +9 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpanel | = 5.0 | No fix listed |
| cpanel | = 5.3 | No fix listed |
| cpanel | = 6.0 | No fix listed |
| cpanel | = 6.2 | No fix listed |
| cpanel | = 6.4 | No fix listed |
| cpanel | = 6.4.1 | No fix listed |
| cpanel | = 6.4.2 | No fix listed |
| cpanel | = 6.4.2_stable_48 | No fix listed |
| cpanel | = 7.0 | No fix listed |
| cpanel | = 8.0 | No fix listed |
| cpanel | = 9.0 | No fix listed |
| cpanel | = 9.1 | No fix listed |
| cpanel | = 9.1.0_r85 | No fix listed |
References
- bugzilla.cpanel.net
- bugzilla.cpanel.net
- www.a-squad.com
- www.securiteam.com vendor-advisory
- 20040524 cPanel mod_phpsuexec Vulnerability mailing-list
- 10407 exploit vdb-entry vendor-advisory
- cpanel-modphpsuexec-execute-commands(16239) vdb-entry