CVE-2016-5734
phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not properly choose delimiters to prevent use of the preg_replace e (aka eval) modifier, which might allow remo...
CVE-2016-5734 is a code injection in Packagist phpmyadmin/phpmyadmin (CVSS 9.8, Critical).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 4.0.10.16.
Public exploit: 2 sourcesFix4.0.10.16Upgrade to this build
e.g. phpMyAdmin 4.0.x/4.4.x/4.6.x - Authenticated Remote Code Execution · OID 1.3.6.1.4.1.25623.1.0.808241
What to do
Find your product and version, then upgrade to the build on the right.
- Packagist phpmyadmin/phpmyadminAffected: ≥ 4.0.10.0, < 4.0.10.16Upgrade to: 4.0.10.16Stated by: GitHub advisory
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check which version of phpMyAdmin your site or server is running.
- If it's phpMyAdmin 4.0.x, 4.4.x, or 4.6.x below the patched versions, treat it as vulnerable.
- Upgrade to phpMyAdmin 4.0.10.16, 4.4.15.7, or 4.6.3 (or newer) depending on which branch you use.
- Restart the web service after upgrading and confirm the new version is active.
- If you can't upgrade immediately, restrict access to phpMyAdmin to trusted IPs or a VPN until you do.
composer require phpmyadmin/phpmyadmin:^4.6.3What it is
From the CVE record
phpMyAdmin Code Injection vulnerability
In plain language
Written by AI from the recordThis is a serious flaw in phpMyAdmin (the web tool many small businesses use to manage their database) that could let an attacker run commands on your server, and because working attack code is publicly available, you should fix it now.
Unauthenticated remote code execution in phpMyAdmin 4.0.x/4.4.x/4.6.x caused by unsafe use of the preg_replace() 'e' (eval) modifier (CWE-94), allowing arbitrary PHP code injection via crafted input.
If you're affected
- Full server takeover
- Customer/database data exposure
- Website defacement
- Operational disruption
- Ransomware risk
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
92% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
A public exploit existed 61 days before the patch.
- EPSS band changehigh → criticalepss band change, nuclei check added
- OpenVAS check added
- Patch availablerecord updated
- Public exploit / PoCsource: exploit-db
- Publishedweakness classified, att&ck mapped
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
Questions about CVE-2016-5734
- Is CVE-2016-5734 being exploited?
- Not confirmed. Public exploit code exists (2 sources), but CVE-2016-5734 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 92%.
- Which versions are affected by CVE-2016-5734?
- Phpmyadmin/phpmyadmin: ≥ 4.0.10.0, < 4.0.10.16.
- How do I fix or mitigate CVE-2016-5734?
- Upgrade to 4.0.10.16 or later. The advisory is on phpmyadmin.net.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Phpmyadmin/phpmyadmin, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI