Vulnerabilities > CVE-2009-0880 - Path Traversal vulnerability in IBM Director

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
ibm
microsoft
CWE-22
exploit available
metasploit

Summary

Directory traversal vulnerability in the CIM server in IBM Director before 5.20.3 Service Update 2 on Windows allows remote attackers to load and execute arbitrary local DLL code via a .. (dot dot) in a /CIMListener/ URI in an M-POST request. Per: http://www.securityfocus.com/archive/1/archive/1/501639/100/0/threaded "The vendor has adressed this vulnerability in service update 2 for IBM Director agent 5.20.3. Download link: https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=dmp &S_PKG=director_x_520&S_TACT=sms<=en_US&cp=UTF-8"

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Relative Path Traversal
    An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure.
  • Directory Traversal
    An attacker with access to file system resources, either directly or via application logic, will use various file path specification or navigation mechanisms such as ".." in path strings and absolute paths to extend their range of access to inappropriate areas of the file system. The attacker attempts to either explore the file system for recon purposes or access directories and files that are intended to be restricted from their access. Exploring the file system can be achieved through constructing paths presented to directory listing programs, such as "ls" and 'dir', or through specially crafted programs that attempt to explore the file system. The attacker engaging in this type of activity is searching for information that can be used later in a more exploitive attack. Access to restricted directories or files can be achieved through modification of path references utilized by system applications.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • Using Slashes and URL Encoding Combined to Bypass Validation Logic
    This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL. An URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.

Exploit-Db

  • descriptionIBM System Director Remote System Level Exploit. CVE-2009-0880. Remote exploit for windows platform
    idEDB-ID:23074
    last seen2016-02-02
    modified2012-12-02
    published2012-12-02
    reporterkingcope
    sourcehttps://www.exploit-db.com/download/23074/
    titleIBM System Director Remote System Level Exploit
  • descriptionIBM System Director Agent DLL Injection. CVE-2009-0880. Remote exploit for windows platform
    idEDB-ID:23203
    last seen2016-02-02
    modified2012-12-07
    published2012-12-07
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/23203/
    titleIBM System Director Agent DLL Injection
  • descriptionIBM Director 5.20 CIM Server Privilege Escalation Vulnerability. CVE-2009-0880. Local exploit for windows platform
    idEDB-ID:32845
    last seen2016-02-03
    modified2009-03-10
    published2009-03-10
    reporterBernhard Mueller
    sourcehttps://www.exploit-db.com/download/32845/
    titleIBM Director 5.20 - CIM Server Privilege Escalation Vulnerability

Metasploit

descriptionThis module abuses the "wmicimsv" service on IBM System Director Agent 5.20.3 to accomplish arbitrary DLL injection and execute arbitrary code with SYSTEM privileges. In order to accomplish remote DLL injection it uses a WebDAV service as disclosed by kingcope on December 2012. Because of this, the target host must have the WebClient service (WebDAV Mini-Redirector) enabled. It is enabled and automatically started by default on Windows XP SP3, but disabled by default on Windows 2003 SP2.
idMSF:EXPLOIT/WINDOWS/MISC/IBM_DIRECTOR_CIM_DLLINJECT
last seen2020-05-26
modified2018-09-15
published2012-12-06
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/misc/ibm_director_cim_dllinject.rb
titleIBM System Director Agent DLL Injection

Packetstorm

Seebug

  • bulletinFamilyexploit
    descriptionBUGTRAQ ID: 34065 CVE(CAN) ID: CVE-2009-0880 IBM Director是行业领先的Intel架构系统远程工作组系统管理软件。 IBM Director组件中捆绑了一个CIM服务程序,用于监听传送给本地consumer的indication请求。这些consumer是在系统上的动态链接库或共享对象中实现的。由于没有对consumer名称守护程序检查Windows路径元字符(\),因此可以遍历文件系统指定系统上的任意库。CIM服务器会加载指定的DLL并调用其初始化函数PegasusCreateProvider(const char *)。 仅有能够向目标系统上传文件的本地用户才可以利用这个漏洞。 IBM Director &lt;= 5.20.3 厂商补丁: IBM --- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=dmp&amp;S_PKG=director_x_520&amp;S_TACT=sms&amp;lang=en_US&amp;cp=UTF-8 target=_blank rel=external nofollow>https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=dmp&amp;S_PKG=director_x_520&amp;S_TACT=sms&amp;lang=en_US&amp;cp=UTF-8</a>
    idSSV:4901
    last seen2017-11-19
    modified2009-03-14
    published2009-03-14
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-4901
    titleIBM Director CIM服务器本地权限提升漏洞
  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:76857
    last seen2017-11-19
    modified2014-07-01
    published2014-07-01
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-76857
    titleIBM System Director Remote System Level Exploit