Vulnerability Name:

CVE-2018-5738 (CCN-144714)

Assigned:2018-06-12
Published:2018-06-12
Updated:2019-08-30
Summary:Change #4777 (introduced in October 2017) introduced an unforeseen issue in releases which were issued after that date, affecting which clients are permitted to make recursive queries to a BIND nameserver. The intended (and documented) behavior is that if an operator has not specified a value for the "allow-recursion" setting, it SHOULD default to one of the following: none, if "recursion no;" is set in named.conf; a value inherited from the "allow-query-cache" or "allow-query" settings IF "recursion yes;" (the default for that setting) AND match lists are explicitly set for "allow-query-cache" or "allow-query" (see the BIND9 Administrative Reference Manual section 6.2 for more details); or the intended default of "allow-recursion {localhost; localnets;};" if "recursion yes;" is in effect and no values are explicitly set for "allow-query-cache" or "allow-query". However, because of the regression introduced by change #4777, it is possible when "recursion yes;" is in effect and no match list values are provided for "allow-query-cache" or "allow-query" for the setting of "allow-recursion" to inherit a setting of all hosts from the "allow-query" setting default, improperly permitting recursion to all clients. Affects BIND 9.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and also releases 9.9.12-S1, 9.10.7-S1, 9.11.3-S1, and 9.11.3-S2 from BIND 9 Supported Preview Edition.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): High
Integrity (I): None
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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:L/I:N/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): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-200
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2018-5738

Source: SECTRACK
Type: Third Party Advisory, VDB Entry
1041115

Source: XF
Type: UNKNOWN
isc-bind-cve20185738-sec-bypass(144714)

Source: CCN
Type: ISC Knowledge Base: AA-01616
CVE-2018-5738: Some versions of BIND can improperly permit recursive query service to unauthorized clients

Source: CONFIRM
Type: Mitigation, Vendor Advisory
https://kb.isc.org/docs/aa-01616

Source: GENTOO
Type: Third Party Advisory
GLSA-201903-13

Source: CONFIRM
Type: UNKNOWN
https://security.netapp.com/advisory/ntap-20190830-0002/

Source: UBUNTU
Type: Third Party Advisory
USN-3683-1

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-5738

Vulnerable Configuration:Configuration 1:
  • cpe:/a:isc:bind:9.9.12:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.9.12:s1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.10.7:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.10.7:s1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.11.3:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.11.3:s1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.11.3:s2:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.0:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.0:a1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.0:b1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.0:b2:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.0:rc3:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.1:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.1:p1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.1:p2:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.13.0:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

  • Configuration CCN 1:
  • cpe:/a:isc:bind:9.9.12:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.10.7:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.11.3:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.0:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.12.1:p2:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.13.0:*:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.9.12:s1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.10.7:s1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.11.3:s1:*:*:*:*:*:*
  • OR cpe:/a:isc:bind:9.11.3:s2:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7449
    P
    bind-devel-9.16.6-150300.22.27.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:7450
    P
    bind-utils-9.16.38-150400.5.20.2 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3469
    P
    davfs2-1.5.2-2.3 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:2877
    P
    bind-utils-9.16.20-150400.3.6 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:95099
    P
    bind-9.16.20-150400.3.6 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94506
    P
    bind-devel-9.16.6-150300.22.16.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:2876
    P
    bind-devel-9.16.6-150300.22.16.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94507
    P
    bind-utils-9.16.20-150400.3.6 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:16
    P
    bind-devel-9.16.6-20.39 on GA media (Moderate)
    2022-06-13
    oval:org.opensuse.security:def:945
    P
    Security update for net-snmp (Important)
    2022-01-11
    oval:org.opensuse.security:def:2231
    P
    bind-9.16.6-20.39 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:63320
    P
    bind-9.16.6-20.39 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:100792
    P
    bind-devel-9.16.6-20.39 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:71775
    P
    bind-devel-9.16.6-20.39 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:62034
    P
    bind-devel-9.16.6-20.39 on GA media (Moderate)
    2021-08-09
    oval:com.ubuntu.bionic:def:201857380000000
    V
    CVE-2018-5738 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-01-16
    oval:com.ubuntu.bionic:def:20185738000
    V
    CVE-2018-5738 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-01-16
    oval:com.ubuntu.xenial:def:201857380000000
    V
    CVE-2018-5738 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-01-16
    oval:com.ubuntu.trusty:def:20185738000
    V
    CVE-2018-5738 on Ubuntu 14.04 LTS (trusty) - medium.
    2019-01-16
    oval:com.ubuntu.xenial:def:20185738000
    V
    CVE-2018-5738 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-01-16
    oval:com.ubuntu.artful:def:20185738000
    V
    CVE-2018-5738 on Ubuntu 17.10 (artful) - medium.
    2018-06-12
    BACK
    isc bind 9.9.12
    isc bind 9.9.12 s1
    isc bind 9.10.7
    isc bind 9.10.7 s1
    isc bind 9.11.3
    isc bind 9.11.3 s1
    isc bind 9.11.3 s2
    isc bind 9.12.0
    isc bind 9.12.0 a1
    isc bind 9.12.0 b1
    isc bind 9.12.0 b2
    isc bind 9.12.0 rc1
    isc bind 9.12.0 rc3
    isc bind 9.12.1
    isc bind 9.12.1 p1
    isc bind 9.12.1 p2
    isc bind 9.13.0
    canonical ubuntu linux 18.04
    isc bind 9.9.12
    isc bind 9.10.7
    isc bind 9.11.3
    isc bind 9.12.0
    isc bind 9.12.1 p2
    isc bind 9.13.0
    isc bind 9.9.12 s1
    isc bind 9.10.7 s1
    isc bind 9.11.3 s1
    isc bind 9.11.3 s2