CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
AI Score
Confidence
Low
EPSS
Percentile
98.8%
ISC BIND is prone to a denial of service (DoS) 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.117778");
script_version("2021-11-16T14:48:45+0000");
script_tag(name:"last_modification", value:"2021-11-16 14:48:45 +0000 (Tue, 16 Nov 2021)");
script_tag(name:"creation_date", value:"2021-11-16 14:40:51 +0000 (Tue, 16 Nov 2021)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
script_cve_id("CVE-2011-1907");
script_tag(name:"qod_type", value:"remote_banner_unreliable"); # nb: See affected tag
script_tag(name:"solution_type", value:"VendorFix");
script_name("ISC BIND DoS Vulnerability (CVE-2011-1907)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2021 Greenbone Networks GmbH");
script_family("Denial of Service");
script_dependencies("gb_isc_bind_consolidation.nasl");
script_mandatory_keys("isc/bind/detected");
script_tag(name:"summary", value:"ISC BIND is prone to a denial of service (DoS) vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"BIND 9.8.0 introduced Response Policy Zones (RPZ), a mechanism
for modifying DNS responses returned by a recursive server according to a set of rules which are
either defined locally or imported from a reputation provider. In typical configurations, RPZ is
used to force NXDOMAIN responses for untrusted names. It can also be used for RRset replacement,
i.e., returning a positive answer defined by the response policy.");
script_tag(name:"impact", value:"When RPZ is being used, a query of type RRSIG for a name
configured for RRset replacement will trigger an assertion failure and cause the name server
process to exit.");
script_tag(name:"affected", value:"ISC BIND version 9.8.0 only.
Note: Only BIND installations which are using the RPZ feature configured for RRset replacement are
affected.");
script_tag(name:"solution", value:"Update to version 9.8.0-P1 or later.
As a workaround use RPZ only for forcing NXDOMAIN responses and not for RRset replacement.");
script_xref(name:"URL", value:"https://kb.isc.org/docs/aa-00460");
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_is_equal(version: version, test_version: "9.8.0")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.8.0-P1", install_path: location);
security_message(port: port, data: report, proto: proto);
exit(0);
}
exit(99);