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 executes the attacker's script with the user's privileges, a different vulnerability than CVE-2004-0529.
CVSS
- Version: 2.0
- Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C
- Base score: 7.2
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 4.47%
- Percentile among all scored CVEs: 91
- Score date: 10/7/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
💥 Public exploits
Exploit code or detection templates are publicly available. This is not the same as confirmed active exploitation (KEV), but it raises the risk: patch with priority.
- Published on Exploit-DB · cPanel 5 < 9 - Local Privilege Escalation (5/24/2004)
Affected technologies (1)
CWEs
- NVD-CWE-Other
References
- http://bugzilla.cpanel.net/show_bug.cgi?id=283
- http://bugzilla.cpanel.net/show_bug.cgi?id=664
- http://www.a-squad.com/audit/explain10.html
- http://www.securiteam.com/tools/5TP0N15CUA.html
- http://www.securityfocus.com/archive/1/364112
- http://www.securityfocus.com/bid/10407
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16239
- http://bugzilla.cpanel.net/show_bug.cgi?id=283
- http://bugzilla.cpanel.net/show_bug.cgi?id=664
- http://www.a-squad.com/audit/explain10.html
- http://www.securiteam.com/tools/5TP0N15CUA.html
- http://www.securityfocus.com/archive/1/364112
- http://www.securityfocus.com/bid/10407
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16239
Raw JSON (NVD)
Show
{
"id": "CVE-2004-0490",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.2,
"accessVector": "LOCAL",
"vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
"authentication": "NONE",
"integrityImpact": "COMPLETE",
"accessComplexity": "LOW",
"availabilityImpact": "COMPLETE",
"confidentialityImpact": "COMPLETE"
},
"acInsufInfo": false,
"impactScore": 10,
"baseSeverity": "HIGH",
"obtainAllPrivilege": true,
"exploitabilityScore": 3.9,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2004-08-18T04:00:00.000",
"references": [
{
"url": "http://bugzilla.cpanel.net/show_bug.cgi?id=283",
"source": "cve@mitre.org"
},
{
"url": "http://bugzilla.cpanel.net/show_bug.cgi?id=664",
"source": "cve@mitre.org"
},
{
"url": "http://www.a-squad.com/audit/explain10.html",
"source": "cve@mitre.org"
},
{
"url": "http://www.securiteam.com/tools/5TP0N15CUA.html",
"tags": [
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/archive/1/364112",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/10407",
"tags": [
"Exploit",
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/16239",
"source": "cve@mitre.org"
},
{
"url": "http://bugzilla.cpanel.net/show_bug.cgi?id=283",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://bugzilla.cpanel.net/show_bug.cgi?id=664",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.a-squad.com/audit/explain10.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securiteam.com/tools/5TP0N15CUA.html",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/archive/1/364112",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/10407",
"tags": [
"Exploit",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/16239",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "cPanel, cuando se compila Apache 1.3.29 y PHP con la opción mod_phpsuexec, no establece la opción --enable-discard-path, lo que hace que php use la variable SCRIPT_FILENAME para ejecutar un script en lugar de la variable PATH_TRANSLATED, lo que permite a usuarios locales ejecutar código PHP de su elección como otros usuarios mediante una URL que referencia al script del atacante con los privilegios del usuario, una vulnerabilidad distinta de CAN-2004-0529."
}
],
"lastModified": "2026-06-16T22:05:44.333",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:cpanel:cpanel:5.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E5B33AE8-75A8-4454-A1A3-33F4034015FC"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:5.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E4394768-37BE-4FC5-A65A-28C0295A33B6"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:6.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DC52A018-43E8-4D86-A84C-81064B6ACD74"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:6.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2FC66D8D-01B8-4312-A311-ACAB43699071"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:6.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E892FB52-DB84-422F-ABB6-29AB95726138"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:6.4.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1FC5C591-69F3-411F-A53A-72D17687CA2E"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:6.4.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "92D81000-1A7C-4465-9EE2-E651AED09F82"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:6.4.2_stable_48:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E4B555B5-E66F-4E37-A5BC-E04CBDFA4F8B"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:7.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "09258895-32E6-49AC-8C96-D2838A0C8E6F"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3B4F9F98-08A2-430B-BC96-B30DCA165F07"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:9.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "32D546C9-674B-4683-9EC5-18156CE04B63"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:9.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1E915DEA-1BA9-429D-97D5-CA3D37C969B5"
},
{
"criteria": "cpe:2.3:a:cpanel:cpanel:9.1.0_r85:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4D9DDCBE-8A9C-44FC-8A24-47933CE057F2"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}