CVE-2011-2507

NameCVE-2011-2507
Descriptionlibraries/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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-2286-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
phpmyadmin (PTS)wheezy4:3.4.11.1-2+deb7u2fixed
wheezy (security)4:3.4.11.1-2+deb7u5fixed
jessie4:4.2.12-2+deb8u1fixed
jessie (security)4:4.2.12-2+deb8u2fixed
stretch, sid4:4.6.4+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
phpmyadminsource(unstable)4:3.4.3.1-1unimportant
phpmyadminsourcelenny4:2.11.8.1-5+lenny9mediumDSA-2286-1
phpmyadminsourcesqueeze4:3.3.7-6mediumDSA-2286-1

Notes

[lenny] - phpmyadmin <not-affected> (Vulnerable code not present)
neutralized by Suhosin patch

Search for package or bug name: Reporting problems