Arbitrary Code Execution Affecting phpmyadmin/phpmyadmin package, versions >=4.0.0, <4.0.10.16 >=4.1.0, <4.4.15.7 >=4.5.0, <4.6.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    91.67% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-PHPMYADMINPHPMYADMIN-3021219
  • published 12 Sep 2022
  • disclosed 12 Sep 2022
  • credit Michal Čihař and Cure53

How to fix?

Upgrade phpmyadmin/phpmyadmin to version 4.0.10.16, 4.4.15.7, 4.6.3 or higher.

Overview

phpmyadmin/phpmyadmin is a web interface for MySQL and MariaDB.

Affected versions of this package are vulnerable to Arbitrary Code Execution via a crafted string. This is because it does not properly choose delimiters to prevent the use of the preg_replace function.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High