CVE-2012-6432: Symfony/symfony Symfony Access Control Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-89cp-fvcc-hxh7
CWE-284
Published
Advisory Summary

CVE-2012-6432 is a MODERATE symfony access control vulnerability vulnerability (CWE-284: Improper Access Control) affecting Symfony/symfony libraries in the Packagist ecosystem. The issue involves symfony access control vulnerability. Remediation is available by upgrading affected packages to version 2.1.5, 2.0.20.

CVE-2012-6432 at a Glance

CVE Identifier CVE-2012-6432
GHSA Identifier GHSA-89cp-fvcc-hxh7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Symfony/symfony
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2012-6432

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

symfony/symfony fixed: 2.1.5
Upgrade symfony/symfony to 2.1.5
symfony/symfony fixed: Latest secure release
Upgrade symfony/symfony to Latest secure release
symfony/symfony fixed: 2.0.20
Upgrade symfony/symfony to 2.0.20
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 symfony/symfony

How to Check if You Are Affected

To determine whether your application is affected by CVE-2012-6432, inspect your project dependencies for Symfony/symfony:

inspect dependencies for symfony/symfony

Analyze the terminal output to locate any version of Symfony/symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.5), 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 Symfony/symfony, 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

Symfony 2.0.x before 2.0.20, 2.1.x before 2.1.5, and 2.2-dev, when the internal routes configuration is enabled, allows remote attackers to access arbitrary services via vectors involving a URI beginning with a `/_internal` substring.

CVE-2012-6432 Affected Symfony/symfony Versions

3 component(s)
Fixed Versions:
2.1.52.0.20
Product / Package Ecosystem Affected Versions Fixed Version
symfony/symfony
Packagist
≥ 2.1.0
< 2.1.5
2.1.5
symfony/symfony
Packagist
2.2-dev
All 1 versions
2.2-dev
None specified
symfony/symfony
Packagist
≥ 2.0.0
< 2.0.20
2.0.20

References

Frequently Asked Questions

What is CVE-2012-6432?
CVE-2012-6432 is a security vulnerability in Symfony/symfony involving Symfony Access Control Vulnerability under CWE-284: Improper Access Control.
Which Symfony/symfony versions are affected?
Affected versions include releases prior to 2.1.5, 2.0.20 across affected packages: symfony/symfony.
What version fixes CVE-2012-6432?
Upgrading to 2.1.5, 2.0.20 (or the latest patched release for your respective branch) resolves the vulnerability.
Is symfony/symfony affected?
Yes, symfony/symfony is affected in releases prior to 2.1.5, Latest secure release, 2.0.20. Upgrade your dependency to 2.1.5, Latest secure release, 2.0.20 or later.
What CWE is associated with CVE-2012-6432?
CVE-2012-6432 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-2012-6432?
Run the dependency tree command: 'inspect dependencies for symfony/symfony'. 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-89cp-fvcc-hxh7",
  "modified" : "2024-02-06T16:02:10Z",
  "published" : "2022-05-17T05:17:45Z",
  "aliases" : [ "CVE-2012-6432" ],
  "summary" : "Symfony Access Control Vulnerability",
  "details" : "Symfony 2.0.x before 2.0.20, 2.1.x before 2.1.5, and 2.2-dev, when the internal routes configuration is enabled, allows remote attackers to access arbitrary services via vectors involving a URI beginning with a `/_internal` substring.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "versions" : [ "2.2-dev" ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.20"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-6432"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2012-6432.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/symfony/symfony"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/blog/security-release-symfony-2-0-20-and-2-1-5-released"
  }, {
    "type" : "WEB",
    "url" : "http://symfony.com/blog/security-release-symfony-2-0-20-and-2-1-5-released"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-15T23:43:12Z",
    "nvd_published_at" : "2012-12-27T11:47:00Z"
  }
}