CVE-2011-2687: Drupal/core Drupal Access Control Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-96vx-qf28-6f8m
CWE-284
Published
Advisory Summary

CVE-2011-2687 is a HIGH drupal access control bypass vulnerability (CWE-284: Improper Access Control) affecting Drupal/core libraries in the Packagist ecosystem. The issue involves drupal access control bypass. Remediation is available by upgrading affected packages to version 7.3.

CVE-2011-2687 at a Glance

CVE Identifier CVE-2011-2687
GHSA Identifier GHSA-96vx-qf28-6f8m
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Drupal/core
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2011-2687

To remediate this vulnerability, upgrade all affected Drupal/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

drupal/core fixed: 7.3
Upgrade drupal/core to 7.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for drupal/core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2011-2687, inspect your project dependencies for Drupal/core:

inspect dependencies for drupal/core

Analyze the terminal output to locate any version of Drupal/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Drupal/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Drupal 7.x before 7.3 allows remote attackers to bypass intended `node_access` restrictions via vectors related to a listing that shows nodes but lacks a JOIN clause for the node table.

CVE-2011-2687 Affected Drupal/core Versions

1 component(s)
Fixed Versions:
7.3
Product / Package Ecosystem Affected Versions Fixed Version
drupal/core
Packagist
≥ 7.0
< 7.3
7.3

References

Frequently Asked Questions

What is CVE-2011-2687?
CVE-2011-2687 is a security vulnerability in Drupal/core involving Drupal Access Control Bypass under CWE-284: Improper Access Control.
Which Drupal/core versions are affected?
Affected versions include releases prior to 7.3 across affected packages: drupal/core.
What version fixes CVE-2011-2687?
Upgrading to 7.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is drupal/core affected?
Yes, drupal/core is affected in releases prior to 7.3. Upgrade your dependency to 7.3 or later.
What CWE is associated with CVE-2011-2687?
CVE-2011-2687 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Packagist dependencies for CVE-2011-2687?
Run the dependency tree command: 'inspect dependencies for drupal/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-96vx-qf28-6f8m",
  "modified" : "2024-01-19T17:29:45Z",
  "published" : "2022-05-17T04:08:31Z",
  "aliases" : [ "CVE-2011-2687" ],
  "summary" : "Drupal Access Control Bypass",
  "details" : "Drupal 7.x before 7.3 allows remote attackers to bypass intended `node_access` restrictions via vectors related to a listing that shows nodes but lacks a JOIN clause for the node table.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "drupal/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0"
      }, {
        "fixed" : "7.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-2687"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=717874"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20110710024036/http://www.securityfocus.com/bid/48505"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633385"
  }, {
    "type" : "WEB",
    "url" : "http://drupal.org/node/1204582"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062714.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062722.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2011/07/11/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2011/07/12/16"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-19T17:29:45Z",
    "nvd_published_at" : "2011-07-27T02:55:00Z"
  }
}