CVE-2018-12613

Public Exploit

Description

An 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).

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 94.02% Top 5%
Vendor Advisory gentoo.org Vendor Advisory phpmyadmin.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://www.phpmyadmin.net/security/PMASA-2018-4/ vendor advisory
https://www.exploit-db.com/exploits/45020/ exploit vdb entry third party advisory
http://www.securityfocus.com/bid/104532 vdb entry third party advisory
https://www.exploit-db.com/exploits/44924/ exploit vdb entry third party advisory
https://www.exploit-db.com/exploits/44928/ exploit vdb entry third party advisory
https://security.gentoo.org/glsa/201904-16 third party advisory vendor advisory
http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html exploit vdb entry third party advisory

Frequently Asked Questions

What is the severity of CVE-2018-12613?
CVE-2018-12613 has been scored as a high severity vulnerability.
How to fix CVE-2018-12613?
To fix CVE-2018-12613, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-12613 being actively exploited in the wild?
It is possible that CVE-2018-12613 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~94% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.