Arbitrary Code Injection Affecting phpmyadmin package, versions <4:3.4.3.1-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
9.02% (95th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-PHPMYADMIN-535953
  • published14 Jul 2011
  • disclosed14 Jul 2011

Introduced: 14 Jul 2011

CVE-2011-2507  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Debian:11 phpmyadmin to version 4:3.4.3.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream phpmyadmin package and not the phpmyadmin package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

libraries/server_synchronize.lib.php in the Synchronize implementation in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 does not properly quote regular expressions, which allows remote authenticated users to inject a PCRE e (aka PREG_REPLACE_EVAL) modifier, and consequently execute arbitrary PHP code, by leveraging the ability to modify the SESSION superglobal array.

CVSS Scores

version 3.1