← Vulnerability feed

Vulnerability record · CVE-2011-2506 · published 14 July 2011

CVE-2011-2506: Phpmyadmin code injection vulnerability

Phpmyadmin · Phpmyadmin

setup/lib/ConfigGenerator.class.php in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 does not properly restrict the presence of comment closing delimiters, which allows remote attackers to conduct static code injection attacks by leveraging the ability to modify the SESSION superglobal array.

7.5 CVSS 2.0 High EPSS 9.6% · top 4.7% CWE-94 · Code injection
7.5CVSS 2.0 base score
9.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
38References, 4 tagged exploit
16 Jun 2026Last modified by NVD

Description

setup/lib/ConfigGenerator.class.php in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 does not properly restrict the presence of comment closing delimiters, which allows remote attackers to conduct static code injection attacks by leveraging the ability to modify the SESSION superglobal array.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html Exploit
http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html
http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin%3Ba=commit%3Bh=0fbedaf5fd7a771d0885c6b7385d
http://secunia.com/advisories/45139 Vendor Advisory
http://secunia.com/advisories/45292
http://secunia.com/advisories/45315
http://securityreason.com/securityalert/8306
http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/
http://www.debian.org/security/2011/dsa-2286
http://www.exploit-db.com/exploits/17514/ Exploit
http://www.mandriva.com/security/advisories?name=MDVSA-2011:124
http://www.openwall.com/lists/oss-security/2011/06/28/2
http://www.openwall.com/lists/oss-security/2011/06/28/6
http://www.openwall.com/lists/oss-security/2011/06/28/8
http://www.openwall.com/lists/oss-security/2011/06/29/11
http://www.osvdb.org/73612
http://www.phpmyadmin.net/home_page/security/PMASA-2011-6.php PatchVendor Advisory
http://www.securityfocus.com/archive/1/518804/100/0/threaded
http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt
http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html Exploit
http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html
http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin%3Ba=commit%3Bh=0fbedaf5fd7a771d0885c6b7385d
http://secunia.com/advisories/45139 Vendor Advisory
http://secunia.com/advisories/45292
http://secunia.com/advisories/45315
http://securityreason.com/securityalert/8306
http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/
http://www.debian.org/security/2011/dsa-2286
http://www.exploit-db.com/exploits/17514/ Exploit
http://www.mandriva.com/security/advisories?name=MDVSA-2011:124
http://www.openwall.com/lists/oss-security/2011/06/28/2
http://www.openwall.com/lists/oss-security/2011/06/28/6
http://www.openwall.com/lists/oss-security/2011/06/28/8
http://www.openwall.com/lists/oss-security/2011/06/29/11
http://www.osvdb.org/73612
http://www.phpmyadmin.net/home_page/security/PMASA-2011-6.php PatchVendor Advisory
http://www.securityfocus.com/archive/1/518804/100/0/threaded
http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt

Track CVE-2011-2506 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2009-1151phpMyAdmin setup.php code injection enables remote PHP executionphpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 contains a static code injection flaw in setup.php. The save action lets a remote attacker w…KEVEPSS 97%analysed10.0CVE-2008-7251Phpmyadmin permissions and access controls vulnerabilitylibraries/File.class.php in phpMyAdmin 2.11.x before 2.11.10 creates a temporary directory with 0777 permissions, which has unknown impact and attack…EPSS 2.7%10.0CVE-2008-7252Phpmyadmin vulnerabilitylibraries/File.class.php in phpMyAdmin 2.11.x before 2.11.10 uses predictable filenames for temporary files, which has unknown impact and attack vect…EPSS 2.7%10.0CVE-2007-0203Phpmyadmin vulnerabilityMultiple unspecified vulnerabilities in phpMyAdmin before 2.9.2-rc1 have unknown impact and attack vectors.EPSS 1.9%10.0CVE-2004-1147Phpmyadmin vulnerabilityphpMyAdmin 2.6.0-pl2, and other versions before 2.6.1, with external transformations enabled, allows remote attackers to execute arbitrary commands v…EPSS 12%9.8CVE-2020-22452Phpmyadmin sql injection vulnerabilitySQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via the tbl_storage_engine or tbl_…EPSS 1.7%9.8CVE-2020-26935phpMyAdmin SearchController SQL injection via search featurephpMyAdmin before 4.9.6 and 5.x before 5.0.3 contains a SQL injection flaw in SearchController's handling of SQL statements in the search feature. An…EPSS 67%analysed9.8CVE-2019-19617Phpmyadmin vulnerabilityphpMyAdmin before 4.9.2 does not escape certain Git information, related to libraries/classes/Display/GitRevision.php and libraries/classes/Footer.ph…EPSS 2.6%

Source: NIST National Vulnerability Database (record CVE-2011-2506), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.