CVE-2018-12613
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...
- Published
- Jun 21, 2018
- Updated
- Aug 5, 2024
- Assigning CNA
- mitre
- Evidence observed
- Jun 21, 2018
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.9%
- Model date
- Oct 13, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
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).
Sources
http/cves/2018/CVE-2018-12613.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: regex,status($.matchers[*].type)
phpmyadmin/CVE-2018-12613
phpmyadmin 4.8.1 Remote File Inclusion Vulnerability (CVE-2018-12613)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/phpmyadmin:4.8.1(phpmyadmin/CVE-2018-12613/docker-compose.yml:services.web.image)
- lab image version: mysql:5.5(phpmyadmin/CVE-2018-12613/docker-compose.yml:services.mysql.image)
modules/exploits/multi/http/phpmyadmin_lfi_rce.rb
Metasploit Framework modulesDeclared conditions
- platform: PHP($.exploit_multi/http/phpmyadmin_lfi_rce.platform)
- verification: check_declared($.exploit_multi/http/phpmyadmin_lfi_rce.check)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.