CVE-2018-12613

Exp

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

Published: 2018-06-21 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-12613 is rated High Exploit Risk (85.2/100): CVSS High severity, with high exploitation likelihood (EPSS 94.26%, 100th percentile). Core evidence: 7 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-12613

EDB-ID Source Kind Published Link
50457 exploit_db edb 2021-10-25 Exploit-DB ↗
45020 exploit_db edb 2018-07-13 Exploit-DB ↗
44928 exploit_db edb 2018-06-22 Exploit-DB ↗
44924 exploit_db edb 2018-06-21 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-12613

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-01-04 94.25% 94.26% +0.02%
2 2026-01-01 94.26% 94.25% -0.02%
3 2025-12-04 94.26%

Full EPSS history (34 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-12613

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]
6.5 2.0 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.0 6.4 [email protected]

Weakness enumeration for CVE-2018-12613

GitHub Security Advisory for CVE-2018-12613

GHSA-x394-g9j8-x7mf · Severity: high · Ecosystem: composer — phpMyAdmin Improper Authentication

OS Trackers for CVE-2018-12613

vendor priority summary link
alpine high CVE-2018-12613: 1 source package rows (phpmyadmin); 10 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 3. https://security.alpinelinux.org/vuln/CVE-2018-12613
debian unimportant CVE-2018-12613 unimportant priority: Debian including 1 source packages (phpmyadmin), 4 status rows across 4 suites (bookworm, bullseye, sid, trixie): resolved 4. https://security-tracker.debian.org/tracker/CVE-2018-12613
gentoo normal CVE-2018-12613: 1 GLSA(s) (201904-16), 1 atom(s) (dev-db/phpmyadmin); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-12613
ubuntu medium CVE-2018-12613 medium priority: Ubuntu including 1 source packages (phpmyadmin), 5 status rows across 5 suites (artful, bionic, trusty, upstream, xenial): not-affected 3, ignored 1, released 1. https://ubuntu.com/security/CVE-2018-12613

Affected software / configurations for CVE-2018-12613

Vendor Product Version Raw CPE
phpmyadmin phpmyadmin >= 4.8.0, < 4.8.2 cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*

References for CVE-2018-12613

URL Tags
http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html Exploit Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/104532 Third Party Advisory VDB Entry
https://security.gentoo.org/glsa/201904-16 Third Party Advisory
https://www.exploit-db.com/exploits/44924/ Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/44928/ Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/45020/ Exploit Third Party Advisory VDB Entry
https://www.phpmyadmin.net/security/PMASA-2018-4/ Vendor Advisory
cvelogic Threat Intelligence