CVE-2007-5416 EXPLOIT
6.8
MEDIUM · CVSS 2.0 · EPSS 4.4% (pctl 91)
Patch early
A public exploit exists.
Description
Drupal 5.2 and earlier does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by invoking the drupal_eval function through a callback parameter to the default URI, as demonstrated by the _menu[callbacks][1][callback] parameter. NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in Drupal.
Scoring
| CVSS | 6.8 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| EPSS | 4.42% — more likely to be exploited than 91% of all CVEs |
| Weakness | CWE-189 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2007-10-12 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| drupal | drupal |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Drupal 5.2 - PHP Zend Hash ation Vector | 2007-10-10 |
References
- http://securityreason.com/securityalert/3216
- http://securityvulns.ru/Sdocument137.html
- http://www.securityfocus.com/archive/1/482006/100/0/threaded
- https://www.exploit-db.com/exploits/4510
- http://securityreason.com/securityalert/3216
- http://securityvulns.ru/Sdocument137.html
- http://www.securityfocus.com/archive/1/482006/100/0/threaded
- https://www.exploit-db.com/exploits/4510
→ the Explorer · watch your stack · NVD