Patchfirst
CVE-2016-5734 Public exploit EPSS 91.7%

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…

Fix:upgrade phpmyadmin to 4.6.3 or later Details ↓

Summary

The flaw is in phpMyAdmin, in its table search-and-replace implementation, where delimiters are not properly chosen to block use of the preg_replace "e" (eval) modifier in affected 4.0.x, 4.4.x and 4.6.x releases.

Official description · CVE.org

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.

Breakdown
60.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 8 years after disclosure. Public exploit code (Metasploit) was available 10 days before disclosure.

  1. Public exploit codeMetasploit10 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+8 yrs

See the family tree

3 related vulnerabilities in the same code over 3 years.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2013-4729import.php in phpMyAdmin 4.x before 4.0.4.1 does not properly…4 Jul 2013
  2. relatedMedium

    Why these are linked:

    CVE-2014-1879Cross-site scripting (XSS) vulnerability in import.php in…20 Feb 2014
  3. relatedMedium

    Why these are linked:

    This CVECVE-2016-5734phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and…3 Jul 2016

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: phpmyadmin/phpmyadmin.

Packagistphpmyadmin/phpmyadminGHSA-rv57-479x-x4qv

Upgrade to 4.6.3 or later

Set the version to 4.6.3 or later in your composer.json.

The first fix for CVE-2016-5734.

Affected versions, by release line

If you runUpgrade to
4.6.0 up to 4.6.34.6.3
4.4.15.0 up to 4.4.15.74.4.15.7
4.0.10.0 up to 4.0.10.164.0.10.16

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

6 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close