Vulnerability Name:

CVE-2009-1285 (CCN-49889)

Assigned:2009-04-14
Published:2009-04-14
Updated:2009-04-28
Summary:Static code injection vulnerability in the getConfigFile function in setup/lib/ConfigFile.class.php in phpMyAdmin 3.x before 3.1.3.2 allows remote attackers to inject arbitrary PHP code into configuration files.
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.5 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:U/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
6.8 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
5.0 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
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-2009-1285

Source: CONFIRM
Type: Exploit
http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_3_1_3/phpMyAdmin/setup/lib/ConfigFile.class.php?r1=12248&r2=12301&pathrev=12342

Source: CCN
Type: SA34727
phpMyAdmin Setup Script PHP Code Injection Vulnerability

Source: SECUNIA
Type: UNKNOWN
34727

Source: SECUNIA
Type: UNKNOWN
34741

Source: CCN
Type: OSVDB ID: 53685
phpMyAdmin Setup Script Configuration Parameters Arbitrary PHP Code Injection

Source: CCN
Type: PMASA-2009-4
Insufficient output sanitizing when generating configuration file

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

Source: BID
Type: Patch
34526

Source: CCN
Type: BID-34526
phpMyAdmin Configuration File PHP Code Injection Vulnerability

Source: VUPEN
Type: UNKNOWN
ADV-2009-1045

Source: XF
Type: UNKNOWN
phpmyadmin-configuration-code-execution(49889)

Source: FEDORA
Type: UNKNOWN
FEDORA-2009-3692

Source: FEDORA
Type: UNKNOWN
FEDORA-2009-3700

Vulnerable Configuration:Configuration 1:
  • cpe:/a:phpmyadmin:phpmyadmin:3.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.0.0:*:*:*:*:*:*:*
  • 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:1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.3:rc1:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.3.1:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:phpmyadmin:phpmyadmin:3.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:3.1.3.1:*:*:*:*:*:*:*
  • AND
  • cpe:/o:redhat:fedora:9:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:fedora:10:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    phpmyadmin phpmyadmin 3.0.0
    phpmyadmin phpmyadmin 3.0.1
    phpmyadmin phpmyadmin 3.1.0
    phpmyadmin phpmyadmin 3.1.0.0
    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 1
    phpmyadmin phpmyadmin 3.1.3 rc1
    phpmyadmin phpmyadmin 3.1.3.1
    phpmyadmin phpmyadmin 3.0.1
    phpmyadmin phpmyadmin 3.1.0
    phpmyadmin phpmyadmin 3.1.1
    phpmyadmin phpmyadmin 3.1.3.1
    redhat fedora 9
    redhat fedora 10