High severityNVD Advisory· Published Aug 21, 2013· Updated Apr 29, 2026
CVE-2013-4701
CVE-2013-4701
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openid/php-openidPackagist | < 2.3.0 | 2.3.0 |
typo3/cmsPackagist | >= 6.2.0, < 6.2.6 | 6.2.6 |
Affected products
1Patches
1625c16bb28bbdisable external XML entities and libxml errors
1 file changed · +8 −1
Auth/Yadis/XML.php+8 −1 modified@@ -234,7 +234,14 @@ function setXML($xml_string) return false; } - if (!@$this->doc->loadXML($xml_string)) { + // disable external entities and libxml errors + $loader = libxml_disable_entity_loader(true); + $errors = libxml_use_internal_errors(true); + $parse_result = @$this->doc->loadXML($xml_string); + libxml_disable_entity_loader($loader); + libxml_use_internal_errors($errors); + + if (!$parse_result) { return false; }
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
10- github.com/openid/php-openid/commit/625c16bb28bb120d262b3f19f89c2c06cb9b0da9nvdExploitPatchWEB
- github.com/advisories/GHSA-5qp6-78pr-gv8cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2013-4701ghsaADVISORY
- jvn.jp/en/jp/JVN24713981/index.htmlnvdWEB
- jvndb.jvn.jp/jvndb/JVNDB-2013-000080nvdWEB
- lists.opensuse.org/opensuse-security-announce/2016-08/msg00028.htmlnvdWEB
- lists.opensuse.org/opensuse-updates/2016-08/msg00083.htmlnvdWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/openid/php-openid/CVE-2013-4701.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2013-4701.yamlghsaWEB
- typo3.org/security/advisory/typo3-core-sa-2014-002ghsaWEB
News mentions
0No linked articles in our index yet.