Lucene search

K
openvasCopyright (C) 2009 SecPodOPENVAS:900828
HistoryAug 27, 2009 - 12:00 a.m.

Neon Certificate Spoofing and Denial of Service Vulnerability

2009-08-2700:00:00
Copyright (C) 2009 SecPod
plugins.openvas.org
17

EPSS

0.003

Percentile

70.5%

This host has Neon installed and is prone to Certificate Spoofing
and Denial of Service vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_neon_cert_spoofing_n_dos_vuln.nasl 5122 2017-01-27 12:16:00Z teissa $
#
# Neon Certificate Spoofing And Denial of Service Vulnerability
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# 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.
###############################################################################

tag_impact = "Attacker may leverage this issue to conduct man-in-the-middle attacks to
  spoof arbitrary SSL servers, and can deny the service by memory or CPU
  consumption on the affected application.
  Impact Level: System/Application";
tag_affected = "WebDAV, Neon version prior to 0.28.6 on Linux.";
tag_insight = "- When OpenSSL is used, neon does not properly handle a '&qt?&qt' character
    in a domain name in the 'subject&qts' Common Name (CN) field of an X.509
    certificate via a crafted certificate issued by a legitimate Certification
    Authority.
  - When expat is used, neon does not properly detect recursion during entity
    expansion via a crafted XML document containing a large number of nested
    entity references.";
tag_solution = "Upgrade to version 0.28.6 or latest
  http://www.webdav.org/neon/";
tag_summary = "This host has Neon installed and is prone to Certificate Spoofing
  and Denial of Service vulnerability.";

if(description)
{
  script_id(900828);
  script_version("$Revision: 5122 $");
  script_tag(name:"last_modification", value:"$Date: 2017-01-27 13:16:00 +0100 (Fri, 27 Jan 2017) $");
  script_tag(name:"creation_date", value:"2009-08-27 13:43:20 +0200 (Thu, 27 Aug 2009)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2009-2473", "CVE-2009-2474");
  script_bugtraq_id(36080, 36079);
  script_name("Neon Certificate Spoofing and Denial of Service Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/36371");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/52633");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2009/2341");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 SecPod");
  script_family("Denial of Service");
  script_dependencies("secpod_neon_detect.nasl");
  script_require_keys("WebDAV/Neon/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


include("version_func.inc");

neonVer = get_kb_item("WebDAV/Neon/Ver");
if(!neonVer){
  exit(0);
}

# Check for Neon version < 0.28.6
if(version_is_less(version:neonVer, test_version:"0.28.6")){
  security_message(0);
}