CVE-2012-5657: Zendframework/zendframework1 Zend Framework XXE Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-9m5v-vq4f-mrvf
CWE-200 CWE-611
Published
Advisory Summary

CVE-2012-5657 is a MODERATE zend framework xxe vulnerability vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Zendframework/zendframework1 libraries in the Packagist ecosystem. The issue involves zend framework xxe vulnerability. Remediation is available by upgrading affected packages to version 1.11.15, 1.12.1.

CVE-2012-5657 at a Glance

CVE Identifier CVE-2012-5657
GHSA Identifier GHSA-9m5v-vq4f-mrvf
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Zendframework/zendframework1
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2012-5657

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

zendframework/zendframework1 fixed: 1.11.15
Upgrade zendframework/zendframework1 to 1.11.15
zendframework/zendframework1 fixed: 1.12.1
Upgrade zendframework/zendframework1 to 1.12.1
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 zendframework/zendframework1

How to Check if You Are Affected

To determine whether your application is affected by CVE-2012-5657, inspect your project dependencies for Zendframework/zendframework1:

inspect dependencies for zendframework/zendframework1

Analyze the terminal output to locate any version of Zendframework/zendframework1 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.15), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Zendframework/zendframework1, 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

The (1) Zend_Feed_Rss and (2) Zend_Feed_Atom classes in Zend_Feed in Zend Framework 1.11.x before 1.11.15 and 1.12.x before 1.12.1 allow remote attackers to read arbitrary files, send HTTP requests to intranet servers, and possibly cause a denial of service (CPU and memory consumption) via an XML External Entity (XXE) attack.

CVE-2012-5657 Affected Zendframework/zendframework1 Versions

2 component(s)
Fixed Versions:
1.11.151.12.1
Product / Package Ecosystem Affected Versions Fixed Version
zendframework/zendframework1
Packagist
< 1.11.15
1.11.15
zendframework/zendframework1
Packagist
≥ 1.12.0-rc1
< 1.12.1
1.12.1

References

Frequently Asked Questions

What is CVE-2012-5657?
CVE-2012-5657 is a security vulnerability in Zendframework/zendframework1 involving Zend Framework XXE Vulnerability under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Zendframework/zendframework1 versions are affected?
Affected versions include releases prior to 1.11.15, 1.12.1 across affected packages: zendframework/zendframework1.
What version fixes CVE-2012-5657?
Upgrading to 1.11.15, 1.12.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zendframework/zendframework1 affected?
Yes, zendframework/zendframework1 is affected in releases prior to 1.11.15, 1.12.1. Upgrade your dependency to 1.11.15, 1.12.1 or later.
What CWE is associated with CVE-2012-5657?
CVE-2012-5657 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for CVE-2012-5657?
Run the dependency tree command: 'inspect dependencies for zendframework/zendframework1'. 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-9m5v-vq4f-mrvf",
  "modified" : "2024-01-12T19:41:52Z",
  "published" : "2022-05-17T05:10:46Z",
  "aliases" : [ "CVE-2012-5657" ],
  "summary" : "Zend Framework XXE Vulnerability",
  "details" : "The (1) Zend_Feed_Rss and (2) Zend_Feed_Atom classes in Zend_Feed in Zend Framework 1.11.x before 1.11.15 and 1.12.x before 1.12.1 allow remote attackers to read arbitrary files, send HTTP requests to intranet servers, and possibly cause a denial of service (CPU and memory consumption) via an XML External Entity (XXE) attack.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zendframework1"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.11.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zendframework1"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.12.0-rc1"
      }, {
        "fixed" : "1.12.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-5657"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zendframework/zf1/commit/15c84914f063efea49ea1c4425459a792cc185ea"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zendframework/zf1"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20131101014013/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2013:115/?name=MDVSA-2013:115"
  }, {
    "type" : "WEB",
    "url" : "http://framework.zend.com/security/advisory/ZF2012-05"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2012/12/20/2"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2012/12/20/4"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2012/dsa-2602"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-611" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-12T19:41:52Z",
    "nvd_published_at" : "2013-05-02T14:55:00Z"
  }
}