According to its self-reported version number, the installation of Quagga listening on the remote host is affected by multiple vulnerabilities :
A denial of service vulnerability in OSPF6D can be triggered by a specially crafted Link Status Update message with an invalid IPv6 prefix length.
(CVE-2011-3323)
A denial of service vulnerability in OSPF6D can be triggered by a specially crafted IPv6 Database Description message with trailing zero values in the Link State Advertisement header list. (CVE-2011-3324)
A denial of service vulnerability in OSPFD can be triggered by a 0x0A type field in an IPv4 packet header or a truncated IPv4 Hello packet. (CVE-2011-3325)
A denial of service vulnerability in OSPFD can be triggered by a specially crafted IPv4 Link State Update message with an invalid Link State Advertisement type.
(CVE-2011-3326)
A heap-based buffer overflow in BGPD can be triggered by a specially crafted UPDATE message over IPv4.
(CVE-2011-3326)
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(59790);
script_version("1.9");
script_cvs_date("Date: 2019/12/04");
script_cve_id(
"CVE-2011-3323",
"CVE-2011-3324",
"CVE-2011-3325",
"CVE-2011-3326",
"CVE-2011-3327"
);
script_bugtraq_id(49784);
script_xref(name:"CERT", value:"668534");
script_name(english:"Quagga < 0.99.19 Multiple Vulnerabilities");
script_summary(english:"Check the version of Quagga");
script_set_attribute(attribute:"synopsis", value:
"The remote service may be affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"According to its self-reported version number, the installation of
Quagga listening on the remote host is affected by multiple
vulnerabilities :
- A denial of service vulnerability in OSPF6D can be
triggered by a specially crafted Link Status Update
message with an invalid IPv6 prefix length.
(CVE-2011-3323)
- A denial of service vulnerability in OSPF6D can be
triggered by a specially crafted IPv6 Database
Description message with trailing zero values in the
Link State Advertisement header list. (CVE-2011-3324)
- A denial of service vulnerability in OSPFD can be
triggered by a 0x0A type field in an IPv4 packet header
or a truncated IPv4 Hello packet. (CVE-2011-3325)
- A denial of service vulnerability in OSPFD can be
triggered by a specially crafted IPv4 Link State Update
message with an invalid Link State Advertisement type.
(CVE-2011-3326)
- A heap-based buffer overflow in BGPD can be triggered by
a specially crafted UPDATE message over IPv4.
(CVE-2011-3326)");
script_set_attribute(attribute:"see_also", value:"http://savannah.nongnu.org/forum/forum.php?forum_id=7143");
script_set_attribute(attribute:"see_also", value:"http://web.archive.org/web/20111122030035/http://www.quagga.net/download/quagga-0.99.19.changelog.txt");
script_set_attribute(attribute:"solution", value:
"Upgrade to version 0.99.19 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2011-3327");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2011/09/26");
script_set_attribute(attribute:"patch_publication_date", value:"2011/09/26");
script_set_attribute(attribute:"plugin_publication_date", value:"2012/06/29");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:quagga:quagga");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("quagga_zebra_detect.nasl");
script_require_keys("Quagga/Installed", "Settings/ParanoidReport");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
app = "Quagga Zebra";
kb = "Quagga/";
if (report_paranoia < 2)
audit(AUDIT_PARANOID);
port = get_kb_item_or_exit(kb + "Installed");
kb += port + "/";
banner = get_kb_item_or_exit(kb + "Banner");
ver = get_kb_item_or_exit(kb + "Version");
if (ver !~ "^\d+(\.\d+)*$")
audit(AUDIT_NONNUMERIC_VER, app, port, ver);
fix = "0.99.19";
if (ver_compare(ver:ver, fix:fix, strict:TRUE) >= 0)
audit(AUDIT_LISTEN_NOT_VULN, app, port, ver);
report = NULL;
if (report_verbosity > 0)
{
report =
'\n Version source : ' + banner +
'\n Installed version : ' + ver +
'\n Fixed version : ' + fix +
'\n';
}
security_hole(port:port, extra:report);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3323
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3324
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3325
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3326
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3327
savannah.nongnu.org/forum/forum.php?forum_id=7143
web.archive.org/web/20111122030035/http://www.quagga.net/download/quagga-0.99.19.changelog.txt