Vulnerability Name:

CVE-2011-2506 (CCN-68373)

Assigned:2011-07-03
Published:2011-07-03
Updated:2018-10-09
Summary: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.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
5.9 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
5.9 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-94
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2011-2506

Source: MISC
Type: Exploit
http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html

Source: FEDORA
Type: UNKNOWN
FEDORA-2011-9144

Source: CONFIRM
Type: Patch
http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f

Source: CCN
Type: SA45128
TYPO3 phpMyAdmin Extension Multiple Vulnerabilities

Source: CCN
Type: SA45139
phpMyAdmin Multiple Vulnerabilities

Source: SECUNIA
Type: Vendor Advisory
45139

Source: SECUNIA
Type: UNKNOWN
45292

Source: SECUNIA
Type: UNKNOWN
45315

Source: SREASON
Type: UNKNOWN
8306

Source: CCN
Type: TYPO3-SA-2011-008
Directory Traversal and Code Injection vulnerability in extension phpMyAdmin (phpmyadmin)

Source: CONFIRM
Type: UNKNOWN
http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/

Source: DEBIAN
Type: UNKNOWN
DSA-2286

Source: DEBIAN
Type: DSA-2286
phpymadmin -- several vulnerabilities

Source: EXPLOIT-DB
Type: Exploit
17514

Source: MANDRIVA
Type: UNKNOWN
MDVSA-2011:124

Source: MLIST
Type: UNKNOWN
[oss-security] 20110628 CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities

Source: MLIST
Type: UNKNOWN
[oss-security] 20110628 Re: CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities

Source: MLIST
Type: UNKNOWN
[oss-security] 20110628 Re: [Phpmyadmin-security] CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities

Source: MLIST
Type: UNKNOWN
[oss-security] 20110629 Re: CVE Request: phpMyAdmin 3.4 Multiple Vulnerabilities

Source: OSVDB
Type: UNKNOWN
73612

Source: CCN
Type: OSVDB ID: 73612
phpMyAdmin SESSION Superglobal Array Key Manipulation Arbitrary PHP Code Execution

Source: CCN
Type: phpMyAdmin Web site
phpMyAdmin

Source: CCN
Type: PMASA-2011-6
Possible code injection in setup script in case session variables are compromised.

Source: CONFIRM
Type: Patch, Vendor Advisory
http://www.phpmyadmin.net/home_page/security/PMASA-2011-6.php

Source: BUGTRAQ
Type: UNKNOWN
20110707 phpMyAdmin 3.x Multiple Remote Code Executions

Source: CCN
Type: BID-48563
phpMyAdmin Prior to 3.3.10.2 and 3.4.3.1 Multiple Remote Vulnerabilities

Source: MISC
Type: UNKNOWN
http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt

Source: XF
Type: UNKNOWN
phpmyadmin-session-code-exec(68373)

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [07-08-2011]

Vulnerable Configuration:Configuration 1:
  • cpe:/a:phpmyadmin:phpmyadmin:3.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.0.0:alpha:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.0.0:beta:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.0.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.0.1:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.0.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.0:beta1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.1:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.2:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.3:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.4:rc2:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.5:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.2.0:beta1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.2.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.2.1:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.2.2:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.5.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.6:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.7:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.8:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.9.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.10.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.10.1:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:phpmyadmin:phpmyadmin:3.4.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.4.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.4.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.4.3.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:phpmyadmin:phpmyadmin:3.4.3:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.3.10:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:12744
    P
    DSA-2286-1 phpymadmin -- several
    2014-06-23
    oval:com.ubuntu.precise:def:20112506000
    V
    CVE-2011-2506 on Ubuntu 12.04 LTS (precise) - medium.
    2011-07-14
    BACK
    phpmyadmin phpmyadmin 3.0.0
    phpmyadmin phpmyadmin 3.0.0 alpha
    phpmyadmin phpmyadmin 3.0.0 beta
    phpmyadmin phpmyadmin 3.0.0 rc1
    phpmyadmin phpmyadmin 3.0.1
    phpmyadmin phpmyadmin 3.0.1 rc1
    phpmyadmin phpmyadmin 3.0.1.1
    phpmyadmin phpmyadmin 3.1.0
    phpmyadmin phpmyadmin 3.1.0 beta1
    phpmyadmin phpmyadmin 3.1.1
    phpmyadmin phpmyadmin 3.1.1 rc1
    phpmyadmin phpmyadmin 3.1.2
    phpmyadmin phpmyadmin 3.1.2 rc1
    phpmyadmin phpmyadmin 3.1.3
    phpmyadmin phpmyadmin 3.1.3 rc1
    phpmyadmin phpmyadmin 3.1.3.1
    phpmyadmin phpmyadmin 3.1.3.2
    phpmyadmin phpmyadmin 3.1.4
    phpmyadmin phpmyadmin 3.1.4 rc2
    phpmyadmin phpmyadmin 3.1.5
    phpmyadmin phpmyadmin 3.1.5 rc1
    phpmyadmin phpmyadmin 3.2.0
    phpmyadmin phpmyadmin 3.2.0 beta1
    phpmyadmin phpmyadmin 3.2.0 rc1
    phpmyadmin phpmyadmin 3.2.1
    phpmyadmin phpmyadmin 3.2.1 rc1
    phpmyadmin phpmyadmin 3.2.2
    phpmyadmin phpmyadmin 3.2.2 rc1
    phpmyadmin phpmyadmin 3.3.0.0
    phpmyadmin phpmyadmin 3.3.1.0
    phpmyadmin phpmyadmin 3.3.2.0
    phpmyadmin phpmyadmin 3.3.3.0
    phpmyadmin phpmyadmin 3.3.4.0
    phpmyadmin phpmyadmin 3.3.5.0
    phpmyadmin phpmyadmin 3.3.5.1
    phpmyadmin phpmyadmin 3.3.6
    phpmyadmin phpmyadmin 3.3.7
    phpmyadmin phpmyadmin 3.3.8
    phpmyadmin phpmyadmin 3.3.8.1
    phpmyadmin phpmyadmin 3.3.9.0
    phpmyadmin phpmyadmin 3.3.9.1
    phpmyadmin phpmyadmin 3.3.9.2
    phpmyadmin phpmyadmin 3.3.10.0
    phpmyadmin phpmyadmin 3.3.10.1
    phpmyadmin phpmyadmin 3.4.0.0
    phpmyadmin phpmyadmin 3.4.1.0
    phpmyadmin phpmyadmin 3.4.2.0
    phpmyadmin phpmyadmin 3.4.3.0
    phpmyadmin phpmyadmin 3.4.3
    phpmyadmin phpmyadmin 3.3.10