Live threats

All CVEs / Drupal

CVE-2007-5416Drupal

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
4.4%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Oct 12, 2007
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-189
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Drupal.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
drupaldrupal≤ 5.2

Official sources

References

Links published by the sources. Open them with care.