Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2011-4107 EUVD-2022-4880GHSA-q4mm-89q2-xffg

phpMyAdmin vulnerable to XML external entity (XXE) injection attack

Published Nov 17, 2011 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 phpmyadmin 4:3.4.7.1-1 —
Debian 13 phpmyadmin 4:3.4.7.1-1 —
Debian 12 phpmyadmin 4:3.4.7.1-1 —
Debian 6.0 phpmyadmin 4:3.3.7-7 DSA-2391-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed phpMyAdmin 4.6.5.2-1.1 openSUSE-SU-2024:10054-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmyadmin/phpmyadmin >= 3.4.0, < 3.4.7.1 3.4.7.1 GHSA-q4mm-89q2-xffg
Packagist phpmyadmin/phpmyadmin >= 3.3.0, < 3.3.10.5 3.3.10.5 GHSA-q4mm-89q2-xffg

Advisories 2

References