{"id":"CVE-2011-2506","aliases":["GHSA-p6h7-29r2-g88f"],"url":"https://o3.security/vulnerability/CVE-2011-2506","summary":"phpMyAdmin vulnerable to static code injection","details":"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.","published":"2011-07-14T23:55:04Z","modified":"2026-04-10T03:41:50.801289Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":4,"affectedPackages":[{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","fixedVersion":"3.3.10.2"},{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","fixedVersion":"3.4.3.1"}],"fix":{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f","label":"phpmyadmin/phpmyadmin@0fbedaf"},"references":[{"type":"ADVISORY","url":"http://secunia.com/advisories/45139"},{"type":"ADVISORY","url":"http://secunia.com/advisories/45292"},{"type":"ADVISORY","url":"http://secunia.com/advisories/45315"},{"type":"ADVISORY","url":"http://www.debian.org/security/2011/dsa-2286"},{"type":"ADVISORY","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:124"},{"type":"ADVISORY","url":"http://www.phpmyadmin.net/home_page/security/PMASA-2011-6.php"},{"type":"ADVISORY","url":"http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt"},{"type":"EVIDENCE","url":"http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html"},{"type":"EVIDENCE","url":"http://www.exploit-db.com/exploits/17514/"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html"},{"type":"WEB","url":"http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin%3Ba=commit%3Bh=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f"},{"type":"WEB","url":"http://securityreason.com/securityalert/8306"},{"type":"WEB","url":"http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2011/06/28/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2011/06/28/6"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2011/06/28/8"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2011/06/29/11"},{"type":"WEB","url":"http://www.osvdb.org/73612"},{"type":"WEB","url":"http://www.securityfocus.com/archive/1/518804/100/0/threaded"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-2506"},{"type":"WEB","url":"https://github.com/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f"},{"type":"WEB","url":"https://github.com/phpmyadmin/phpmyadmin/commit/2e01647949df937040e73a94ce0bac0daecbdcf4"},{"type":"PACKAGE","url":"https://github.com/phpmyadmin/composer"},{"type":"WEB","url":"https://web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt"},{"type":"WEB","url":"https://web.archive.org/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded"},{"type":"WEB","url":"https://web.archive.org/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124"},{"type":"WEB","url":"http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f"},{"type":"WEB","url":"http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008"},{"type":"WEB","url":"http://www.exploit-db.com/exploits/17514"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T03:41:50.801289Z"}}