Skip to main content
← All vulnerabilities
CVE-2018-12613GHSA-X394-G9J8-X7MF

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 serve

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.8.2
5 on Exploit-DB, 1 Metasploit module, 4 proofs of concept on GitHub, 1 Nuclei template

Summary

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

Timeline

  1. Public exploit on Exploit-DB

    EDB-44924, EDB-44928, EDB-45020, EDB-45020, EDB-50457

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • phpmyadmin/phpmyadminPackagist

    From 4.8 · fixed in 4.8.2

References 17

phpmyadmin.net

Exploit-DB

securityfocus.com

security.gentoo.org

packetstormsecurity.com

GitHub · rapid7/metasploit-framework

GitHub · projectdiscovery/nuclei-templates

GitHub · 0x00-0x00/CVE-2018-12613

GitHub · CyberCTF/vulhub-phpmyadmin-cve-2018-12613

GitHub · eastmountyxz/CVE-2018-12613-phpMyAdmin

GitHub · ivanitlearning/CVE-2018-12613