Menu

Star on GitHub · 3.2k

CVE-2007-5416

6.8 · MEDIUM

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…

Published Oct 12, 2007drupalCWE-189EPSS 4.42%

Overview

CVE-2007-5416 is a medium-severity vulnerability affecting drupal drupal. It was published on October 12, 2007 and has a CVSS 2.0 base score of 6.8 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 6.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from drupal. Update drupal to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
drupaldrupal0Affected

Frequently asked questions

What is CVE-2007-5416?

CVE-2007-5416 is a medium-severity vulnerability affecting drupal drupal. It was published on October 12, 2007 and has a CVSS 2.0 base score of 6.8 (MEDIUM).

How severe is CVE-2007-5416?

This vulnerability has a CVSS 2.0 base score of 6.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2007-5416?

Check the references section for vendor advisories and patches from drupal. Update drupal to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2007-5416?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2007-5416 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2007

View all