JSONP Call
Vulnerable Source: JSONP Call samir({"code":"1","result":{"id":"9731220","nickname":"Hadji+Samir","mail":"info.dimanet@gmail.com","create_date":"2015-07-06 06:18:40","data_flow_total":"0","vip":"0","vip_starttime":null,"vip_endtime":null,"from_type":"","read_new":"1","mail_verify":"0","avatar_url":"","last_update_avatar":"2015-07-06 06:18:40","country":"DZ","isPremium":-1,"is_recurring":0,"has_device":"1","device":[{"id":"10257826","name":"htc HTC T528w","deviceId":"3cacf266733309329510a4d2477ace37","channelToken":"2785903c941c8450ebf816b47dab1164","logicKey":"6227d20a5103046b92d118d5db9e2e67","manu":"htc","model":"HTC T528w","model_pic":"http:\/\/img.airdroid.com\/devices\/default","osVersion":"4.1.1","sdkApiLevel":"16","netOpts":{"ip":"192.168.1.4","port":8888,"socket_port":8889,"ssl_port":8890,"usewifi":"true","file_port":8765},"appVer":"20142","gcmId":"","is_default":"0","imsi":"0","create_date":"2015-07-06 06:20:18","account_id":"9731220","push_token":"20a2a64bd6cb1608cb2fc1c1bb1ed18b","support_plugin_vnc":0,"plugin_vnc_versions":0,"plugin_vnc_url":"","plugin_vnc_log":"","plugin_vnc_update_from_url":"false","phone_versions":0,"pc_versions":"","mac_versions":"","addon_package_name":""}],"app_last_modify":"1436177702","token":"","avatar":[],"push_ws_sub_url":"ws:\/\/54.227.249.159:443","push_tcp_sub_url":"54.227.249.159:80","push_pub_url":"http:\/\/push.airdroid.com","pc_push_token":"99eb3edebbbc30883679e563d0ed2d1f","web_push_token":"b585e6763f41df6c8fcf1961f38c6d74","fmp_push_token":"d15b2f78e335b68186bab0664c027520","account_type":2,"is_unlock":0,"max_file_size":31457280,"lan_trans_folder":0,"unlock_starttime":"","unlock_expired":"","server_timestamp":14362728935628},"msg":"success!"}) Reference(s): http://ift.tt/JCvqri http://ift.tt/1fPT8Sv 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: http://ift.tt/1jnqRwA - www.vuln-lab.com - http://ift.tt/1kouTut Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com Section: magazine.vulnerability-db.com - http://ift.tt/1zNuo47 - http://ift.tt/1wo6y8x Social: http://twitter.com/#!/vuln_lab - http://ift.tt/1kouSqa - http://youtube.com/user/vulnerability0lab Feeds: http://ift.tt/1iS1DH0 - http://ift.tt/1kouSqh - http://ift.tt/1kouTKS Programs: http://ift.tt/1iS1GCs - http://ift.tt/1iS1FyF - http://ift.tt/1kouSqp 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) to get a permission. Copyright © 2015 | Vulnerability Laboratory - [Evolution Security GmbH]™Source: Gmail -> IFTTT-> Blogger
No comments:
Post a Comment