CVEfocus › CVE database › CVE-2018-12613

CVE-2018-12613

CVSS 8.8 HighEPSS 98.4% (in the top 1% of all CVEs)Published 2018-06-21Updated 2024-08-05Assigner: mitre

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

What to do

Likely to be exploited: EPSS gives a 98% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Packagist: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04phpmyadminNot affected
vulnerable_code_not_present
Alpine Linux 3.24phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.23phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.22phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.21phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.20phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.19phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.18phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.17phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.16phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.15phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.14phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.13phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.12phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.11phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.10phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.9phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Alpine Linux 3.8phpmyadminFixed4.8.2-r0ALPINE-CVE-2018-12613
Packagist libraryphpmyadmin/phpmyadminFixed4.8.2GHSA-x394-g9j8-x7mf

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.