CVE-2018-19968
An attacker can exploit phpMyAdmin before 4.8.4 to leak the contents of a local file because of an error in the transformation feature. The attacker must have access to the phpMyAdmin Configuration Storage tables, although these can easily be created in any database to which the attacker has access. An attacker must have valid credentials to log in to phpMyAdmin; this vulnerability does not allow an attacker to circumvent the login system.
What to do
Fixed builds are available from Alpine, Debian, Packagist, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | phpmyadmin | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | phpmyadmin | Fixed | 4:4.6.6-5ubuntu0.5 | UBUNTU-CVE-2018-19968 |
| Ubuntu 16.04 | phpmyadmin | Fix pending | 4:4.5.4.1-2ubuntu2.1+esm6 (Ubuntu Pro) | UBUNTU-CVE-2018-19968 |
| Ubuntu 14.04 | phpmyadmin | Fix pending | 4:4.0.10-1ubuntu0.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2018-19968 |
| Debian 14 | phpmyadmin | Fixed | 4:4.9.1+dfsg1-2 | DEBIAN-CVE-2018-19968 |
| Debian 13 | phpmyadmin | Fixed | 4:4.9.1+dfsg1-2 | DEBIAN-CVE-2018-19968 |
| Debian 12 | phpmyadmin | Fixed | 4:4.9.1+dfsg1-2 | DEBIAN-CVE-2018-19968 |
| Alpine Linux 3.24 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.23 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.22 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.21 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.20 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.19 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.18 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.17 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.16 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.15 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.14 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.13 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.12 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.11 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.10 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.9 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Alpine Linux 3.8 | phpmyadmin | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-19968 |
| Packagist library | phpmyadmin/phpmyadmin | Fixed | 4.8.4 | GHSA-xc97-r49q-cxgc |
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:
- https://security.gentoo.org/glsa/201904-16 (vendor-advisory)
References
- http://www.securityfocus.com/bid/106178
- https://www.phpmyadmin.net/security/PMASA-2018-6/
- https://lists.debian.org/debian-lts-announce/2019/02/msg00003.html
- https://security.gentoo.org/glsa/201904-16
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.