PHP file inclusion in phpMyAdmin - CVE-2018-12613

 

PHP file inclusion in phpMyAdmin - CVE-2018-12613

Published: June 21, 2018 / Updated: November 25, 2021


Vulnerability identifier: #VU13418
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2018-12613
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: phpMyAdmin
Affected software:
phpMyAdmin

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insecure handling of file path before including a php files. A remote authenticated attacker can include and execute arbitrary PHP file from a remote location. This vulnerability can be also exploited by a remote non-authenticated attacker if phpMyAdmin is configured with one of the following options:

  • $cfg['AllowArbitraryServer'] = true
  • $cfg['ServerDefault'] = 0

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.



How to mitigate CVE-2018-12613

Update to version 4.8.2.

Sources