CVE-2016-5734: phpMyAdmin - Remote Code Execution
- Cve: CVE-2016-5734
- Name: phpMyAdmin - Remote Code Execution
- Description: 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.
- Impact: Remote attackers can execute arbitrary PHP code on the server, potentially leading to full system compromise.
- Remediation: Update to version 4.0.10.16, 4.4.15.7, 4.6.3 or later versions.
- Vulnerability type: code_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.91745
- Epss percentile: 0.99819
- Assignee: [email protected]
- Published at: 2016-07-03T01:59:24Z
- Age in days: 3796
- Modified at: 2026-06-17T00:49:57Z
- Patch available: yes
- Public exploits total: 7
- References total: 8
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-5734
- Nvd status: modified
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2024-05-10 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2016-5734 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2016/CVE-2016-5734.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.exploit-db.com/exploits/40185/ | nvd | 2016-07-03 |
| https://github.com/miko550/CVE-2016-5734-docker | poc-in-github | 2022-09-10 |
| https://github.com/miko550/CVE-2016-5734-docker.git | vulncheck-xdb | 2022-09-10 |
| https://github.com/HKirito/phpmyadmin4.4_cve-2016-5734 | poc-in-github | 2020-05-22 |
| https://github.com/HKirito/phpmyadmin4.4_cve-2016-5734.git | vulncheck-xdb | 2020-05-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b | nvd | Patch |
| https://github.com/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7 | nvd | Patch |
| https://www.phpmyadmin.net/security/PMASA-2016-27/ | nvd | Patch, Vendor Advisory |
| https://www.exploit-db.com/exploits/40185/ | nvd | Exploit, Third Party Advisory, VDB Entry |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2016/CVE-2016-5734.yaml | nuclei_template | Nuclei Template |
| https://1665891.fs1.hubspotusercontent-na1.net/hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.pdf | vulncheck | Vulncheck Reported Exploitation |
| http://www.securityfocus.com/bid/91387 | nvd | |
| https://security.gentoo.org/glsa/201701-32 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| phpmyadmin:phpmyadmin | = 4.6.2, = 4.6.1, = 4.6.0, = 4.6.0 alpha1, = 4.6.0 rc1, = 4.6.0 rc2, = 4.4.15.6, = 4.4.15.5, = 4.4.15.4, = 4.4.15.3, = 4.4.15.2, = 4.4.15.1, = 4.4.15, = 4.4.14.1, = 4.4.13.1, = 4.4.13, = 4.4.12, = 4.4.11, = 4.4.10, = 4.4.9, = 4.4.8, = 4.4.7, = 4.4.6.1, = 4.4.6, = 4.4.5, = 4.4.4, = 4.4.3, = 4.4.2, = 4.4.1.1, = 4.4.1, = 4.4.0, = 4.0.10.15, = 4.0.10.14, = 4.0.10.13, = 4.0.10.12, = 4.0.10.11, = 4.0.10.10, = 4.0.10.9, = 4.0.10.8, = 4.0.10.7, = 4.0.10.6, = 4.0.10.5, = 4.0.10.4, = 4.0.10.3, = 4.0.10.2, = 4.0.10.1, = 4.0.10, = 4.0.9, = 4.0.8, = 4.0.7, = 4.0.6, = 4.0.5, = 4.0.4.2, = 4.0.4.1, = 4.0.4, = 4.0.3, = 4.0.2, = 4.0.1, = 4.0.0 | no | nvd | /v1/products/phpmyadmin/phpmyadmin |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| phpmyadmin/phpmyadmin | commit, fix, package | yes | /v1/repositories/phpmyadmin/phpmyadmin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2024-05-10
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 7
- Public exploit first date: 2016-06-23
- Remote: yes
- Exposed hosts: 222713
- Checked, none or zero: known exploited, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports