{"id":"CVE-2016-5734","published":"2016-07-03T01:00:00Z","modified":"2024-08-06T01:08:00Z","title":"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…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:16:30Z"},"cvss":null,"epss":{"score":0.91745,"percentile":0.99819,"date":"2026-11-16","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-05-10","exploitedFirstSeen":"2024-05-10","ransomware":false,"evidence":[{"url":"https://1665891.fs1.hubspotusercontent-na1.net/hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.pdf","date":"2024-05-10"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"GitHub - nautilus-aqua/Kinsing-Indication-of-Compromise: This repo contains indication of compromise of Kinsing threat actor that were collected over a period of few years","url":"https://otx.alienvault.com/pulse/67ba26921050c137f83c3b8d","created":"2025-02-22"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/40185/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/91387","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.phpmyadmin.net/security/PMASA-2016-27/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-32","tags":["vendor-advisory","x_refsource_GENTOO"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=4.0.10.0, <4.0.10.16",">=4.4.15.0, <4.4.15.7",">=4.6.0, <4.6.3"],"patched":["4.0.10.16","4.4.15.7","4.6.3"],"from":["GHSA-rv57-479x-x4qv"],"provenance":"source"}],"advisories":[{"id":"GHSA-rv57-479x-x4qv","url":"https://github.com/advisories/GHSA-rv57-479x-x4qv","severity":"CRITICAL","ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=4.0.10.0, <4.0.10.16"],"patched":["4.0.10.16"],"provenance":"source","from":"GHSA"},{"id":"GHSA-rv57-479x-x4qv","url":"https://github.com/advisories/GHSA-rv57-479x-x4qv","severity":"CRITICAL","ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=4.4.15.0, <4.4.15.7"],"patched":["4.4.15.7"],"provenance":"source","from":"GHSA"},{"id":"GHSA-rv57-479x-x4qv","url":"https://github.com/advisories/GHSA-rv57-479x-x4qv","severity":"CRITICAL","ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=4.6.0, <4.6.3"],"patched":["4.6.3"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2016-6669","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2016-6669","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":40185,"url":"https://www.exploit-db.com/exploits/40185","title":"phpMyAdmin 4.6.2 - (Authenticated) Remote Code Execution","type":"webapps","platform":"php","date":"2016-07-29","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-07-29"},"pocGithub":{"count":1,"skipped":2,"earliest":"2022-09-10","earliestUrl":"https://github.com/miko550/CVE-2016-5734-docker","repos":[{"name":"miko550/CVE-2016-5734-docker","url":"https://github.com/miko550/CVE-2016-5734-docker","stars":1,"created":"2022-09-10"}]},"metasploit":[{"name":"phpMyAdmin Authenticated Remote Code Execution","module":"exploit/multi/http/phpmyadmin_null_termination_exec","type":"exploit","disclosureDate":"2016-06-23","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/phpmyadmin_null_termination_exec.rb"}],"nuclei":[{"id":"CVE-2016-5734","name":"phpMyAdmin 4.0.x/4.4.x/4.6.x - Authenticated Remote Code Execution","severity":"critical","path":"http/cves/2016/CVE-2016-5734.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2016/CVE-2016-5734.yaml"}],"first":{"date":"2016-06-23","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/phpmyadmin_null_termination_exec.rb"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/40185/","https://www.exploit-db.com/exploits/40185"],"flow":[],"timeline":[{"date":"2016-06-23","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2016-07-29, PoC-in-GitHub 2022-09-10","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/phpmyadmin_null_termination_exec.rb","provenance":"source"},{"date":"2016-07-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2016-5734","provenance":"source"},{"date":"2024-05-10","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://1665891.fs1.hubspotusercontent-na1.net/hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.pdf","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":60.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 920 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.96,"detail":"percentile 0.9982"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry; 1 advisory exploit reference; 1 PoC-in-GitHub repo; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-phpmyadmin-phpmyadmin-cve-2013-4729","parents":[{"from":"CVE-2013-4729","to":"CVE-2016-5734","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["import.php"],"commits":["https://github.com/phpmyadmin/phpmyadmin/commit/012464268420e53a9cd81cbb4a43988d70393c36","https://github.com/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7","https://github.com/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b"],"basis":"rarely changed file"}]},{"from":"CVE-2014-1879","to":"CVE-2016-5734","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["import.php"],"commits":["https://github.com/phpmyadmin/phpmyadmin/commit/968d5d5f486820bfa30af046f063b9f23304e14a","https://github.com/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7","https://github.com/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b"],"basis":"rarely changed file"}]}]}}