CVE-2011-2506
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…
Check your servers for CVE-2011-2506
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2011-2506 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Exploitation
EPSS 9.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.2% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2011-2506 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2011-2506RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2011-2506Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2011-2506
trivy image --scanners vuln IMAGE | grep CVE-2011-2506
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/ typo3.org
- http://www.phpmyadmin.net/home_page/security/PMASA-2011-6.php phpmyadmin.net
- 45292 secunia.com · third party advisory
- MDVSA-2011:124 mandriva.com · vendor advisory
- 8306 securityreason.com · third party advisory
- http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin%3Ba=commit%3Bh=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f phpmyadmin.git.sourceforge.net
- 45139 secunia.com · third party advisory
- DSA-2286 debian.org · vendor advisory
- 45315 secunia.com · third party advisory
- FEDORA-2011-9144 lists.fedoraproject.org · vendor advisory
Exploits and proof of concept
- 17514 exploit-db.com · exploit
Other references
- http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt xxor.se
- [oss-security] 20110628 CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities openwall.com · mailing list
- [oss-security] 20110628 Re: CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities openwall.com · mailing list
- [oss-security] 20110628 Re: [Phpmyadmin-security] CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities openwall.com · mailing list
- 20110707 phpMyAdmin 3.x Multiple Remote Code Executions securityfocus.com · mailing list
- 73612 osvdb.org · vdb entry
- [oss-security] 20110629 Re: CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities openwall.com · mailing list
- http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html ha.xxor.se
Source: the record CVE-2011-2506 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse