Информационная безопасность
[RU] switch to English

Дополнительная информация

  Уязвимости безопасности в различных приложениях под iOS / Android

  Re: CVE-2015-5204: HTTP header injection vulnerability in Apache Cordova File Transfer Plugin for Android

  Photos in Wifi v1.0.1 iOS - Arbitrary File Upload Vulnerability

  My.WiFi USB Drive v1.0 iOS - File Include Vulnerability

  WiFi Drive CR v1.0 iOS - Persistent Filename Dir List Vulnerability

From:Vulnerability Lab <research_(at)_vulnerability-lab.com>
Date:24 августа 2015 г.
Subject:AirDroid ID - Client Side JSONP Callback Vulnerability

Document Title:
AirDroid ID - Client Side JSONP Callback Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
Calls, SMS, and the app notifications you allowed, mirrored to the large computer screen you are focusing on. Type with full physical keyboard and
control with mouse. Transfer things faster without looking for a cable. Better equipments, better life. AirMirror, a brand new way of interacting between
PC/Mac and your Android. Your Android, right on your computer, right now. With the new Desktop client, your Android, Windows and Mac work like one.

(Copy of the Vendor Homepage: https://www.airdroid.com/en/ )

Abstract Advisory Information:
The vulnerability laboratory core research team discovered a client-side vulnerability in the official AirDroid ID login online-service web-application.

Vulnerability Disclosure Timeline:
2015-07-06: Researcher Notification & Coordination (Hadji Samir)
2015-07-07: Vendor Notification (Android Security Team)
2015-07-09: Vendor Response/Feedback (Android Security Team)
2015-07-10: Vendor Fix/Patch (Android Developer Team)
2015-07-10: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Sand Studio
Product: Airdroid - Online Service (Web-Application) 2015 Q2

Exploitation Technique:

Severity Level:

Technical Details & Description:
A client-side jsonp callback vulnerability has been discovered in the official Airdroid online-service web-application.
The vulnerability allows remote attackers to manipulate client-side application to browser requests to compromise session data.

The vulnerability is located in the callback parameter value of the vulnerable signIn.html file. The vulnerability allows remote
attackers to inject script code by client-side manipulated GET method requests. The vulnerability allows remote  attacker to call
an callback JSONP for get the information about the user

The vulnerability allows remote attackers to callback script code by client-side manipulated GET method requests. Thus can result in an id
account or device compromise. The attack vector of the vulnerability is located on the client-side and the request method to inject/execute
is GET. The service replies via jsonp by a callback with wrong cleanup which results in the unexpected behaviour.

The security risk of the client-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 5.6.
Exploitation of the cross site scripting web vulnerability requires no privilege web application user account and low user interaction (click).
Successful exploitation results in client-side account theft by hijacking, client-side phishing, client-side external redirects and non-persistent
manipulation of affected or connected service modules.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] Login [Web] (./p14/user/)

Vulnerable File(s):
[+] signIn.html

Vulnerable Parameter(s):
[+] callback

Proof of Concept (PoC):
The client-side callback vulnerability can be exploited by remote attackers without privilege application user account and with low user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

PoC: *.html
samir = function(data) {
alert("Name " + data.result.nickname +" mail " + data.result.mail + " id "+ data.result.id  + " token " +  data.result.pc_push_token );
<h1>JSONP Call</h1>
<script src="https://id.airdroid.com/p14/user/signIn.

Vulnerable Source: JSONP Call
"mail":"[email protected]","create_date":
"2015-07-06 06:18:40","data_flow_total":"0","vip":
"last_update_avatar":"2015-07-06 06:18:40","country":"DZ","isPremium":-1,
"htc HTC T528w","deviceId":"3cacf266733309329510a4d2477ace37",
"manu":"htc","model":"HTC T528w","model_pic":"http:\/\/img.airdroid.
"imsi":"0","create_date":"2015-07-06 06:20:18","account_id":"9731220","push_token":


Solution - Fix & Patch:
Parse in the jsonp GET method request the vulnerable callback value to prevent client-side script code injection attacks.
Restrict the callback input by a whitelist and disallow special chars on server-side or client-side GET method requests.

Security Risk:
The security risk of the vulnerability in the android id login web-application is estimated as high. (CVSS 5.6)

Credits & Authors:
Vulnerability Laboratory [Research Team] - Hadji Samir [[email protected]]

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:    [email protected] - [email protected]        - [email protected]
Section:    magazine.vulnerability-db.com - vulnerability-lab.com/contact.php        - evolution-sec.com/contact
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
Programs:   vulnerability-lab.com/submit.php   - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/

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
([email protected] or [email protected]) to get a permission.

Copyright © 2015 | Vulnerability Laboratory - [Evolution Security GmbH]™

-- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com CONTACT: [email protected] PGP KEY: http://www.vulnerability-lab.com/keys/admin@vulnerability-lab.

О сайте | Условия использования
© SecurityVulns, 3APA3A, Владимир Дубровин
Нижний Новгород