CVE-2011-4107: Phpmyadmin/phpmyadmin PhpMyAdmin Vulnerable To XML External Vulnerability

MODERATE
Advisory Identifier: GHSA-q4mm-89q2-xffg
CVSS 6.5
CWE-200 CWE-611
Published
Advisory Summary

CVE-2011-4107 is a MODERATE (CVSS 6.5) phpmyadmin vulnerable to xml external vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Phpmyadmin/phpmyadmin libraries in the Packagist ecosystem. The issue involves phpmyadmin vulnerable to xml external entity (xxe) injection attack. Remediation is available by upgrading affected packages to version 3.3.10.5, 3.4.7.1.

CVE-2011-4107 at a Glance

CVE Identifier CVE-2011-4107
GHSA Identifier GHSA-q4mm-89q2-xffg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Phpmyadmin/phpmyadmin
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2011-4107

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

phpmyadmin/phpmyadmin fixed: 3.3.10.5
Upgrade phpmyadmin/phpmyadmin to 3.3.10.5
phpmyadmin/phpmyadmin fixed: 3.4.7.1
Upgrade phpmyadmin/phpmyadmin to 3.4.7.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 phpmyadmin/phpmyadmin

How to Check if You Are Affected

To determine whether your application is affected by CVE-2011-4107, inspect your project dependencies for Phpmyadmin/phpmyadmin:

inspect dependencies for phpmyadmin/phpmyadmin

Analyze the terminal output to locate any version of Phpmyadmin/phpmyadmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.10.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-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 Phpmyadmin/phpmyadmin, 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 `simplexml_load_string` function in the XML import plug-in (`libraries/import/xml.php`) in phpMyAdmin 3.4.x before 3.4.7.1 and 3.3.x before 3.3.10.5 allows remote authenticated users to read arbitrary files via XML data containing external entity references, aka an XML external entity (XXE) injection attack.

CVE-2011-4107 Affected Phpmyadmin/phpmyadmin Versions

2 component(s)
Fixed Versions:
3.3.10.53.4.7.1
Product / Package Ecosystem Affected Versions Fixed Version
phpmyadmin/phpmyadmin
Packagist
≥ 3.3.0
< 3.3.10.5
3.3.10.5
phpmyadmin/phpmyadmin
Packagist
≥ 3.4.0
< 3.4.7.1
3.4.7.1

References

NVD — CVE-2011-4107 NVD
https://nvd.nist.gov/vuln/detail/CVE-2011-4107
Security Fix Commit FIX COMMIT
https://github.com/phpmyadmin/phpmyadmin/commit/2fbf631384fd8cded55f4500cb87b129442f9ed2
Security Fix Commit FIX COMMIT
https://github.com/phpmyadmin/phpmyadmin/commit/34d99de000de9d15cfdf5e9cc8b7682d51110bbd
Security Fix Commit FIX COMMIT
https://github.com/phpmyadmin/phpmyadmin/commit/5fa86b8e81565c15ddbc359e8f59ecd829a2b717
Security Fix Commit FIX COMMIT
https://github.com/phpmyadmin/phpmyadmin/commit/a5e206fbd2ca814042cfc1bb7dd3b40c28ce3fb5
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=751112
exchange.xforce.ibmcloud.com/vulnerabilities/711... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/71108
Phpmyadmin/phpmyadmin Source Repository REPOSITORY
https://github.com/phpmyadmin/phpmyadmin
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069625.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069635.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069649.html
Phpmyadmin/phpmyadmin Security Information SECURITY
http://packetstormsecurity.org/files/view/106511/phpmyadmin-fileread.txt
seclists.org/fulldisclosure/2011... WEB
http://seclists.org/fulldisclosure/2011/Nov/21
Phpmyadmin/phpmyadmin Security Information SECURITY
http://securityreason.com/securityalert/8533
Phpmyadmin/phpmyadmin Security Information SECURITY
http://www.debian.org/security/2012/dsa-2391
Phpmyadmin/phpmyadmin Security Information SECURITY
http://www.openwall.com/lists/oss-security/2011/11/03/3
Phpmyadmin/phpmyadmin Security Information SECURITY
http://www.openwall.com/lists/oss-security/2011/11/03/5
Phpmyadmin/phpmyadmin Security Information SECURITY
http://www.phpmyadmin.net/home_page/security/PMASA-2011-17.php

Frequently Asked Questions

What is CVE-2011-4107?
CVE-2011-4107 is a security vulnerability in Phpmyadmin/phpmyadmin involving phpMyAdmin vulnerable to XML external entity (XXE) injection attack under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Phpmyadmin/phpmyadmin versions are affected?
Affected versions include releases prior to 3.3.10.5, 3.4.7.1 across affected packages: phpmyadmin/phpmyadmin.
What version fixes CVE-2011-4107?
Upgrading to 3.3.10.5, 3.4.7.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is phpmyadmin/phpmyadmin affected?
Yes, phpmyadmin/phpmyadmin is affected in releases prior to 3.3.10.5, 3.4.7.1. Upgrade your dependency to 3.3.10.5, 3.4.7.1 or later.
What is the CVSS score of CVE-2011-4107?
CVE-2011-4107 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2011-4107?
CVE-2011-4107 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-2011-4107?
Run the dependency tree command: 'inspect dependencies for phpmyadmin/phpmyadmin'. 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-q4mm-89q2-xffg",
  "modified" : "2024-02-09T16:27:57Z",
  "published" : "2022-05-17T01:52:29Z",
  "aliases" : [ "CVE-2011-4107" ],
  "summary" : "phpMyAdmin vulnerable to XML external entity (XXE) injection attack",
  "details" : "The `simplexml_load_string` function in the XML import plug-in (`libraries/import/xml.php`) in phpMyAdmin 3.4.x before 3.4.7.1 and 3.3.x before 3.3.10.5 allows remote authenticated users to read arbitrary files via XML data containing external entity references, aka an XML external entity (XXE) injection attack.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "phpmyadmin/phpmyadmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.4.0"
      }, {
        "fixed" : "3.4.7.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "phpmyadmin/phpmyadmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.0"
      }, {
        "fixed" : "3.3.10.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4107"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/phpmyadmin/phpmyadmin/commit/2fbf631384fd8cded55f4500cb87b129442f9ed2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/phpmyadmin/phpmyadmin/commit/34d99de000de9d15cfdf5e9cc8b7682d51110bbd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/phpmyadmin/phpmyadmin/commit/5fa86b8e81565c15ddbc359e8f59ecd829a2b717"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/phpmyadmin/phpmyadmin/commit/a5e206fbd2ca814042cfc1bb7dd3b40c28ce3fb5"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=751112"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/71108"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/phpmyadmin/phpmyadmin"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069625.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069635.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069649.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.org/files/view/106511/phpmyadmin-fileread.txt"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2011/Nov/21"
  }, {
    "type" : "WEB",
    "url" : "http://securityreason.com/securityalert/8533"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2012/dsa-2391"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2011/11/03/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2011/11/03/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.phpmyadmin.net/home_page/security/PMASA-2011-17.php"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-611" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-09T16:27:56Z",
    "nvd_published_at" : "2011-11-17T19:55:00Z"
  }
}