===============
AirDroid ID - Client Side JSONP Callback Vulnerability
References (Source):
====================
http://www.vulnerability-lab.
Release Date:
=============
2015-07-10
Vulnerability Laboratory ID (VL-ID):
==============================
1544
Common Vulnerability Scoring System:
==============================
5.6
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:
=================
Published
Affected Product(s):
====================
Sand Studio
Product: Airdroid - Online Service (Web-Application) 2015 Q2
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
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
<html>
<head>
<script>
samir = function(data) {
alert("Name " + data.result.nickname +" mail " + data.result.mail + " id "+ data.result.id + " token " + data.result.pc_push_token );
}
</script>
</head>
<body>
<h1>JSONP Call</h1>
<script src="https://id.airdroid.com/
</body>
</html>
Vulnerable Source: JSONP Call
samir({"code":"1","result":{"
Reference(s):
http://web.airdroid.com/
https://id.airdroid.com/p14/
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 [samir@evolution-sec.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@vulnerability-lab.com - research@vulnerability-lab.com -admin@evolution-sec.com
Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab -youtube.com/user/
Feeds: vulnerability-lab.com/rss/rss.
Programs: vulnerability-lab.com/submit.
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@vulnerability-lab.com or research@vulnerability-lab.com
Copyright © 2015 | Vulnerability Laboratory - [Evolution Security GmbH]™
Komentarų nėra:
Rašyti komentarą