CVE-2018-12613

Summary

CVECVE-2018-12613
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-06-21 20:29:00 UTC
Updated2021-11-02 17:59:00 UTC
DescriptionAn issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the "$cfg['AllowArbitraryServer'] = true" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the "$cfg['ServerDefault'] = 0" case (which bypasses the login requirement and runs the vulnerable code without any authentication).

Risk And Classification

Problem Types: CWE-287

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Phpmyadmin Phpmyadmin All All All All
Application Phpmyadmin Phpmyadmin All All All All

References

ReferenceSourceLinkTags
phpMyAdmin 4.8.1 Remote Code Execution ≈ Packet Storm MISC packetstormsecurity.com
phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (1) - PHP webapps Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
phpMyAdmin CVE-2018-12613 Remote File Inclusion Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
phpMyAdmin - Security - PMASA-2018-4 CONFIRM www.phpmyadmin.net Vendor Advisory
phpMyAdmin: Multiple vulnerabilities (GLSA 201904-16) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
phpMyAdmin - (Authenticated) Remote Code Execution (Metasploit) - PHP remote Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (2) - PHP webapps Exploit EXPLOIT-DB www.exploit-db.com Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 501151 Alpine Linux Security Update for phpmyadmin
  • 690258 Free Berkeley Software Distribution (FreeBSD) Security Update for phpmyadmin (17cb6ff3-7670-11e8-8854-6805ca0b3d42)
  • 710168 Gentoo Linux phpMyAdmin Multiple vulnerabilities (GLSA 201904-16)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report