Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpmyadmin/phpmyadmin
  4. ›
  5. CVE-2011-2506

CVE-2011-2506: Improper Control of Generation of Code ('Code Injection')

May 14, 2022 (updated January 15, 2024)

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.

References

  • ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html
  • lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html
  • phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f
  • securityreason.com/securityalert/8306
  • typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/
  • www.debian.org/security/2011/dsa-2286
  • www.exploit-db.com/exploits/17514/
  • www.openwall.com/lists/oss-security/2011/06/28/2
  • www.openwall.com/lists/oss-security/2011/06/28/6
  • www.openwall.com/lists/oss-security/2011/06/28/8
  • www.openwall.com/lists/oss-security/2011/06/29/11
  • www.phpmyadmin.net/home_page/security/PMASA-2011-6.php
  • github.com/advisories/GHSA-p6h7-29r2-g88f
  • github.com/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f
  • github.com/phpmyadmin/phpmyadmin/commit/2e01647949df937040e73a94ce0bac0daecbdcf4
  • nvd.nist.gov/vuln/detail/CVE-2011-2506
  • web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt
  • web.archive.org/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded
  • web.archive.org/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124

Code Behaviors & Features

Detect and mitigate CVE-2011-2506 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0 before 3.3.10.2, all versions starting from 3.4 before 3.4.3.1

Fixed versions

  • 3.3.10.2
  • 3.4.3.1

Solution

Upgrade to versions 3.3.10.2, 3.4.3.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/phpmyadmin/phpmyadmin/CVE-2011-2506.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.