CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2007 · Drupal

CVE-2007-5416
Drupal vulnerability

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.

Affected products

Drupal. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Drupal runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Drupal products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.