CVE-2011-4107
phpMyAdmin vulnerable to XML external entity (XXE) injection attack
Also known as EDB-18371, GHSA-q4mm-89q2-xffg
Mitigation
- Upgrade phpmyadmin/phpmyadmin to one of 3.4.7.1, 3.3.10.5 (or later in the same release line).
Who should check
- Projects that depend on Packagist package phpmyadmin/phpmyadmin (>= 3.4.0, < 3.4.7.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- phpmyadmin/phpmyadmin >= 3.4.0, < 3.4.7.1
- Fixed in
- 3.4.7.1, 3.3.10.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 12.68% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-611
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist phpmyadmin/phpmyadmin | >= 3.4.0, < 3.4.7.1 | 3.4.7.1, 3.3.10.5 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2011-4107. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2011-4107.md Affected: phpmyadmin/phpmyadmin >= 3.4.0, < 3.4.7.1 Fixed in: 3.4.7.1, 3.3.10.5 Steps: 1. Search this machine and project for phpmyadmin/phpmyadmin (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://secunia.com/advisories/46447
- http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069635.html
- http://www.debian.org/security/2012/dsa-2391
- http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069649.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:198
- http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069625.html
- https://nvd.nist.gov/vuln/detail/CVE-2011-4107
Patches
- http://www.phpmyadmin.net/home_page/security/PMASA-2011-17.php
- https://github.com/phpmyadmin/phpmyadmin/commit/2fbf631384fd8cded55f4500cb87b129442f9ed2
- https://github.com/phpmyadmin/phpmyadmin/commit/34d99de000de9d15cfdf5e9cc8b7682d51110bbd
- https://github.com/phpmyadmin/phpmyadmin/commit/5fa86b8e81565c15ddbc359e8f59ecd829a2b717
- https://github.com/phpmyadmin/phpmyadmin/commit/a5e206fbd2ca814042cfc1bb7dd3b40c28ce3fb5
Exploits and PoCs
Other
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71108
- http://osvdb.org/76798
- http://www.openwall.com/lists/oss-security/2011/11/03/5
- http://www.securityfocus.com/bid/50497
- http://securityreason.com/securityalert/8533
- http://www.openwall.com/lists/oss-security/2011/11/03/3
- https://github.com/phpmyadmin/phpmyadmin
FAQ
Is CVE-2011-4107 being exploited?
There is no confirmed exploitation: CVE-2011-4107 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 12.68% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2011-4107?
Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, login needed.
Which versions are affected by CVE-2011-4107?
phpmyadmin/phpmyadmin >= 3.4.0, < 3.4.7.1.
Is there a fix for CVE-2011-4107?
Yes. Fixed in 3.4.7.1, 3.3.10.5. Upgrade phpmyadmin/phpmyadmin to one of 3.4.7.1, 3.3.10.5 (or later in the same release line).
How do I check if I'm affected by CVE-2011-4107?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.