First published: Fri Oct 12 2007(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Drupal Drupal | <=5.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-5416 is considered a critical vulnerability due to its potential for remote code execution.
To fix CVE-2007-5416, upgrade Drupal to version 5.3 or later, as this issue is resolved in those releases.
CVE-2007-5416 affects Drupal versions 5.2 and earlier.
CVE-2007-5416 can facilitate remote code execution attacks allowing attackers to run arbitrary PHP code.
There is no effective workaround for CVE-2007-5416, and the best course of action is to upgrade to a secure version.