{"id":"CVE-2007-5416","aliases":["EUVD-2007-5392","GHSA-6x23-g67f-x44h"],"status":"published","title":"Drupal 5.2 and earlier does not properly unset variables when the input data includes a numeric...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04418,"percentile":0.91415,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-189"],"published":"2007-10-12T21:00:00Z","modified":"2026-06-16T22:46:05Z","exploits":[{"source":"exploitdb","id":"EDB-4510","title":"Drupal 5.2 - PHP Zend Hash ation Vector","type":"webapps","platform":"php","date":"2007-10-10","verified":true,"url":"https://www.exploit-db.com/exploits/4510"}],"products":[{"vendor":"drupal","product":"drupal"}],"references":[{"url":"http://www.securityfocus.com/archive/1/482006/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://securityreason.com/securityalert/3216","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://securityvulns.ru/Sdocument137.html","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"https://www.exploit-db.com/exploits/4510","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5416"},{"url":"https://github.com/advisories/GHSA-6x23-g67f-x44h"}],"sources":{"cve":[{"id":"CVE-2007-5416","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.","status":"published","published":"2007-10-12T21:00:00Z","modified":"2024-08-07T15:31:57.976Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5392","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.","status":"published","published":"2007-10-12T21:00:00Z","modified":"2024-08-07T15:31:57Z","updated_at":"2026-11-03T01:16:17.784694Z"}],"ghsa":[{"id":"GHSA-6x23-g67f-x44h","title":"Drupal 5.2 and earlier does not properly unset variables when the input data includes a numeric...","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.","status":"published","published":"2022-05-01T18:33:07Z","modified":"2023-01-31T05:05:20Z","updated_at":"2026-11-02T14:48:50.036667Z"}],"nvd":[{"id":"CVE-2007-5416","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.","status":"published","published":"2007-10-12T21:17:00Z","modified":"2026-06-16T22:46:05.197Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:01:22.203764Z"}]}}
