CA License Service Multiple Vulnerabilities - Nessus

Critical   Plugin ID: 17307

This page contains detailed information about the CA License Service Multiple Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 17307
Name: CA License Service Multiple Vulnerabilities
Filename: CA_License_Service_Stack_Overflow.nasl
Vulnerability Published: 2005-03-02
This Plugin Published: 2005-03-10
Last Modification Time: 2018-11-15
Plugin Version: 1.34
Plugin Type: remote
Plugin Family: Windows
Dependencies: None

Vulnerability Information


Severity: Critical
Vulnerability Published: 2005-03-02
Patch Published: 2005-03-02
CVE [?]: CVE-2005-0581, CVE-2005-0582, CVE-2005-0583
CPE [?]: N/A

Synopsis

Arbitrary code can be executed on the remote host.

Description

The remote host is running the Computer Associate License Application.

The remote version of this software is vulnerable to several flaws that could allow a remote attacker to execute arbitrary code on the remote host with SYSTEM privileges.

Solution

http://www.nessus.org/u?c1c908e9

Public Exploits


Target Network Port(s): 10202, 10203, 10204
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Immunity Canvas)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the CA License Service Multiple Vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/license/calicserv_getconfig
    [Computer Associates License Server GETCONFIG Overflow]
  2. Metasploit: exploit/windows/license/calicclnt_getconfig
    [Computer Associates License Client GETCONFIG Overflow]
  3. Metasploit: exploit/windows/brightstor/license_gcr
    [CA BrightStor ARCserve License Service GCR NETWORK Buffer Overflow]
  4. Exploit-DB: exploits/windows/remote/16414.rb
    [EDB-16414: CA BrightStor ARCserve License Service - 'GCR NETWORK' Remote Buffer Overflow (Metasploit)]
  5. Exploit-DB: exploits/windows/remote/16744.rb
    [EDB-16744: Computer Associates License Client - GETCONFIG Overflow (Metasploit)]
  6. Exploit-DB: exploits/windows/remote/16745.rb
    [EDB-16745: Computer Associates License Server - GETCONFIG Overflow (Metasploit)]
  7. Immunity Canvas: CANVAS

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the CA_License_Service_Stack_Overflow.nasl nessus plugin source code. This script is Copyright (C) 2005-2018 KK Liu

#
# (C) KK Liu
#

# Changes by Tenable:
#  - Fixed the request
#  - Shorter description
#  - Fixed the version number check 
#  - Added a check on port 10202, 10203
#  - Changed plugin family (8/14/2009)


include("compat.inc");

if(description)
{
 script_id(17307);
 script_version ("1.34");
 script_cve_id("CVE-2005-0581", "CVE-2005-0582", "CVE-2005-0583");
 script_bugtraq_id(12705);

 script_name(english:"CA License Service Multiple Vulnerabilities");

 script_set_attribute(attribute:"synopsis", value:
"Arbitrary code can be executed on the remote host." );
 script_set_attribute(attribute:"description", value:
"The remote host is running the Computer Associate License Application. 

The remote version of this software is vulnerable to several flaws
that could allow a remote attacker to execute arbitrary code on the
remote host with SYSTEM privileges." );
 script_set_attribute(attribute:"see_also", value:"https://www.beyondtrust.com/resources/blog/research/" );
 script_set_attribute(attribute:"solution", value:"http://www.nessus.org/u?c1c908e9" );
  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: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:"metasploit_name", value:'Computer Associates License Server GETCONFIG Overflow');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
 script_set_attribute(attribute:"canvas_package", value:'CANVAS');

 script_set_attribute(attribute:"plugin_publication_date", value: "2005/03/10");
 script_set_attribute(attribute:"vuln_publication_date", value: "2005/03/02");
 script_cvs_date("Date: 2018/11/15 20:50:26");
 script_set_attribute(attribute:"patch_publication_date", value: "2005/03/02");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 
 script_summary(english:"CA License Service Stack Overflow");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2005-2018 KK Liu");
 script_family(english: "Windows");
 script_require_ports(10202, 10203, 10204);
 exit(0);
}

include("global_settings.inc");
include('misc_func.inc');

req = 'A0 GETCONFIG SELF 0 <EOM>\r\n';
ports = make_list(10202, 10203, 10204);
foreach port ( ports )
{
 if ( get_port_state(port) ) 
  {
	soc = open_sock_tcp(port);
	if ( soc ) 
	{
	send(socket:soc, data:req);
	r = recv(socket:soc, length:620);
	close(soc);
	if ( strlen(r) > 0 )
	{
     	chkstr = strstr(r, "VERSION<");
	if (chkstr ) 
 	{
	 register_service(port:port, proto:"CA_License_Service");
         if (egrep (pattern:"VERSION<[0-9] 1\.(5[3-9].*|60.*|61(\.[0-8])?)>", string:chkstr)) 
	 {
          security_hole(port);
	 }
	}
       } 
    }
  }
}

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/CA_License_Service_Stack_Overflow.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\CA_License_Service_Stack_Overflow.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/CA_License_Service_Stack_Overflow.nasl

Go back to menu.

How to Run


Here is how to run the CA License Service Multiple Vulnerabilities as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows plugin family.
  6. On the right side table select CA License Service Multiple Vulnerabilities plugin ID 17307.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl CA_License_Service_Stack_Overflow.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a CA_License_Service_Stack_Overflow.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - CA_License_Service_Stack_Overflow.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state CA_License_Service_Stack_Overflow.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 34393 - CA BrightStor ARCserve Backup RPC Interface (asdbapi.dll) Traversal Arbitrary Command Execution
  • 19387 - CA BrightStor ARCserve Backup Agent for Windows Long String Overflow
  • 24240 - CA BrightStor ARCserve Backup for Laptops & Desktops Server Multiple Vulnerabilities (QO83833)
  • 24015 - CA BrightStor ARCserve Backup Multiple Vulnerabilities (QO84983)
  • 24816 - CA BrightStor ARCserve Backup Tape Engine and Portmapper Multiple Vulnerabilities (QO86255)
  • 25086 - CA BrightStor ARCserve Backup Multiple Vulnerabilities (QO87569)
  • 24013 - CA BrightStor ARCserve Backup Tape Engine Multiple Remote Overflows (QO84983)
  • 18041 - CA BrightStor ARCserve Backup Universal Agent Remote Overflow (QO66526)
  • 22511 - CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows
  • 22510 - CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201)
  • 69317 - CA ARCserve Backup for Laptops and Desktops Server and CA Desktop Management Suite Multiple Remote Vulnerabilities
  • 31731 - CA BrightStor ARCserve Backup ListCtrl ActiveX (ListCtrl.ocx) AddColumn() Method Overflow
  • 20173 - CA Multiple Products Message Queuing Multiple Remote Vulnerabilities

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file CA_License_Service_Stack_Overflow.nasl version 1.34. For more plugins, visit the Nessus Plugin Library.

Go back to menu.