Every CVE Search/ Get API key

CVE-2011-2506

phpMyAdmin vulnerable to static code injection

7.5 HighPublic exploitFix available

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.

Exploit likelihood

9.63%Up 5.3 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2011-2506
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-94
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2011-2506
Updated
2026-11-02
EUVDEUVD-2022-4696 No score

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.

Record
EUVD-2022-4696
Updated
2026-11-03
GitHub AdvisoriesGHSA-p6h7-29r2-g88f No score

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.

Record
GHSA-p6h7-29r2-g88f
Weakness
CWE-94
Updated
2026-11-02
OSV No score

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.

Record
CVE-2011-2506
Updated
2026-11-02
OSVDEBIAN-CVE-2011-2506 No score

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.

Record
DEBIAN-CVE-2011-2506
Updated
2026-11-02
OSVGHSA-p6h7-29r2-g88f No score

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.

Record
GHSA-p6h7-29r2-g88f
Weakness
CWE-94
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
phpmyadmin/phpmyadmin
Packagist
3.0 up to 3.3.10.2
3.3.10.2
phpmyadmin/phpmyadmin
Packagist
3.4 up to 3.4.3.1
3.4.3.1
phpmyadmin
Debian:12
before 4:3.4.3.1-1
4:3.4.3.1-1
phpmyadmin
Debian:13
before 4:3.4.3.1-1
4:3.4.3.1-1
phpmyadmin
Debian:14
before 4:3.4.3.1-1
4:3.4.3.1-1
phpmyadmin
Debian:6.0
From an advisory covering 6 CVEs
before 4:3.3.7-6, plus listed versions
4:3.3.7-34:3.3.7-5
4:3.3.7-6
phpmyadmin
Debian:5.0
From an advisory covering 6 CVEs
before 4:2.11.8.1-5+lenny9, plus listed versions
4:2.11.8.1-54:2.11.8.1-5+lenny14:2.11.8.1-5+lenny34:2.11.8.1-5+lenny44:2.11.8.1-5+lenny54:2.11.8.1-5+lenny64:2.11.8.1-5+lenny74:2.11.8.1-5+lenny8
4:2.11.8.1-5+lenny9

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBphpMyAdmin3 (pma3) - Remote Code Execution2011-07-08
Exploit-DBphpMyAdmin 3.x - Swekey Remote Code Injection2011-07-09

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2011-2506 is a high vulnerability (CVSS 7.5) in Phpmyadmin, published July 14, 2011. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 9.63%, the 95th percentile. Fixed in phpmyadmin/phpmyadmin 3.3.10.2.

References

Show 23 moreShow less
MoveEnter Open