Vulnerabilities > CVE-2008-1117 - Path Traversal vulnerability in Netopia Timbuktu PRO 8.6.5
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Directory traversal vulnerability in the Notes (aka Flash Notes or instant messages) feature in tb2ftp.dll in Timbuktu Pro 8.6.5 for Windows, and possibly 8.7 for Mac OS X, allows remote attackers to upload files to arbitrary locations via a destination filename with a \ (backslash) character followed by ../ (dot dot slash) sequences. NOTE: this can be leveraged for code execution by writing to a Startup folder. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2007-4220.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
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
description Motorola Timbuktu Pro 8.6.5/8.7 Path Traversal / Log Injection Exploit. CVE-2008-1117,CVE-2008-1118. Remote exploit for windows platform file exploits/windows/remote/5238.py id EDB-ID:5238 last seen 2016-01-31 modified 2008-03-11 platform windows port published 2008-03-11 reporter Core Security source https://www.exploit-db.com/download/5238/ title Motorola Timbuktu Pro 8.6.5/8.7 Path Traversal / Log Injection Exploit type remote description Motorola Timbuktu Pro <= 8.6.5 File Deletion/Creation Exploit. CVE-2008-1117. Remote exploit for windows platform file exploits/windows/remote/4455.pl id EDB-ID:4455 last seen 2016-01-31 modified 2008-03-11 platform windows port published 2008-03-11 reporter titon source https://www.exploit-db.com/download/4455/ title Motorola Timbuktu Pro <= 8.6.5 File Deletion/Creation Exploit type remote description Timbuktu Pro Directory Traversal/File Upload. CVE-2008-1117. Remote exploit for windows platform id EDB-ID:16339 last seen 2016-02-01 modified 2010-11-24 published 2010-11-24 reporter metasploit source https://www.exploit-db.com/download/16339/ title Timbuktu Pro Directory Traversal/File Upload
Metasploit
description | This module exploits a directory traversal vulnerability in Motorola's Timbuktu Pro for Windows 8.6.5. |
id | MSF:EXPLOIT/WINDOWS/MOTOROLA/TIMBUKTU_FILEUPLOAD |
last seen | 2020-05-23 |
modified | 2017-09-14 |
published | 2009-09-26 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1117 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/motorola/timbuktu_fileupload.rb |
title | Timbuktu Pro Directory Traversal/File Upload |
Packetstorm
data source https://packetstormsecurity.com/files/download/82939/timbuktu_fileupload.rb.txt id PACKETSTORM:82939 last seen 2016-12-05 published 2009-11-26 reporter MC source https://packetstormsecurity.com/files/82939/Timbuktu-Pro-Directory-Traversal-File-Upload..html title Timbuktu Pro Directory Traversal/File Upload. data source https://packetstormsecurity.com/files/download/64510/CORE-2008-0204.txt id PACKETSTORM:64510 last seen 2016-12-05 published 2008-03-13 reporter Core Security Technologies source https://packetstormsecurity.com/files/64510/Core-Security-Technologies-Advisory-2008.0204.html title Core Security Technologies Advisory 2008.0204
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 28081 CVE(CAN) ID: CVE-2008-1117,CVE-2008-1118 Motorola的Timbuktu Pro是一款远程控制软件,允许远程访问计算机桌面。 Timbuktu的tb2pro.exe所加载的tb2ftp.dll库在实现Notes功能期间检查目标文件名时没有正确地过滤“\”和“/”字符,允许攻击者执行目录遍历攻击,向目标机器的任意位置上传文件;Timbuktu直接从用户所发送的报文中获取了一些包含有对等端信息的字段(计算机名、用户名、IP地址等),并在目标机器的屏幕上显示这些信息,这就允许攻击者在受害用户的日志行中伪造对等端信息。 以下是反汇编的漏洞代码: /----------- .text:6063A62E mov edx, [ebp+lp] .text:6063A631 mov eax, [edx+20h] ; Packet field containing filename .text:6063A634 push eax ; EAX is also the output buffer .text:6063A635 call ds:Pascal2C ; Extract filename from packet .text:6063A63B push '\' ; Char to filter in the filename .text:6063A63D mov ecx, [ebp+lp] .text:6063A640 mov edx, [ecx+20h] .text:6063A643 push edx ; Filename obtained in 0x6063A635 .text:6063A644 call _strrchr ; Search for '\' in the filename .text:6063A649 add esp, 8 ; At this point, the pointer to the ; position of the '\' is obtained and ; will be stored in a local variable. .text:6063A64C mov [ebp+pSlashPosition], eax ; Store '\' pointer .text:6063A64F cmp [ebp+pSlashPosition], 0 ; This is the BUG !!!! .text:6063A653 jnz short loc_6063A669 ; It avoids checking '/' if ; '\' was found, so we must ; send '\' and then as much ; "../" as we want :) .text:6063A655 push '/' ; This check won't be done .text:6063A657 mov eax, [ebp+lp] ; because the '\' was found .text:6063A65A mov ecx, [eax+20h] .text:6063A65D push ecx .text:6063A65E call _strrchr .text:6063A663 add esp, 8 .text:6063A666 mov [ebp+pSlashPosition], eax .text:6063A669 loc_6063A669: .text:6063A669 cmp [ebp+pSlashPosition], 0 ; Check if a slash was ;found so .text:6063A66D jz short loc_6063A68C ; it copies past it's ;position .text:6063A66F push 200h .text:6063A674 mov edx, [ebp+pSlashPosition]; Get the '\' position and move .text:6063A677 add edx, 1 ; forward 1 byte to avoid it .text:6063A67A push edx .text:6063A67B mov eax, [ebp+lp] .text:6063A67E add eax, 4B0h .text:6063A683 push eax .text:6063A684 call ds:lstrcpynA ; From know on, the filename .text:6063A68A jmp short loc_6063A6A ; contains something like ; ../a.exe :) . . . . . - -----------/ Motorola Timbuktu Pro for Windows 8.6.5 Motorola -------- 目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本: <a href=http://www.motorola.com/ target=_blank>http://www.motorola.com/</a> |
id | SSV:3039 |
last seen | 2017-11-19 |
modified | 2008-03-15 |
published | 2008-03-15 |
reporter | Root |
title | Timbuktu Pro文件上传和日志注入漏洞 |
References
- http://aluigi.altervista.org/adv/timbuto-adv.txt
- http://aluigi.altervista.org/adv/timbuto-adv.txt
- http://aluigi.org/poc/timbuto.zip
- http://aluigi.org/poc/timbuto.zip
- http://secunia.com/advisories/29316
- http://secunia.com/advisories/29316
- http://securityreason.com/securityalert/3741
- http://securityreason.com/securityalert/3741
- http://www.coresecurity.com/?action=item&id=2166
- http://www.coresecurity.com/?action=item&id=2166
- http://www.securityfocus.com/archive/1/489360/100/0/threaded
- http://www.securityfocus.com/archive/1/489360/100/0/threaded
- http://www.securityfocus.com/archive/1/489382/100/0/threaded
- http://www.securityfocus.com/archive/1/489382/100/0/threaded
- http://www.securityfocus.com/archive/1/489414/100/0/threaded
- http://www.securityfocus.com/archive/1/489414/100/0/threaded
- http://www.securityfocus.com/bid/28081
- http://www.securityfocus.com/bid/28081
- http://www.vupen.com/english/advisories/2008/0840
- http://www.vupen.com/english/advisories/2008/0840
- https://www.exploit-db.com/exploits/4455
- https://www.exploit-db.com/exploits/4455
- https://www.exploit-db.com/exploits/5238
- https://www.exploit-db.com/exploits/5238