CVE-2013-4701: Openid/php openid Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-5qp6-78pr-gv8c
CWE-400
Published
Advisory Summary

CVE-2013-4701 is a HIGH denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Openid/php openid libraries in the Packagist ecosystem. The issue involves php openid library denial of service vulnerability. Remediation is available by upgrading affected packages to version 2.3.0, 6.2.6.

CVE-2013-4701 at a Glance

CVE Identifier CVE-2013-4701
GHSA Identifier GHSA-5qp6-78pr-gv8c
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Openid/php openid
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2013-4701

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

openid/php-openid fixed: 2.3.0
Upgrade openid/php-openid to 2.3.0
typo3/cms fixed: 6.2.6
Upgrade typo3/cms to 6.2.6
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 openid/php-openid

How to Check if You Are Affected

To determine whether your application is affected by CVE-2013-4701, inspect your project dependencies for Openid/php openid:

inspect dependencies for openid/php-openid

Analyze the terminal output to locate any version of Openid/php openid in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.0), 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Openid/php openid, 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

Auth/Yadis/XML.php in PHP OpenID Library 2.2.2 and earlier allows remote attackers to read arbitrary files, send HTTP requests to intranet servers, or cause a denial of service (CPU and memory consumption) via XRDS data containing an external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

CVE-2013-4701 Affected Openid/php openid Versions

2 component(s)
Fixed Versions:
2.3.06.2.6
Product / Package Ecosystem Affected Versions Fixed Version
openid/php-openid
Packagist
< 2.3.0
2.3.0
typo3/cms
Packagist
≥ 6.2.0
< 6.2.6
6.2.6

References

Frequently Asked Questions

What is CVE-2013-4701?
CVE-2013-4701 is a security vulnerability in Openid/php openid involving PHP OpenID Library Denial of Service vulnerability under CWE-400: Uncontrolled Resource Consumption.
Which Openid/php openid versions are affected?
Affected versions include releases prior to 2.3.0, 6.2.6 across affected packages: openid/php-openid, typo3/cms.
What version fixes CVE-2013-4701?
Upgrading to 2.3.0, 6.2.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openid/php-openid affected?
Yes, openid/php-openid is affected in releases prior to 2.3.0. Upgrade your dependency to 2.3.0 or later.
Is typo3/cms affected?
Yes, typo3/cms is affected in releases prior to 6.2.6. Upgrade your dependency to 6.2.6 or later.
What CWE is associated with CVE-2013-4701?
CVE-2013-4701 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Packagist dependencies for CVE-2013-4701?
Run the dependency tree command: 'inspect dependencies for openid/php-openid'. 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-5qp6-78pr-gv8c",
  "modified" : "2023-08-29T18:03:31Z",
  "published" : "2022-05-17T03:46:28Z",
  "aliases" : [ "CVE-2013-4701" ],
  "summary" : "PHP OpenID Library Denial of Service vulnerability",
  "details" : "Auth/Yadis/XML.php in PHP OpenID Library 2.2.2 and earlier allows remote attackers to read arbitrary files, send HTTP requests to intranet servers, or cause a denial of service (CPU and memory consumption) via XRDS data containing an external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "openid/php-openid"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.2.0"
      }, {
        "fixed" : "6.2.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4701"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openid/php-openid/commit/625c16bb28bb120d262b3f19f89c2c06cb9b0da9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/openid/php-openid/CVE-2013-4701.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2013-4701.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openid/php-openid"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/security/advisory/typo3-core-sa-2014-002"
  }, {
    "type" : "WEB",
    "url" : "http://jvn.jp/en/jp/JVN24713981/index.html"
  }, {
    "type" : "WEB",
    "url" : "http://jvndb.jvn.jp/jvndb/JVNDB-2013-000080"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00028.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2016-08/msg00083.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-29T18:03:31Z",
    "nvd_published_at" : "2013-08-21T16:55:00Z"
  }
}