Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Phpmyadmin | Phpmyadmin | >= 4.8.0, < 4.8.2 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-ExecutiExploitThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/104532Third Party AdvisoryVDB Entry
- https://security.gentoo.org/glsa/201904-16Third Party Advisory
- https://www.exploit-db.com/exploits/44924/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/44928/Third Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/45020/ExploitThird Party AdvisoryVDB Entry
- https://www.phpmyadmin.net/security/PMASA-2018-4/Vendor Advisory
- http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-ExecutiExploitThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/104532Third Party AdvisoryVDB Entry
- https://security.gentoo.org/glsa/201904-16Third Party Advisory
- https://www.exploit-db.com/exploits/44924/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/44928/Third Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/45020/ExploitThird Party AdvisoryVDB Entry
- https://www.phpmyadmin.net/security/PMASA-2018-4/Vendor Advisory
FAQ
What is CVE-2018-12613?
CVE-2018-12613 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 page...
How severe is CVE-2018-12613?
CVE-2018-12613 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-12613?
Check the references section above for vendor advisories and patch information. Affected products include: Phpmyadmin Phpmyadmin.