Vulnerability Name:

CVE-2016-9849 (CCN-119813)

Assigned:2016-12-06
Published:2016-12-06
Updated:2017-07-01
Summary:An issue was discovered in phpMyAdmin. It is possible to bypass AllowRoot restriction ($cfg['Servers'][$i]['AllowRoot']) and deny rules for username by using Null Byte in the username. All 4.6.x versions (prior to 4.6.5), 4.4.x versions (prior to 4.4.15.9), and 4.0.x versions (prior to 4.0.10.18) are affected.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
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): High
Integrity (I): High
Availibility (A): High
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
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): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-264
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2016-9849

Source: BID
Type: Third Party Advisory, VDB Entry
94521

Source: CCN
Type: BID-94521
phpMyAdmin PMASA-2016-60 Remote Multiple Security Bypass Vulnerabilities

Source: XF
Type: UNKNOWN
phpmyadmin-cve20169849-sec-bypass(119813)

Source: MLIST
Type: UNKNOWN
[debian-lts-announce] 20190617 [SECURITY] [DLA 1821-1] phpmyadmin security update

Source: GENTOO
Type: UNKNOWN
GLSA-201701-32

Source: CONFIRM
Type: Patch, Vendor Advisory
https://www.phpmyadmin.net/security/PMASA-2016-60

Source: CCN
Type: phpMyAdmin Security Advisory PMASA-2016-60
Username deny rules bypass (AllowRoot & Others) by using Null Byte

Vulnerable Configuration:Configuration 1:
  • cpe:/a:phpmyadmin:phpmyadmin:4.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.4.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.3:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.4:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.5:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.6:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.7:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.8:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.9:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.10:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.11:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.12:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.13:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.14:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.15:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.16:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.17:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:phpmyadmin:phpmyadmin:4.6.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.6.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.6.3:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.6.4:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/a:phpmyadmin:phpmyadmin:4.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.3:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.4:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.5:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.6:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.6.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.7:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.8:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.9:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.10:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.11:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.12:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.13:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.13.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.14:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.14.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.1:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.2:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.3:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.4:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.5:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.6:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.7:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.8:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:phpmyadmin:phpmyadmin:4.6.4:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.4.15.8:*:*:*:*:*:*:*
  • OR cpe:/a:phpmyadmin:phpmyadmin:4.0.10.17:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:113141
    P
    phpMyAdmin-4.6.5.2-1.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106569
    P
    phpMyAdmin-4.6.5.2-1.1 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.bionic:def:201698490000000
    V
    CVE-2016-9849 on Ubuntu 18.04 LTS (bionic) - medium.
    2016-12-11
    oval:com.ubuntu.xenial:def:201698490000000
    V
    CVE-2016-9849 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-12-11
    oval:com.ubuntu.disco:def:201698490000000
    V
    CVE-2016-9849 on Ubuntu 19.04 (disco) - medium.
    2016-12-11
    oval:com.ubuntu.artful:def:20169849000
    V
    CVE-2016-9849 on Ubuntu 17.10 (artful) - medium.
    2016-12-10
    oval:com.ubuntu.trusty:def:20169849000
    V
    CVE-2016-9849 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-12-10
    oval:com.ubuntu.bionic:def:20169849000
    V
    CVE-2016-9849 on Ubuntu 18.04 LTS (bionic) - medium.
    2016-12-10
    oval:com.ubuntu.xenial:def:20169849000
    V
    CVE-2016-9849 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-12-10
    oval:com.ubuntu.cosmic:def:20169849000
    V
    CVE-2016-9849 on Ubuntu 18.10 (cosmic) - medium.
    2016-12-10
    oval:com.ubuntu.cosmic:def:201698490000000
    V
    CVE-2016-9849 on Ubuntu 18.10 (cosmic) - medium.
    2016-12-10
    oval:com.ubuntu.precise:def:20169849000
    V
    CVE-2016-9849 on Ubuntu 12.04 LTS (precise) - medium.
    2016-12-10
    BACK
    phpmyadmin phpmyadmin 4.0.0
    phpmyadmin phpmyadmin 4.0.1
    phpmyadmin phpmyadmin 4.0.2
    phpmyadmin phpmyadmin 4.0.3
    phpmyadmin phpmyadmin 4.0.4
    phpmyadmin phpmyadmin 4.0.4.1
    phpmyadmin phpmyadmin 4.0.4.2
    phpmyadmin phpmyadmin 4.0.5
    phpmyadmin phpmyadmin 4.0.6
    phpmyadmin phpmyadmin 4.0.7
    phpmyadmin phpmyadmin 4.0.8
    phpmyadmin phpmyadmin 4.0.9
    phpmyadmin phpmyadmin 4.0.10
    phpmyadmin phpmyadmin 4.0.10.1
    phpmyadmin phpmyadmin 4.0.10.2
    phpmyadmin phpmyadmin 4.0.10.3
    phpmyadmin phpmyadmin 4.0.10.4
    phpmyadmin phpmyadmin 4.0.10.5
    phpmyadmin phpmyadmin 4.0.10.6
    phpmyadmin phpmyadmin 4.0.10.7
    phpmyadmin phpmyadmin 4.0.10.8
    phpmyadmin phpmyadmin 4.0.10.9
    phpmyadmin phpmyadmin 4.0.10.10
    phpmyadmin phpmyadmin 4.0.10.11
    phpmyadmin phpmyadmin 4.0.10.12
    phpmyadmin phpmyadmin 4.0.10.13
    phpmyadmin phpmyadmin 4.0.10.14
    phpmyadmin phpmyadmin 4.0.10.15
    phpmyadmin phpmyadmin 4.0.10.16
    phpmyadmin phpmyadmin 4.0.10.17
    phpmyadmin phpmyadmin 4.6.0
    phpmyadmin phpmyadmin 4.6.1
    phpmyadmin phpmyadmin 4.6.2
    phpmyadmin phpmyadmin 4.6.3
    phpmyadmin phpmyadmin 4.6.4
    phpmyadmin phpmyadmin 4.4.0
    phpmyadmin phpmyadmin 4.4.1
    phpmyadmin phpmyadmin 4.4.1.1
    phpmyadmin phpmyadmin 4.4.2
    phpmyadmin phpmyadmin 4.4.3
    phpmyadmin phpmyadmin 4.4.4
    phpmyadmin phpmyadmin 4.4.5
    phpmyadmin phpmyadmin 4.4.6
    phpmyadmin phpmyadmin 4.4.6.1
    phpmyadmin phpmyadmin 4.4.7
    phpmyadmin phpmyadmin 4.4.8
    phpmyadmin phpmyadmin 4.4.9
    phpmyadmin phpmyadmin 4.4.10
    phpmyadmin phpmyadmin 4.4.11
    phpmyadmin phpmyadmin 4.4.12
    phpmyadmin phpmyadmin 4.4.13
    phpmyadmin phpmyadmin 4.4.13.1
    phpmyadmin phpmyadmin 4.4.14
    phpmyadmin phpmyadmin 4.4.14.1
    phpmyadmin phpmyadmin 4.4.15
    phpmyadmin phpmyadmin 4.4.15.1
    phpmyadmin phpmyadmin 4.4.15.2
    phpmyadmin phpmyadmin 4.4.15.3
    phpmyadmin phpmyadmin 4.4.15.4
    phpmyadmin phpmyadmin 4.4.15.5
    phpmyadmin phpmyadmin 4.4.15.6
    phpmyadmin phpmyadmin 4.4.15.7
    phpmyadmin phpmyadmin 4.4.15.8
    phpmyadmin phpmyadmin 4.6.4
    phpmyadmin phpmyadmin 4.4.15.8
    phpmyadmin phpmyadmin 4.0.10.17