IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562) - Nessus
Critical Plugin ID: 42824This page contains detailed information about the IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 42824
Name: IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562)
Filename: ibm_tsm_client_swg21405562.nasl
Vulnerability Published: 2009-11-03
This Plugin Published: 2009-11-16
Last Modification Time: 2022-04-11
Plugin Version: 1.13
Plugin Type: remote
Plugin Family: Gain a shell remotely
Dependencies:
http_version.nasl, ibm_tsm_cad_detect.nasl
Required KB Items [?]: Services/ibm_tsm_cad
Vulnerability Information
Severity: Critical
Vulnerability Published: 2009-11-03
Patch Published: 2009-11-03
CVE [?]: CVE-2009-3853, CVE-2009-3854, CVE-2009-3855
CPE [?]: cpe:/a:ibm:tivoli_storage_manager
Synopsis
The remote backup client is susceptible to multiple attacks.
Description
The remote host is running an IBM Tivoli Storage Manager (TSM) client. The version running on the remote host has one or more of the following vulnerabilities :
- A remote stack-based buffer overflow in the client acceptor daemon (CAD) scheduler could lead to the execution of arbitrary code. (CVE-2009-3853)
- A remote, stack-based buffer overflow in the traditional scheduler could lead to the execution of arbitrary code. (CVE-2009-3854)
- There is an unspecified, unauthorized access vulnerability in the Unix, Linux, and OS/400 API clients when specifying the MAILPROG option. This vulnerability reportedly allows a remote attacker to modify arbitrary files on the remote host. (CVE-2009-2855)
Solution
Upgrade to the relevant version of Tivoli Storage Manager client referenced in the vendor's advisory.
Public Exploits
Target Network Port(s): 1581
Target Asset(s): Services/www
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 IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562) vulnerability:
- Metasploit: exploit/windows/http/ibm_tsm_cad_header
[IBM Tivoli Storage Manager Express CAD Service Buffer Overflow] - Metasploit: exploit/windows/misc/ibm_tsm_cad_ping
[IBM Tivoli Storage Manager Express CAD Service Buffer Overflow] - Exploit-DB: exploits/windows/remote/16421.rb
[EDB-16421: IBM Tivoli Storage Manager Express CAD Service - Remote Buffer Overflow (Metasploit) (1)] - Immunity Canvas: D2ExploitPack
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 ibm_tsm_client_swg21405562.nasl nessus plugin source code. This script is Copyright (C) 2009-2022 Tenable Network Security, Inc.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(42824);
script_version("1.13");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2009-3853", "CVE-2009-3854", "CVE-2009-3855");
script_bugtraq_id(36916);
script_xref(name:"SECUNIA", value:"32534");
script_name(english:"IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562)");
script_set_attribute(attribute:"synopsis", value:
"The remote backup client is susceptible to multiple attacks.");
script_set_attribute(attribute:"description", value:
"The remote host is running an IBM Tivoli Storage Manager (TSM) client.
The version running on the remote host has one or more of the
following vulnerabilities :
- A remote stack-based buffer overflow in the client
acceptor daemon (CAD) scheduler could lead to the
execution of arbitrary code. (CVE-2009-3853)
- A remote, stack-based buffer overflow in the traditional
scheduler could lead to the execution of arbitrary
code. (CVE-2009-3854)
- There is an unspecified, unauthorized access
vulnerability in the Unix, Linux, and OS/400 API clients
when specifying the MAILPROG option. This vulnerability
reportedly allows a remote attacker to modify arbitrary
files on the remote host. (CVE-2009-2855)");
script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant version of Tivoli Storage Manager client
referenced in the vendor's advisory.");
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:'IBM Tivoli Storage Manager Express CAD Service Buffer 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:"D2ExploitPack");
script_cwe_id(119);
script_set_attribute(attribute:"vuln_publication_date", value:"2009/11/03");
script_set_attribute(attribute:"patch_publication_date", value:"2009/11/03");
script_set_attribute(attribute:"plugin_publication_date", value:"2009/11/16");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:ibm:tivoli_storage_manager");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Gain a shell remotely");
script_copyright(english:"This script is Copyright (C) 2009-2022 Tenable Network Security, Inc.");
script_dependencies("http_version.nasl", "ibm_tsm_cad_detect.nasl");
script_require_keys("Services/ibm_tsm_cad");
script_require_ports("Services/www", 1581);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
port = get_http_port(default:1581, embedded:TRUE);
tsm_port = get_kb_item("Services/ibm_tsm_cad");
if (isnull(tsm_port)) exit(1, "The 'Services/ibm_tsm_cad' KB item is missing.");
# Make sure the banner looks like TSM unless we're paranoid
if (report_verbosity < 2)
{
banner = get_http_banner(port:port);
if (isnull(banner))
exit(1, "Unable to get web server banner on port "+port+".");
if ('Server: TSM_HTTP' >!< banner)
exit(1, "The web server on port "+port+" isn't TSM_HTTP.");
}
# Grab the main page.
res = http_send_recv3(method:"GET", item:"/BACLIENT", port:port);
if (isnull(res)) exit(1, "The web server on port "+port+" failed to respond.");
# If it looks like TSM Client...
if ('adsm.cadmin.clientgui.DDsmApplet.class"' >< res[1])
{
# Pull out the version number.
ver = NULL;
pat = ' version *= *"([0-9][0-9.]+) *"';
matches = egrep(pattern:pat, string:res[1]);
if (matches)
{
foreach match (split(matches, keep:FALSE))
{
item = eregmatch(pattern:pat, string:match);
if (!isnull(item))
{
ver = item[1];
if (ver[strlen(ver)-1] == '.') ver = substr(ver, 0, strlen(ver)-2);
break;
}
}
}
if (!isnull(ver))
{
iver = split(ver, sep:'.', keep:FALSE);
for (i=0; i < max_index(ver); i++)
iver[i] = int(iver[i]);
# TSM 6.1.x < 6.1.0.2
if ((iver[0] == 6 && iver[1] == 1 && iver[2] == 0 && iver[3] < 2))
fixed_ver = '6.1.0.2';
# Checks all 5.x branches
if (iver[0] == 5)
{
# TSM 5.5.x < 5.5.2.2
if (iver[1] == 5 && (iver[2] < 2 || (iver[2] == 2 && iver[3] < 2)))
fixed_ver = '5.5.2.2';
# TSM 5.4.x < 5.4.3
if (iver[1] == 4 && iver[2] < 3)
fixed_ver = '5.4.3';
# TSM / TSM Express 5.3 < 5.3.6.7
if (iver[1] == 3 && (iver[2] < 6 || (iver[2] == 6 && iver[3] < 7)))
fixed_ver = '5.3.6.7';
}
if (!isnull(fixed_ver))
{
if (report_verbosity > 0)
{
report = "
Installed version : " + ver + "
Fixed version : " + fixed_ver + "
";
security_hole(port:tsm_port, extra:report);
}
else security_hole(tsm_port);
}
else exit(0, "The host is not affected on port "+tsm_port+".");
}
else exit(1, "Unable to extract version of TSM client from port "+port+".");
}
else exit(1, "The web server on port "+port+" doesn't look like TSM.");
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/ibm_tsm_client_swg21405562.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\ibm_tsm_client_swg21405562.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/ibm_tsm_client_swg21405562.nasl
Go back to menu.
How to Run
Here is how to run the IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Gain a shell remotely plugin family.
- On the right side table select IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562) plugin ID 42824.
- Specify the target on the Settings tab and click to Save the scan.
- 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 ibm_tsm_client_swg21405562.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a ibm_tsm_client_swg21405562.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - ibm_tsm_client_swg21405562.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 ibm_tsm_client_swg21405562.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: Secunia Advisory: CWE | Common Weakness Enumeration:
- CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
- https://www.tenable.com/plugins/nessus/42824
- https://vulners.com/nessus/IBM_TSM_CLIENT_SWG21405562.NASL
- 25662 - IBM Tivoli Storage Manager Multiple Remote Overflows
- 24903 - IBM Lotus Domino IMAP Server (nimap.exe) CRAM-MD5 Authentication Remote Overflow
- 54943 - IBM Tivoli Directory Server SASL Bind Request Buffer Overflow (uncredentialed check)
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file ibm_tsm_client_swg21405562.nasl version 1.13. For more plugins, visit the Nessus Plugin Library.
Go back to menu.