patchminder
Weaponized · Metasploit CVE-2016-5734

Vulnerabilityin the phpmyadmin/phpmyadmin package.

Published 3 Jul 2016 · Updated 6 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 91.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 4.0.10.16, 4.4.15.7, 4.6.3
In plain words

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 remote attackers to execute arbitrary PHP code via a crafted string, as demonstrated by the table search-and-replace implementation.

What to do now
  • Upgrade phpmyadmin/phpmyadmin (Packagist) to 4.0.10.16, 4.4.15.7, 4.6.3 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
phpmyadmin/phpmyadmin (Packagist)
4.0.10.0 to before 4.0.10.16
4.0.10.16
GitHub advisory
phpmyadmin/phpmyadmin (Packagist)
4.4.15.0 to before 4.4.15.7
4.4.15.7
GitHub advisory
phpmyadmin/phpmyadmin (Packagist)
4.6.0 to before 4.6.3
4.6.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 21 Jun 2016
    CVE ID reserved by mitre.
  2. 23 Jun 2016
    Metasploit module: phpMyAdmin Authenticated Remote Code Execution.
  3. 3 Jul 2016
    Published in the CVE List.
  4. 8 Jul 2016
    First public proof of concept on GitHub.
  5. 6 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
4 repositories
Exploit-DBEDB-ID 40185web application exploit for php, published 29 Jul 2016
GitHubno warning signs foundmiko550/CVE-2016-5734-docker1 stars · created 10 Sep 2022PhpMyAdmin 4.0.x, 4.6.2 Remote Code Execution Vulnerability (CVE-2016-5734)
GitHubno warning signs foundKosukeShimofuji/CVE-2016-57340 stars · created 8 Jul 2016
GitHubno warning signs foundHKirito/phpmyadmin4.4_cve-2016-57340 stars · created 22 May 2020
GitHubno warning signs foundJonathan1010/CVE-2016-57340 stars · created 4 Dec 2026RCE POC: scanner + exploit for CVE-2016-5734
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2016-5734: Vulnerability in the phpmyadmin/phpmyadmin package. https://patchminder.com/cve/cve-2016-5734/ (accessed 5 December 2026).