Lucene search

K
nessusThis script is Copyright (C) 2003-2018 Tenable Network Security, Inc.CVS_DOUBLE_FREE.NASL
HistoryMar 14, 2003 - 12:00 a.m.

CVS Malformed Directory Request Double-free Privilege Escalation

2003-03-1400:00:00
This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.
www.tenable.com
45

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.326

Percentile

97.1%

According to its version number, the CVS server running on the remote host has a double free bug, which could allow a malicious user to elevate their privileges.

#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


# References:
# From: Stefan Esser <[email protected]>
# Subject: Advisory 01/2003: CVS remote vulnerability
# To: [email protected], [email protected],
#   [email protected]
# Message-ID: <[email protected]>
# Date: Mon, 20 Jan 2003 22:25:23 +0100
   
if(description)
{
 script_id(11385);
 script_version ("1.27");
 script_cve_id("CVE-2003-0015");
 script_bugtraq_id(6650);
 script_xref(name:"RHSA", value:"2003:012-07");
 script_xref(name:"SuSE", value:"SUSE-SA:2003:0007");
 
 script_name(english:"CVS Malformed Directory Request Double-free Privilege Escalation");
 script_summary(english:"Logs into the remote CVS server and asks the version");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote revision control service has a privilege escalation
vulnerability." );
 script_set_attribute( attribute:"description", value:
"According to its version number, the CVS server running on the remote
host has a double free bug, which could allow a malicious user to
elevate their privileges." );
 script_set_attribute(
   attribute:"see_also",
   value:"https://marc.info/?l=bugtraq&m=104428571204468&w=2"
 );
 script_set_attribute(
   attribute:"solution", 
   value:"Upgrade to CVS version 1.11.11 or later."
 );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"exploit_framework_core", value:"true");
 script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
 script_set_attribute(attribute:"canvas_package", value:'D2ExploitPack');
 script_set_attribute(attribute:"plugin_publication_date", value: "2003/03/14");
 script_set_attribute(attribute:"vuln_publication_date", value: "2003/12/29");
 script_cvs_date("Date: 2018/11/15 20:50:23");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_family(english:"Misc.");

 script_copyright(english:"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");

 script_require_ports("Services/cvspserver", 2401);
 script_dependencies("find_service1.nasl", "cvs_pserver_heap_overflow.nasl");
 exit(0);
}

include('global_settings.inc');

port = get_kb_item("Services/cvspserver");
if(!port)port = 2401;
if(!get_port_state(port))exit(0);

version = get_kb_item(string("cvs/", port, "/version"));
if ( ! version ) exit(0);
if(ereg(pattern:".* 1\.([0-9]\.|10\.|11\.[0-4][^0-9]).*", string:version))
     	security_hole(port);

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.326

Percentile

97.1%