Live threats

All CVEs / Phpmyadmin

CVE-2018-12613Phpmyadmin

High 8.8 High EPSS

Priority
63
CVSS 3.1
8.8
EPSS
98.4%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
Published
Jun 21, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpmyadmin.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpmyadmin/phpmyadmin ≥ 4.8 < 4.8.2 4.8.2 composer require "phpmyadmin/phpmyadmin:^4.8.2"

Per OSV / GitHub Advisories (GHSA-x394-g9j8-x7mf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
phpmyadminphpmyadmin≥ 4.8.0 < 4.8.2

Official sources

References

Links published by the sources. Open them with care.