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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.52% (92nd 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 Learn

Learn about Improper Control of Generation of Code ('Code Injection') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PHPMYADMINPHPMYADMIN-6673808
  • published25 Apr 2024
  • disclosed17 May 2022
  • creditEmanuel Bronshtein

Introduced: 17 May 2022

CVE-2016-6633  (opens in a new tab)
CWE-94  (opens in a new tab)

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.