Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpmyadmin/phpmyadmin
  4. ›
  5. CVE-2016-5734

CVE-2016-5734: phpMyAdmin Code Injection vulnerability

May 17, 2022 (updated April 14, 2025)

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.

References

  • github.com/advisories/GHSA-rv57-479x-x4qv
  • github.com/phpmyadmin/phpmyadmin
  • github.com/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b
  • github.com/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7
  • nvd.nist.gov/vuln/detail/CVE-2016-5734
  • security.gentoo.org/glsa/201701-32
  • web.archive.org/web/20200227223418/http://www.securityfocus.com/bid/91387
  • www.exploit-db.com/exploits/40185
  • www.phpmyadmin.net/security/PMASA-2016-27

Code Behaviors & Features

Detect and mitigate CVE-2016-5734 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.10.0 before 4.0.10.16, all versions starting from 4.4.15.0 before 4.4.15.7, all versions starting from 4.6.0 before 4.6.3

Fixed versions

  • 4.0.10.16
  • 4.4.15.7
  • 4.6.3

Solution

Upgrade to versions 4.0.10.16, 4.4.15.7, 4.6.3 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/phpmyadmin/phpmyadmin/CVE-2016-5734.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.