CVE-2018-12613
phpMyAdmin Improper Authentication
Overview
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).
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-287
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | phpmyadmin/phpmyadmin | >=4.8, <4.8.2 | 4.8.2 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | phpmyadmin | 4.8.2-r0 |
| 3.23 | phpmyadmin | 4.8.2-r0 |
| 3.24 | phpmyadmin | 4.8.2-r0 |
| edge | phpmyadmin | 4.8.2-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | phpmyadmin +2 | 5.1.1-1.2 | openSUSE-SU-2024:11171-1 |
References
- packetstormsecurity.com http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html
- www.securityfocus.com http://www.securityfocus.com/bid/104532
- github.com https://github.com/phpmyadmin/composer
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-12613
- security.gentoo.org https://security.gentoo.org/glsa/201904-16
- www.exploit-db.com https://www.exploit-db.com/exploits/44924
- www.exploit-db.com https://www.exploit-db.com/exploits/44924/
- www.exploit-db.com https://www.exploit-db.com/exploits/44928
- www.exploit-db.com https://www.exploit-db.com/exploits/44928/
- www.exploit-db.com https://www.exploit-db.com/exploits/45020
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.