CVE-2018-12613: phpMyAdmin Improper Authentication

Published Jun 21, 2018
·
Updated

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

Affected Software

20 affected componentsFixes available
composer/phpmyadmin/phpmyadmin>=4.8<4.8.2
4.8.2
phpMyAdmin phpMyAdmin>=4.8.0<4.8.2
composer/phpmyadmin/phpmyadmin>=4.8, <4.8.2
4.8.2
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin>=4.8.0<4.8.2-r0
4.8.2-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/phpmyadmin/phpmyadmin to a version that resolves this vulnerability.

    Fixed in 4.8.2
  2. Upgrade

    Upgrade alpine/phpmyadmin to a version that resolves this vulnerability.

    Fixed in 4.8.2-r0

Event History

Jun 21, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:29 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:29 PM
DescriptionSeverityAffected Software
May 13, 2022
Advisory Published
via GitHub·01:05 AM
Data Sourced
via GitHub·01:05 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·01:05 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2018-12613?

CVE-2018-12613 is a vulnerability in phpMyAdmin version 4.8.x before 4.8.2 that allows an attacker to include and potentially execute files on the server.

2

How does CVE-2018-12613 work?

CVE-2018-12613 exploits an improper test for whitelisted pages in phpMyAdmin, allowing an attacker to redirect and load arbitrary files on the server.

3

What is the severity of CVE-2018-12613?

CVE-2018-12613 has a severity rating of 8.8 (high).

4

How can I fix CVE-2018-12613?

To fix CVE-2018-12613, upgrade to phpMyAdmin version 4.8.2 or later.

5

Where can I find more information about CVE-2018-12613?

You can find more information about CVE-2018-12613 at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203