Sponsor
Sponsor
Sponsor
Sponsor
Save $100s on cell phones by buying online at Wirefly.com.
Sponsor
A full selection of Nokia Phone Accessories for almost any make or model phone at 60% off retail.
Sponsor
See The Smartphone Database for the latest smartphone specs.
Nokia LCD, Flex Cable, Wholesale phone parts trusted supplier.

HTC refuses to fix Bluetooth FTP vulnerability

HTC devices running Windows Mobile 6 and Windows Mobile 6.1 are prone to a directory traversal vulnerability in the Bluetooth OBEX FTP Service. Exploiting this issue allows a remote authenticated attacker to list arbitrary directories, and write or read arbitrary files, via a ../ in a pathname. This can be leveraged for code execution by writing to a Startup folder. We wrote about this vulnerability in January this year, but since then HTC has done nothing to fix it.

The vulnerability is in a 3rd party driver developed by HTC and installed on HTC devices running Windows Mobile, so the vulnerability only affects HTC devices specifically. HTC devices running Windows Mobile 5.0 are not affected because the OBEX FTP service is not implemented in that OS version. Other vendors of Windows Mobile devices such as ASUS, Samsung, LG are not affected.

The only requirement is that the attacker must have authentication and authorization privileges over Bluetooth. Pairing up with the remote device should be enough to get it; however, more sophisticated attacks, such as sniffing the Bluetooth pairing, linkkey cracking and BD_ADDR address spoofing, can be used in order to avoid this. Devices must have Bluetooth enabled and File Sharing over Bluetooth service active when the attack is performed. In case the attacker succeeded in getting the proper privileges, further actions will be transparent to the user.

A remote attacker who previously owned authentication and authorization rights over Bluetooth can perform three risky actions on the device:

1) Browse directories located out of the limits of the default shared folder

An attacker can discover the structure of the file system and access to any directory within it, including:
- The flash hard drive
- The external storage card
- The internal mass storage memory, included in specific HTC devices

2) Download files without permission

An attacker can download sensitive files located anywhere in the file system, such as:
- personal pictures and documents located in \My Documents or any other directory
- Contacts, Calendar & Tasks information located in \PIM.vol
- Temporary internet cache and cookies located in \Windows\Profiles\guest\
- emails located in \Windows\Messaging

3) Upload malicious files

An attacker can replace third party or system executable files with malicious files as well as upload trojans to any place in the filesystem, such as \Windows\Startup and, therefore, shall be executed the next time Windows Mobile boots.

You can find a list of tested HTC devices proved to be vulnerable are available here.

The vulnerability was first disclosed on 2009/01/19 as a whole Microsoft Bluetooth Stack issue in Windows Mobile 6 Professional. Subsequent tests proved that several Windows Mobile 6 Standard and Windows Mobile 6.1 Professional devices were also vulnerable. Microsoft was contacted on 2009/01/22 and this information was not made public because last mobile phones manufactured were vulnerable.

Further investigations proved that the issue is in a 3rd party driver installed by HTC, this vulnerability only affects to HTC devices and other vendors Windows Mobile devices are not affected.

HTC Europe has been contacted since 2009/02/09 and provided with all the details concerning on the exploitation of the flaw. However, no patches are known to be released for this security flaw.

This vulnerability is a zero-day threat. This means that all devices shipped up to date (July 2009) may be vulnerable.

Mitigation by users would be not to accept pairing nor connection requests from unknown sources and delete old entries in the paired devices list.

Read more at Packetstormsecurity here.

You might also like

MMS vulnerability allows Sender to be spoofed Michael Mueller a.k.a. c0rnholio has discovered a wide spread vulnerability in mobile phone MMS software,...
Major security hole in WM5, WM6 bluetooth stack Security Researcher Alberto Moreno Tablado has discovered a major hole in the bluetooth stack of...
Windows Mobile feature being used to spy on users Back in the old days of PocketPC 2003 windows mobile has ‘push’ e-mail driven by SMS messages. A...
Windows Phone World Podcast 25 The 25th edition of our weekly Windows Mobile podcast is now available for download. David from...

4 Responses to “HTC refuses to fix Bluetooth FTP vulnerability”

  • simbadogg:

    so…in short, if you disable sharing over bluetooth you’re protected? doesn’t seem like rocket science to me.

    admin Reply:

    Thats protection, but not a fix.

    admin Reply:

    Thats protection, but not a fix.

  • out of curiosity, do unofficial WM 6.5 ROMs for HTC devices suffer this vulnerability? Does anybody know? I would think it is likely since a lot of drivers are taken from earlier official builds.

    I would be interested to find out if this is related to the hacked up nature of HTC’s bluetooth stacks so that it is hardwired to TF3D? I installed an alternate bluetooth stack so I could get A2DP to work directly in PocketPlayer. I wonder if doing so “fixes” this issue?

    Kapow Reply:

    Yes, you are still vulnerable. This is a Microsoft driver that offers the service, now if you replaced it with an alt bt driver stack, it is still OBEX enabled. Which is what the vulnerability is refering to.

    Kapow Reply:

    Yes, you are still vulnerable. This is a Microsoft driver that offers the service, now if you replaced it with an alt bt driver stack, it is still OBEX enabled. Which is what the vulnerability is refering to.

Leave a Reply

You must be logged in to post a comment.

Search
WP7 Device Hub
Win an HTC HD2!
Follow us on twitter and win a T-Mobile USA HTC HD2! twitter Terms and Conditions
Recent Comments