CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS
Percentile
91.8%
According to its self-reported version number, the version of the PowerDNS Recursor listening on the remote host is version 3.x prior to 3.1.7.2. It is, therefore, affected by multiple vulnerabilities :
A buffer overflow condition exists that allows a remote attacker, via crafted packets, to cause a daemon crash, resulting in a denial of service condition.
(CVE-2009-4009)
An unspecified flaw exists that allows a remote attacker to spoof DNS data via crafted zones. (CVE-2009-4010)
Note that Nessus has not attempted to exploit these issues but has instead relied only on the application’s self-reported version number.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(87950);
script_version("1.4");
script_cvs_date("Date: 2018/07/26 13:32:42");
script_cve_id("CVE-2009-4009", "CVE-2009-4010");
script_bugtraq_id(37650, 37653);
script_name(english:"PowerDNS Recursor 3.x < 3.1.7.2 Multiple Vulnerabilities");
script_summary(english:"Checks the PowerDNS Recursor version.");
script_set_attribute(attribute:"synopsis", value:
"The remote name server is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"According to its self-reported version number, the version of the
PowerDNS Recursor listening on the remote host is version 3.x prior to
3.1.7.2. It is, therefore, affected by multiple vulnerabilities :
- A buffer overflow condition exists that allows a remote
attacker, via crafted packets, to cause a daemon crash,
resulting in a denial of service condition.
(CVE-2009-4009)
- An unspecified flaw exists that allows a remote attacker
to spoof DNS data via crafted zones. (CVE-2009-4010)
Note that Nessus has not attempted to exploit these issues but has
instead relied only on the application's self-reported version number.");
script_set_attribute(attribute:"see_also", value:"https://doc.powerdns.com/md/security/powerdns-advisory-2010-01/");
script_set_attribute(attribute:"see_also", value:"https://doc.powerdns.com/md/security/powerdns-advisory-2010-02/");
script_set_attribute(attribute:"solution", value:
"Upgrade to PowerDNS Recursor 3.1.7.2 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(119);
script_set_attribute(attribute:"vuln_publication_date",value:"2010/01/06");
script_set_attribute(attribute:"patch_publication_date",value:"2010/01/06");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/01/15");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:powerdns:powerdns");
script_set_attribute(attribute:"cpe", value:"cpe:/a:powerdns:recursor");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2016-2018 Tenable Network Security, Inc.");
script_family(english:"DNS");
script_dependencies("pdns_version.nasl");
script_require_keys("pdns/version", "pdns/version_full", "pdns/version_source", "pdns/type", "Settings/ParanoidReport");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
app_name = "PowerDNS Recursor";
version_source = get_kb_item_or_exit("pdns/version_source");
version_full = get_kb_item_or_exit("pdns/version_full");
version = get_kb_item_or_exit("pdns/version");
fix = '3.1.7.2';
port = 53;
# Only the Recursor is affected
type = get_kb_item_or_exit("pdns/type");
if (type != 'recursor') audit(AUDIT_NOT_LISTEN, app_name, port, "UDP");
if (version == UNKNOWN_VER) audit(AUDIT_UNKNOWN_APP_VER, app_name);
if (report_paranoia < 2) audit(AUDIT_PARANOID);
if (version !~ "^3\." || (ver_compare(ver:version, fix:fix, strict:FALSE) >= 0))
audit(AUDIT_LISTEN_NOT_VULN, app_name, port, version_full, "UDP");
if (report_verbosity > 0)
{
report =
'\n Version source : ' + version_source +
'\n Installed version : ' + version_full +
'\n Fixed version : ' + fix +
'\n';
security_hole(port:port, proto:"udp", extra:report);
}
else security_hole(port:port, proto:"udp");