Vulnerabilities > CVE-2010-1221 - Improper Authentication vulnerability in CA products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
CA XOsoft r12.0 and r12.5 does not properly perform authentication, which allows remote attackers to enumerate usernames via a SOAP request.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 6 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Authentication Abuse An attacker obtains unauthorized access to an application, service or device either through knowledge of the inherent weaknesses of an authentication mechanism, or by exploiting a flaw in the authentication scheme's implementation. In such an attack an authentication mechanism is functioning but a carefully controlled sequence of events causes the mechanism to grant access to the attacker. This attack may exploit assumptions made by the target's authentication procedures, such as assumptions regarding trust relationships or assumptions regarding the generation of secret values. This attack differs from Authentication Bypass attacks in that Authentication Abuse allows the attacker to be certified as a valid user through illegitimate means, while Authentication Bypass allows the user to access protected material without ever being certified as an authenticated user. This attack does not rely on prior sessions established by successfully authenticating users, as relied upon for the "Exploitation of Session Variables, Resource IDs and other Trusted Credentials" attack patterns.
- Exploiting Trust in Client (aka Make the Client Invisible) An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
- Utilizing REST's Trust in the System Resource to Register Man in the Middle This attack utilizes a REST(REpresentational State Transfer)-style applications' trust in the system resources and environment to place man in the middle once SSL is terminated. Rest applications premise is that they leverage existing infrastructure to deliver web services functionality. An example of this is a Rest application that uses HTTP Get methods and receives a HTTP response with an XML document. These Rest style web services are deployed on existing infrastructure such as Apache and IIS web servers with no SOAP stack required. Unfortunately from a security standpoint, there frequently is no interoperable identity security mechanism deployed, so Rest developers often fall back to SSL to deliver security. In large data centers, SSL is typically terminated at the edge of the network - at the firewall, load balancer, or router. Once the SSL is terminated the HTTP request is in the clear (unless developers have hashed or encrypted the values, but this is rare). The attacker can utilize a sniffer such as Wireshark to snapshot the credentials, such as username and password that are passed in the clear once SSL is terminated. Once the attacker gathers these credentials, they can submit requests to the web service provider just as authorized user do. There is not typically an authentication on the client side, beyond what is passed in the request itself so once this is compromised, then this is generally sufficient to compromise the service's authentication scheme.
- Man in the Middle Attack This type of attack targets the communication between two components (typically client and server). The attacker places himself in the communication channel between the two components. Whenever one component attempts to communicate with the other (data flow, authentication challenges, etc.), the data first goes to the attacker, who has the opportunity to observe or alter it, and it is then passed on to the other component as if it was never intercepted. This interposition is transparent leaving the two compromised components unaware of the potential corruption or leakage of their communications. The potential for Man-in-the-Middle attacks yields an implicit lack of trust in communication or identify between two components.
Nessus
NASL family Windows NASL id CA_XOSOFT_MULTIPLE_FLAWS.NASL description XOsoft, a product from Computer Associates for combined business continuity and disaster recovery, is installed on the remote Windows host. According to its version, it is affected by several vulnerabilities. - By sending a specially crafted SOAP request, it may be possible for an unauthenticated attacker to enumerate users on the remote system. (CVE-2010-1221) - By sending a specially crafted SOAP request, it may be possible for an unauthenticated attacker to gain sensitive information from the remote system. (CVE-2010-1222) - By sending a specially crafted request, it may be possible for an attacker to execute arbitrary code on the remote system within the context of the service or trigger a denial of service condition. (CVE-2010-1223) last seen 2020-06-01 modified 2020-06-02 plugin id 45503 published 2010-04-13 reporter This script is Copyright (C) 2010-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/45503 title Computer Associates XOsoft Multiple Flaws (CA20100406) (credentialed check) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(45503); script_version("1.8"); script_cvs_date("Date: 2018/11/15 20:50:26"); script_cve_id("CVE-2010-1221", "CVE-2010-1222", "CVE-2010-1223"); script_bugtraq_id(39238, 39244, 39249); script_xref(name:"Secunia", value:"39337"); script_name(english:"Computer Associates XOsoft Multiple Flaws (CA20100406) (credentialed check)"); script_summary(english:"Checks version of mng_core_com.dl"); script_set_attribute(attribute:"synopsis", value: "The remote Windows host contains an application that is affected by multiple vulnerabilities." ); script_set_attribute(attribute:"description", value: "XOsoft, a product from Computer Associates for combined business continuity and disaster recovery, is installed on the remote Windows host. According to its version, it is affected by several vulnerabilities. - By sending a specially crafted SOAP request, it may be possible for an unauthenticated attacker to enumerate users on the remote system. (CVE-2010-1221) - By sending a specially crafted SOAP request, it may be possible for an unauthenticated attacker to gain sensitive information from the remote system. (CVE-2010-1222) - By sending a specially crafted request, it may be possible for an attacker to execute arbitrary code on the remote system within the context of the service or trigger a denial of service condition. (CVE-2010-1223)"); script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-10-065/" ); script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-10-066/" ); # https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=232869 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cc6c8832"); script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2010/Apr/82"); script_set_attribute(attribute:"solution", value: "Apply vendor-supplied patches." ); 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:"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:"vuln_publication_date", value:"2010/04/06"); script_set_attribute(attribute:"patch_publication_date", value:"2010/04/06"); script_set_attribute(attribute:"plugin_publication_date",value:"2010/04/13"); script_set_attribute(attribute:"plugin_type", value:"local"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2010-2018 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("http_version.nasl", "smb_hotfixes.nasl"); script_require_keys("SMB/Registry/Enumerated"); script_require_ports(139, 445); exit(0); } include("smb_func.inc"); include("smb_hotfixes.inc"); include("misc_func.inc"); include("http.inc"); if (report_paranoia < 2) { port = get_http_port(default:8088); banner = get_http_banner(port:port); if (!banner) exit(1, "Unable to get banner from web server on port "+port+"."); if(!egrep(pattern:"^Server:.*Microsoft-HTTPAPI/",string:banner)) exit(0,"The banner from the web server on port "+ port + " does not appear to be from XOsoft."); url = "/entry_point.aspx?width=1440"; res = http_send_recv3(method:"GET", item:url, port:port,exit_on_fail:1); if ("Login to CA XOsoft" >!< res[2]) exit (0, "The web application running on port "+ port + " does not appear to be XOsoft."); } if (!get_kb_item("SMB/Registry/Enumerated")) exit(1,"The 'SMB/Registry/Enumerated' KB item is missing."); # Connect to the appropriate share. name = kb_smb_name(); port = kb_smb_transport(); if (!get_port_state(port)) exit(1, "Port "+port+" is not open."); login = kb_smb_login(); pass = kb_smb_password(); domain = kb_smb_domain(); soc = open_sock_tcp(port); if (!soc) exit(1,"Can't open socket on port "+port+"."); session_init(socket:soc, hostname:name); rc = NetUseAdd(login:login, password:pass, domain:domain, share:"IPC$"); if (rc != 1) { NetUseDel(); exit(1, "Can't connect to IPC$ share."); } # Connect to remote registry. hklm = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE); if (isnull(hklm)) { NetUseDel(); exit(1, "Can't connect to remote registry."); } # Find where it's installed. path = NULL; key = "SOFTWARE\CA\XOsoft\Manager"; key_h = RegOpenKey(handle:hklm, key:key, mode:MAXIMUM_ALLOWED); if (!isnull(key_h)) { value = RegQueryValue(handle:key_h, item:"Install_Dir"); if (!isnull(value)) path = value[1]; RegCloseKey(handle:key_h); } RegCloseKey(handle:hklm); if (isnull(path)) { NetUseDel(); exit(0, "XOsoft product is not installed.."); } # Grab the file version of file mng_core_com.dll. share = ereg_replace(pattern:"^([A-Za-z]):.*", replace:"\1$", string:path); dll = ereg_replace(pattern:"^[A-Za-z]:(.*)", replace:"\1\mng_core_com.dll", string:path); NetUseDel(close:FALSE); rc = NetUseAdd(login:login, password:pass, domain:domain, share:share); if (rc != 1) { NetUseDel(); exit(1, "Can't connect to "+share+" share."); } fh = CreateFile( file:dll, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING ); ver = NULL; if (!isnull(fh)) { ver = GetFileVersion(handle:fh); CloseFile(handle:fh); } NetUseDel(); # Check the version number. if (!isnull(ver)) { if(ver[0] == 5) fixed_version = "5.0.5.128"; # 12.0 else if (ver[0] == 12 && ver[1] == 5) fixed_version = "12.5.2.563"; # 12.5 # Do not flag versions other than 12.0 and 12.5 # as they might not be affected. else exit(0, "XOsoft version "+ join(ver,sep:".") + " is not known to be affected."); version = join(ver, sep:"."); fix = split(fixed_version, sep:'.', keep:FALSE); for (i=0; i<max_index(fix); i++) fix[i] = int(fix[i]); for (i=0; i<max_index(ver); i++) if ((ver[i] < fix[i])) { if (report_verbosity > 0) { report = "\n Path : " + path + "\n Installed version : " + version + "\n Fixed version : " + fixed_version + '\n'; security_hole(port:port, extra:report); } else security_hole(port); exit(0); } else if (ver[i] > fix[i]) break; exit(0, "XOsoft version "+version+" is installed and not vulnerable."); } else exit(1, "Couldn't get file version of '"+(share-'$')+":"+dll+"'.");
NASL family CGI abuses NASL id CA_XOSOFT_USER_ENUMERATION.NASL description The remote web server is a component of XOsoft, a product from Computer Associates for combined business continuity and disaster recovery. The installed version of this service does not require authentication when handling SOAP requests to enumerate user names. An unauthenticated, remote attacker can leverage this issue to enumerate local users on the remote system. The installed version is reportedly also affected by other vulnerabilities, including one that may allow arbitrary code execution on the remote system. Nessus however has not checked for existence of such vulnerabilities. last seen 2020-06-01 modified 2020-06-02 plugin id 45502 published 2010-04-13 reporter This script is Copyright (C) 2010-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/45502 title Computer Associates XOsoft SOAP Request Username Enumeration (CA20100406) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(45502); script_version("1.11"); script_cvs_date("Date: 2018/11/15 20:50:16"); script_cve_id("CVE-2010-1221"); script_bugtraq_id(39244); script_xref(name:"Secunia", value:"39337"); script_name(english:"Computer Associates XOsoft SOAP Request Username Enumeration (CA20100406)"); script_summary(english:"Attempts to list local users on the remote system"); script_set_attribute(attribute:"synopsis", value: "The remote host has a web application that is affected by an information disclosure vulnerability." ); script_set_attribute(attribute:"description", value: "The remote web server is a component of XOsoft, a product from Computer Associates for combined business continuity and disaster recovery. The installed version of this service does not require authentication when handling SOAP requests to enumerate user names. An unauthenticated, remote attacker can leverage this issue to enumerate local users on the remote system. The installed version is reportedly also affected by other vulnerabilities, including one that may allow arbitrary code execution on the remote system. Nessus however has not checked for existence of such vulnerabilities."); script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cc6c8832"); script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2010/Apr/82"); script_set_attribute(attribute:"solution", value: "Apply the appropriate patch referenced in the vendor advisory." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); 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:"vuln_publication_date", value:"2010/04/06"); script_set_attribute(attribute:"patch_publication_date", value:"2010/04/06"); script_set_attribute(attribute:"plugin_publication_date",value:"2010/04/13"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"exploited_by_nessus", value:"true"); script_end_attributes(); script_category(ACT_ATTACK); script_family(english:"CGI abuses"); script_copyright(english:"This script is Copyright (C) 2010-2018 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("http_version.nasl"); script_exclude_keys("Settings/disable_cgi_scanning"); script_require_keys("www/ASP"); script_require_ports("Services/www", 8088); exit(0); } include("global_settings.inc"); include("misc_func.inc"); include("http.inc"); include ("data_protection.inc"); port = get_http_port(default:8088); banner = get_http_banner(port:port); if (!banner) exit(1, "Unable to get banner from web server on port "+port+"."); if(!egrep(pattern:"^Server:.*Microsoft-HTTPAPI/",string:banner)) exit(0,"The banner from the web server on port "+ port + " does not appear to be from XOsoft."); url = "/ws_man/xosoapapi.asmx"; res = http_send_recv3(method:"GET", item:url, port:port,exit_on_fail:1); info = NULL; if (">xosoapapi_c<" >< res[2]) { # First get a list of groups to check. postdata = '<?xml version="1.0" encoding="utf-8"?>' + '\r\n' + '<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">' + '\r\n' + '<soap12:Body>' + '\r\n' + '<get_local_group_names xmlns="http://ca.com/" />' + '\r\n' + '</soap12:Body>' + '\r\n' + '</soap12:Envelope>' + '\r\n'; res = http_send_recv3( method:"POST", item:url, port:port, add_headers: make_array("Content-Type", "application/soap+xml; charset=utf-8", "Content-Length",strlen(postdata)), data:postdata, exit_on_fail:1 ); if("><get_local_group_namesResult>" >< res[2] && 'group name=' >< res[2]) { groups = make_list(); foreach line (split(res[2])) { matches = eregmatch(pattern:'group name=\"(.+)\"/>',string:line) ; if(matches) groups = make_list(groups,matches[1]); } # If we could not get the list of local group names # Try few groups that should typically exist. if(max_index(groups) == 0) groups = make_list("Administrators", "Users", "Guests"); foreach group (groups) { postdata2 = '<?xml version="1.0" encoding="utf-8"?>' + '\r\n' + '<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">' + '\r\n' + '<soap12:Body>' + '\r\n' + ' <get_group_users xmlns="http://ca.com/">' + '\r\n' + ' <group_name>' + group + '</group_name>' + '\r\n' + ' </get_group_users>' + '\r\n' + '</soap12:Body>' + '\r\n' + '</soap12:Envelope>' + '\r\n' ; res = http_send_recv3( method:"POST", item:url, port:port, add_headers: make_array("Content-Type", "application/soap+xml; charset=utf-8", "Content-Length",strlen(postdata2)), data:postdata2, exit_on_fail:1 ); if("><get_group_usersResult>" >< res[2] && "xo_user user=" >< res[2]) { users = NULL; foreach line (split(res[2])) { matches = eregmatch(pattern:'xo_user user=\"(.+)\"/>',string:line) ; if(matches) users += " + " + matches[1] + '\n'; } if(!isnull(users)) { info += '\n' + group + " group : " + '\n\n' + users ; req = http_last_sent_request(); } } # Stop...if we found users and thorough_tests were not enabled. if(!isnull(info) && !thorough_tests) break; } } } else exit(1, "The web application on port "+ port + " does not appear to be XOsoft."); if(!isnull(info)) { if(report_verbosity > 0 ) { report = '\n' + 'Nessus was able to verify the issue using the following request : \n' + '\n' + crap(data:"-", length:30) + " snip " + crap(data:"-", length:30) + '\n' + req + '\n' + crap(data:"-", length:30) + " snip " + crap(data:"-", length:30) + '\n'; if(report_verbosity > 1) { info = data_protection::sanitize_user_enum(users:info); report += 'Here is the list of users that Nessus was able to enumerate :\n' + info + '\n' ; if(!thorough_tests) report += '\nNote that only a partial list of users were enumerated since\n' + "'thorough_tests' was disabled for this scan." + '\n'; } security_warning(port:port, extra:report); } else security_warning(port); exit(0); } else exit(0, "The version of XOsoft on port "+ port + " is not affected.");
References
- http://www.securityfocus.com/archive/1/510564/100/0/threaded
- http://www.securityfocus.com/archive/1/510564/100/0/threaded
- http://www.securityfocus.com/bid/39244
- http://www.securityfocus.com/bid/39244
- https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=232869
- https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=232869