All vulnerabilities

Servers and applications

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 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…

Severity
High 8.8
Published
21 Jun 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.8.2
Exploit chance
98% in the next 30 daysHigher than 99% of CVEs. EPSS by FIRST, 10 Nov 2026
Weakness
Improper authentication (CWE-287)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

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

From NVD.

Affected software

SoftwareAffected versions
phpMyAdminServers and applications · cpe:a:phpmyadmin:phpmyadmin
  • From 4.8.0 before 4.8.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-12613
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-12613