{"cve":"CVE-2007-5416","nvd":{"published":"2007-10-12T21:17:00.000","modified":"2026-06-16T22:46:05.197","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-189"],"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"],"products":["drupal:drupal"],"source":"nvd","synced_at":"2026-10-19T19:48:28.501292361+00:00"},"epss":{"cve":"CVE-2007-5416","score":0.04418,"percentile":0.91353,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}