3.7 Low
CVSS3
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
5.3 Medium
AI Score
Confidence
High
4.3 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:M/Au:N/C:P/I:N/A:N
0.01 Low
EPSS
Percentile
83.7%
ISC BIND is prone to an information disclosure vulnerability.
# Copyright (C) 2021 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE = "cpe:/a:isc:bind";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.146633");
script_version("2021-09-06T14:01:33+0000");
script_tag(name:"last_modification", value:"2021-09-06 14:01:33 +0000 (Mon, 06 Sep 2021)");
script_tag(name:"creation_date", value:"2021-09-06 09:45:11 +0000 (Mon, 06 Sep 2021)");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-08-30 17:15:00 +0000 (Fri, 30 Aug 2019)");
script_cve_id("CVE-2017-3142");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("ISC BIND Information Disclosure Vulnerability (CVE-2017-3142) - Windows");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2021 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_isc_bind_consolidation.nasl", "os_detection.nasl");
script_mandatory_keys("isc/bind/detected", "Host/runs_windows");
script_tag(name:"summary", value:"ISC BIND is prone to an information disclosure vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"An attacker who is able to send and receive messages to an
authoritative DNS server, and who has knowledge of a valid TSIG key name, may be able to
circumvent TSIG authentication of AXFR requests via a carefully constructed request packet. A
server that relies solely on TSIG keys for protection with no other ACL protection could be
manipulated into:
- providing an AXFR of a zone to an unauthorized recipient, and/or
- accepting bogus NOTIFY packets.");
script_tag(name:"impact", value:"- An unauthorized AXFR (full zone transfer) permits an attacker
to view the entire contents of a zone. Protection of zone contents is often a commercial or
business requirement.
- If accepted, a NOTIFY sets the zone refresh interval to 'now'. If there is not already a
refresh cycle in progress then named will initiate one by asking for the SOA RR from its list of
masters. If there is already a refresh cycle in progress, then named will queue the new refresh
request. If there is already a queued refresh request, the new NOTIFY will be discarded. Bogus
notifications cannot be used to force a zone transfer from a malicious server, but could trigger
a high rate of zone refresh cycles.");
script_tag(name:"affected", value:"BIND 9.4.0 through 9.8.8, 9.9.0 through 9.9.10-P1, 9.10.0
through 9.10.5-P1, 9.11.0 through 9.11.1-P1, 9.9.3-S1 through 9.9.10-S2 and 9.10.5-S1 through
9.10.5-S2.");
script_tag(name:"solution", value:"Update to version 9.9.10-P2, 9.10.5-P2, 9.11.1-P2, 9.9.10-S3,
9.10.5-S3 or later.");
script_xref(name:"URL", value:"https://kb.isc.org/docs/aa-01504");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (isnull(port = get_app_port(cpe: CPE)))
exit(0);
if (!infos = get_app_full(cpe: CPE, port: port, exit_no_version: TRUE))
exit(0);
version = infos["version"];
proto = infos["proto"];
location = infos["location"];
if (version =~ "^9\.(9|10)\.[0-9]+s[0-9]") {
if (version_in_range(version: version, test_version: "9.9.3s1", test_version2: "9.9.10s2")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.9.10-S3", install_path: location);
security_message(port: port, data: report, proto: proto);
exit(0);
}
if (version_in_range(version: version, test_version: "9.10.5s1", test_version2: "9.10.5s2")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.10.5-S3", install_path: location);
security_message(port: port, data: report, proto: proto);
exit(0);
}
} else {
if (version_in_range(version: version, test_version: "9.4.0", test_version2: "9.8.8") ||
version_in_range(version: version, test_version: "9.9.0", test_version2: "9.9.10p1")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.9.10-P2", install_path: location);
security_message(port: port, data: report, proto: proto);
exit(0);
}
if (version_in_range(version: version, test_version: "9.10.0", test_version2: "9.10.5p1")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.10.5-P2", install_path: location);
security_message(port: port, data: report, proto: proto);
exit(0);
}
if (version_in_range(version: version, test_version: "9.11.0", test_version2: "9.11.1p1")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.11.1-P2", install_path: location);
security_message(port: port, data: report, proto: proto);
exit(0);
}
}
exit(99);
3.7 Low
CVSS3
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
5.3 Medium
AI Score
Confidence
High
4.3 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:M/Au:N/C:P/I:N/A:N
0.01 Low
EPSS
Percentile
83.7%