phpMyAdmin vulnerable to static code injection
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | phpmyadmin/phpmyadmin | >= 3.0, < 3.3.10.2, >= 3.4, < 3.4.3.1 | 3.3.10.2, 3.4.3.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-2506
- https://github.com/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f
- https://github.com/phpmyadmin/phpmyadmin/commit/2e01647949df937040e73a94ce0bac0daecbdcf4
- https://github.com/phpmyadmin/composer
- https://web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt
- https://web.archive.org/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded
- https://web.archive.org/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124
- http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html
- http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f
- 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
- 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.phpmyadmin.net/home_page/security/PMASA-2011-6.php
- Weakness (CWE)
CWE-94- Platform
- Composer
- Package
phpmyadmin/phpmyadmin- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-p6h7-29r2-g88f - CC BY 4.0
Vulnerability history: phpmyadmin/phpmyadmin
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 107
- First → latest
- 01.2020 01.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 10
- High 28
- Medium 56
- Low 13
Disclosures per year
- 2020: 1
- 2021: 0
- 2022: 103
- 2023: 2
- 2024: 0
- 2025: 1
- 2026: 0
-
phpMyAdmin vulnerable to static code injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.