Lucene search

K
openvasCopyright (C) 2004 David MaciejakOPENVAS:136141256231012265
HistoryNov 03, 2005 - 12:00 a.m.

CVS malformed entry lines flaw

2005-11-0300:00:00
Copyright (C) 2004 David Maciejak
plugins.openvas.org
15

7.1 High

AI Score

Confidence

Low

0.933 High

EPSS

Percentile

99.1%

The remote CVS server, according to its version number, might allow an
attacker to execute arbitrary commands on the remote system because of a flaw relating to malformed Entry
lines which lead to a missing NULL terminator.

# SPDX-FileCopyrightText: 2004 David Maciejak
# 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-only

CPE = "cpe:/a:cvs:cvs";

# Ref:
#  Date: Wed, 9 Jun 2004 15:00:04 +0200
#  From: Stefan Esser <[email protected]>
#  To: [email protected], [email protected],
#        [email protected], [email protected]
#  Subject: Advisory 09/2004: More CVS remote vulnerabilities

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.12265");
  script_version("2023-08-01T13:29:10+0000");
  script_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/10499");
  script_cve_id("CVE-2004-0414", "CVE-2004-0416", "CVE-2004-0417", "CVE-2004-0418");
  script_xref(name:"RHSA", value:"RHSA-2004:233-017");
  script_name("CVS malformed entry lines flaw");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2004 David Maciejak");
  script_family("General");
  script_dependencies("cvspserver_version.nasl");
  script_mandatory_keys("cvspserver/detected");

  script_tag(name:"solution", value:"Upgrade to CVS 1.12.9 or 1.11.17.");

  script_tag(name:"summary", value:"The remote CVS server, according to its version number, might allow an
  attacker to execute arbitrary commands on the remote system because of a flaw relating to malformed Entry
  lines which lead to a missing NULL terminator.");

  script_tag(name:"insight", value:"Among the issues deemed likely to be exploitable were:

  - a double-free relating to the error_prog_name string (CVE-2004-0416)

  - an argument integer overflow (CVE-2004-0417)

  - out-of-bounds writes in serv_notify (CVE-2004-0418)");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_banner");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE ) ) exit( 0 );
if( ! vers = get_app_version( cpe:CPE, port:port ) ) exit( 0 );

if( version_is_less( version:vers, test_version:"1.11.17" ) ||
    version_in_range( version:vers, test_version:"1.12", test_version2:"1.12.8" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"1.11.17/1.12.9" );
  security_message( port:port, data:report );
}

exit( 0 );