BugTraq
BlueMe Bluetooth v5.0 iOS - Code Execution Vulnerability Apr 10 2014 11:54AM
Vulnerability Lab (research vulnerability-lab com)
Document Title:
===============
BlueMe Bluetooth v5.0 iOS - Code Execution Vulnerability

References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1251

Release Date:
=============
2014-04-08

Vulnerability Laboratory ID (VL-ID):
====================================
1251

Common Vulnerability Scoring System:
====================================
9.2

Product & Service Introduction:
===============================
New version is live on AppStore, we added many new functions. Please upgrade. In case you are facing any issues, feel free to write
on blueme (at) GenXM (dot) com [email concealed] , we will immediate resolve your concern. Kindly post bad reviews only if we are not able to solve your concerns.
OVER 2 Million downloads! Transfer any file format now! Rated best app for bluetooth transfer. BlueMe â?? We have added many new functions
based on our users request. Thanks a lot for supporting and downloading our application.

(Copy of the Homepage: https://itunes.apple.com/in/app/blueme/id456598582 )

Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered a remote code execution vulnerability in the official HyTech Professionals BlueMe v5.0 iOS mobile bluetooth application.

Vulnerability Disclosure Timeline:
==================================
2014-04-08: Public Disclosure (Vulnerability Laboratory)

Discovery Status:
=================
Published

Affected Product(s):
====================
HyTech Professionals
Product: Blue Me Bluetooth - iOS Mobile Application 5.0

Exploitation Technique:
=======================
Remote

Severity Level:
===============
Critical

Technical Details & Description:
================================
A remote code execution web vulnerability has been discovered in the official HyTech Professionals BlueMe v5.0 iOS mobile bluetooth application.
The vulnerability allows an remote attackers to execute own malicious system specific codes to compromise the iOS bluetooth mobile application.

The vulnerability is located in the body > message context input and affects the bluetooth message listing. Remote attackers are able to inject
own system specific codes in the bluetooth message listing to compromise mobile application. The message input is not encoded or parsed
and the app functions itself only allows to send text and pictures of the local storage (phone album). The exploit can also be combined with
a loop codes to crash the app or own web script codes (htmls,php or js) to perform further attacks and persistent manipulation of modules.
The injection method requires an exchange with another connected bluetooth chat user and the attack vector is located on the application-side
of the vulnerable mobile application. The attacker includes his message with the code execution payload and the code execution occurs after
the message has been send to the local bluetooth service. The execution of the system specific code occurs in the chat messages output listing
and chat history. The code execution in the message listing does not require a link ref click or mouse-over (interaction) and executes directly
on the arrival. The security risk of the remote code execution web vulnerability is estimated as critical with a cvss (common vulnerability
scoring system) count of 9.0(+)|(-)9.1.

Exploitation of the code execution vulnerability requires a connected bluetooth user to chat and no privileged account. User interaction connect
and accept is required to interact with another user via bluetooth. Successful exploitation of the remote vulnerability results in mobile
application compromise and connected or affected device component compromise.

Note: The Bluetooth Text Chat v1.0 iOS uses the same vulnerable code engine (http://www.vulnerability-lab.com/get_content.php?id=1250)

Request Method(s):
[+] Bluetooth (Chat > POST)

Vulnerable Module(s):
[+] Bluetooth Chat IM

Vulnerable Input(s):
[+] message

Vulnerable Parameter(s):
[+] body > message context

Affected Module(s):
[+] Messages Listing
[+] Message History

Proof of Concept (PoC):
=======================
The system specific code execution vulnerability can be exploited by remote attackers via bluetooth, without required user interaction but the connection
for messaging needs to be accepted. For security demonstration or to reproduce the code execution vulnerability follow the provided information and steps
below to continue.

Requirement(s):
1. 2 x iOS devices (Tested: iPhone (A) and a iPad (B) with iOS v7.1)
2. Mobile application > https://itunes.apple.com/in/app/blueme/id456598582
3. Both devices need the bluetooth module (active)

Manually steps to reproduce the vulnerability ...
1. Install the application on both ios devices ( https://itunes.apple.com/in/app/blueme/id456598582 )
2. Start both applications and sync the bluetooth chat connection of device A to B
3. Accept the connection at device B of the A device request
4. Include a system specific code inside of the message body input field and press send/submit
5. The code execution occurs to everybody (A & B) who is listed as user in the same chat conversation
Note: The target user does not need to click or interact with the attacker the message only needs to arrive
6. Successful reproduce of the bluetooth blue me app remote code execution vulnerability!

Picture(s):
http://www.vulnerability-lab.com/resources/pictures/1251/1.png

Solution - Fix & Patch:
=======================
The vulnerability can be patched by a secure parse and encode of the message body text input. Filter and encode also the vulnerability messages output listing
after the input and the message history to prevent further code execution or injection attacks.

Security Risk:
==============
The security risk of the system specific code execution web vulnerability in the messages listing is estimated as critical.

Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm (at) evolution-sec (dot) com [email concealed]) [www.vulnerability-lab.com]

Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin (at) vulnerability-lab (dot) com [email concealed] - research (at) vulnerability-lab (dot) com [email concealed] - admin (at) evolution-sec (dot) com [email concealed]
Section: www.vulnerability-lab.com/dev - forum.vulnerability-db.com - magazine.vulnerability-db.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact (admin (at) vulnerability-lab (dot) com [email concealed] or research (at) vulnerability-lab (dot) com [email concealed]) to get a permission.

Copyright © 2014 | Vulnerability Laboratory [Evolution Security]

--
VULNERABILITY LABORATORY RESEARCH TEAM
DOMAIN: www.vulnerability-lab.com
CONTACT: research (at) vulnerability-lab (dot) com [email concealed]

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus