CVE-2018-12613

HIGH EXPLOITED IN THE WILD NUCLEI

phpMyAdmin 4.8.x <4.8.2 - Code Injection

Title source: llm

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

Exploits (9)

exploitdb WORKING POC VERIFIED
by samguy · pythonwebappsphp
https://www.exploit-db.com/exploits/50457
exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotephp
https://www.exploit-db.com/exploits/45020
exploitdb WORKING POC VERIFIED
by VulnSpy · textwebappsphp
https://www.exploit-db.com/exploits/44928
exploitdb WORKING POC VERIFIED
by ChaMd5 · textwebappsphp
https://www.exploit-db.com/exploits/44924
nomisec WORKING POC 10 stars
by 0x00-0x00 · remote-auth
https://github.com/0x00-0x00/CVE-2018-12613
nomisec WORKING POC 3 stars
by ivanitlearning · remote-auth
https://github.com/ivanitlearning/CVE-2018-12613
nomisec WRITEUP 2 stars
by eastmountyxz · poc
https://github.com/eastmountyxz/CVE-2018-12613-phpMyAdmin
vulncheck_xdb WORKING POC
remote-auth
https://github.com/filippo-zullo98/phpMyAdmin-RCE-Exploit-Lab
metasploit WORKING POC GOOD
by ChaMd5, Henry Huang, Jacob Robles · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/phpmyadmin_lfi_rce.rb

Nuclei Templates (1)

PhpMyAdmin <4.8.2 - Local File Inclusion
HIGHby pikpikcu
Shodan: http.title:"phpmyadmin" || http.component:"phpmyadmin" || cpe:"cpe:2.3:a:phpmyadmin:phpmyadmin"
FOFA: title="phpmyadmin" || body="pma_servername" && body="4.8.4"

Scores

CVSS v3 8.8
EPSS 0.9428
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

VulnCheck KEV 2022-12-06
InTheWild.io 2022-12-07
CWE
CWE-287
Status published
Products (2)
phpmyadmin/phpmyadmin 4.8 - 4.8.2Packagist
phpmyadmin/phpmyadmin 4.8.0 - 4.8.2
Published Jun 21, 2018
Tracked Since Feb 18, 2026