WiFi File Browser Pro v2.0.8 Code Execution Vulnerability

2015.01.16
Risk: High
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

Document Title: =============== WiFi File Browser Pro v2.0.8 - Code Execution Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1406 Release Date: ============= 2015-01-14 Vulnerability Laboratory ID (VL-ID): ==================================== 1406 Common Vulnerability Scoring System: ==================================== 7.1 Product & Service Introduction: =============================== WiFi File Browser allows you to download and upload files to your mobile device by using your favourite web browser without the need of a USB cable. The application main focus is to deliver high speed file transfer to users. Many user reviews state that this is the fastest WiFi file transfer application (Copy of the Vendor Homepage: https://play.google.com/store/apps/details?id=pt.webprods.android.file.manager.pro ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered an arbitrary code execution vulnerability in the official WiFi File Browser Pro v2.0.8 (Android) mobile application. Vulnerability Disclosure Timeline: ================================== 2015-01-14: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== ByteLounge Product: WiFi File Browser - (Android) Web Application 2.0.8 Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ An arbitrary code execution vulnerability has been discovered in the official Wifi File Browser Pro v2.0.8 (Android) mobile application. The vulnerability allows remote attackers to execute malicious codes on the application-side of the vulnerable browser app to compromise the target mobile device. The vulnerability is located in the `path` value of the `browse` module. Remote attackers are able to manipulate the path value in the browse GET method request to compromise the application, user session information or connected device components. The vector of the issue is located on the application-side. Successful exploitation requires a client-side GET method request. The security risk of the arbitrary code execution vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 7.1. Exploitation of the arbitrary code execution vulnerability requires no user interaction or privileged web-application user account with password. Successful exploitation of the vulnerability results in session hijacking, persistent phishing, persistent external redirects and persistent manipulation function or connected module context. Request Method(s): [+] [GET] Vulnerable Module(s): [+] browse Vulnerable Parameter(s): [+] path Affected Module(s): [+] Index of Documents (http://localhost:8080) Proof of Concept (PoC): ======================= The arbitrary code execution vulnerability can be exploited by remote attackers without user interaction or privileged application user account. For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue. --- PoC Session Logs [GET] (Execution) --- GET /browse?path=/_[ARBITRARY CODE EXECUTION VULNERABILITY!]&sfield=d&sorder=d HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Connection: keep-alive PoC: Wifi Browser <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; " /> <title>WiFi File Browser</title> <link rel="stylesheet" type="text/css" media="screen" href="/style3.css" /> <script type="text/javascript" language="javascript"> var currentPath = '%2F_%3C%2Fscript%3E%3Cscript%3Eprompt%28document.cookies%29%3C%2Fscript%3E[CS XSS]'; var currentPathNotEnc = '/_[ARBITRARY CODE EXECUTION VULNERABILITY!]'; var curSortOrder = 'd'; var curSortMethod = 'd'; var curThumbs = ''; </script> Reference: http://localhost:8880/ Solution - Fix & Patch: ======================= The vulnerability can be patched by a secure restriction of the path value in the browse GET method request. Encode and parse the input and filter with an own exception-handling to prevent arbitrary code execution in client-side requests. Security Risk: ============== The security risk of the arbitrary code execution vulnerability in the wifi browser is estimated as high. (CVSS 7.1) Credits & Authors: ================== Hadji Samir s-dz@hotmail.fr 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: dev.vulnerability-db.com - 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 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 (admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission. Copyright 2015 | Vulnerability Laboratory [Evolution Security]

References:

http://www.vulnerability-lab.com/get_content.php?id=1406


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top