CVE-2011-2507

high

Description

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.

References

https://euvd.enisa.europa.eu/vulnerability/EUVD-2011-2492

http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt

http://www.securityfocus.com/archive/1/518804/100/0/threaded

http://www.phpmyadmin.net/home_page/security/PMASA-2011-7.php

http://www.osvdb.org/73613

http://www.openwall.com/lists/oss-security/2011/06/29/11

http://www.openwall.com/lists/oss-security/2011/06/28/8

http://www.openwall.com/lists/oss-security/2011/06/28/6

http://www.openwall.com/lists/oss-security/2011/06/28/2

http://www.mandriva.com/security/advisories?name=MDVSA-2011:124

http://www.debian.org/security/2011/dsa-2286

http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/

http://securityreason.com/securityalert/8306

http://secunia.com/advisories/45315

http://secunia.com/advisories/45292

http://secunia.com/advisories/45139

http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin%3Ba=commit%3Bh=69fb0f8e7dc38075427aceaf09bcac697d0590ff

http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html

http://ha.xxor.se/2011/07/phpmyadmin-3x-pregreplace-rce-poc.html

http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html

http://0x6a616d6573.blogspot.com/2011/07/phpmyadmin-fud.html

Details

Source: Mitre, NVD

Published: 2011-07-14

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.03737