CVE-2011-2506 json
phpMyAdmin vulnerable to static code injection
published 2011-07-14 15 y ago modified 2026-06-16 4 mo ago also GHSA-p6h7-29r2-g88f , EUVD-2022-4696
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.6%
- EPSS 9.6% chance of exploitation in 30 days, percentile 95%
- public exploits
- 2
- Exploit-DB
Summary
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.
Patch / fix
- packagist phpmyadmin/phpmyadmin 3.3.10.2, 3.4.3.1
- phpmyadmin Debian 14, Debian 13, Debian 12 4:3.4.3.1-1
debian advisories DEBIAN-CVE-2011-2506
Timeline
- First public exploit (EDB-17510)
- Published
Exploit prediction
9.63% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-17514 phpMyAdmin 3.x - Swekey Remote Code Injection webapps, 2011-07-09
- EDB-17510 phpMyAdmin3 (pma3) - Remote Code Execution webapps, 2011-07-08
- ha.xxor.se http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmyadmin/phpmyadmin | >=3.0, <3.3.10.2 >=3.4, <3.4.3.1 |
3.3.10.2 3.4.3.1 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
phpmyadmin.net
/home_page/security/PMASA-2011-6.php
web, patch, vendor-advisory
-
github.com
/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f
web
-
github.com
/phpmyadmin/phpmyadmin/commit/2e01647949df937040e73a94ce0bac0daecbdcf4
web
-
phpmyadmin.git.sourceforge.net
/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f
web
-
exploit-db.com
/exploits/17514/
exploit
-
ha.xxor.se
/2011/07/phpmyadmin-3x-multiple-remote-code.html
web, exploit
-
mandriva.com
/security/advisories?name=MDVSA-2011:124
vendor-advisory
-
debian.org
/security/2011/dsa-2286
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2011-July/062719.html
vendor-advisory, web
-
secunia.com
/advisories/45139
third-party-advisory, vendor-advisory
- xxor.se /advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt
-
openwall.com
/lists/oss-security/2011/06/28/2
mailing-list, web
- typo3.org /teams/security/security-bulletins/typo3-sa-2011-008/
-
secunia.com
/advisories/45292
third-party-advisory
-
openwall.com
/lists/oss-security/2011/06/28/6
mailing-list, web
-
openwall.com
/lists/oss-security/2011/06/28/8
mailing-list, web
-
securityreason.com
/securityalert/8306
third-party-advisory, web
- phpmyadmin.git.sourceforge.net /git/gitweb.cgi?p=phpmyadmin/phpmyadmin%3Ba=commit%3Bh=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f
-
securityfocus.com
/archive/1/518804/100/0/threaded
mailing-list
-
osvdb.org
/73612
vdb-entry
-
openwall.com
/lists/oss-security/2011/06/29/11
mailing-list, web
-
secunia.com
/advisories/45315
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2011-2506
advisory
-
github.com
/phpmyadmin/composer
package
-
web.archive.org
/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt
web
-
web.archive.org
/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded
web
-
web.archive.org
/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124
web
-
typo3.org
/teams/security/security-bulletins/typo3-sa-2011-008
web
-
exploit-db.com
/exploits/17514
web
Sources
- CVE List CVE-2011-2506
- GitHub Advisory GHSA-p6h7-29r2-g88f
- NVD CVE-2011-2506
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.