Improper Control of Generation of Code ('Code Injection') Affecting phpmyadmin/phpmyadmin package, versions >=4.0, <4.0.10.17 >=4.4, <4.4.15.8 >=4.6, <4.6.4


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 5.13% (93rd percentile)
Expand this section
NVD
8.1 high

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-6673808
  • published 25 Apr 2024
  • disclosed 17 May 2022
  • credit Emanuel Bronshtein

How to fix?

Upgrade phpmyadmin/phpmyadmin to version 4.0.10.17, 4.4.15.8, 4.6.4 or higher.

Overview

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

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') due to the way PHP installations with the dbase extension handle input. An attacker can execute arbitrary code on the server by crafting malicious input.

Note: This doesn't compile with PHP7.