Document Title: =============== Swift File Transfer Mobile - Multiple Web Vulnerabilities References (Source): ==================== https://www.vulnerability-lab.com/get_content.php?id=2205 Release Date: ============= 2020-04-17 Vulnerability Laboratory ID (VL-ID): ==================================== 2205 Common Vulnerability Scoring System: ==================================== 5 Vulnerability Class: ==================== Multiple Current Estimated Price: ======================== 500€ - 1.000€ Product & Service Introduction: =============================== Swift File Transfer is World’s fastest app to share installed apps, photos, files, folders and videos at with high speed of upto 8mbps with your friends and family without using intenet, data cable, mobile data, Wi-Fi, nfc etc. Now transfer GB's of data in the blink of an eye. SFT - Swift File Transfer - Easier Faster & Safer. (Copy of the Homepage: https://apps.apple.com/in/app/sft-swift-file-transfer/id1162606088) (Copy of the Homepage: https://play.google.com/store/apps/details?id=com.sft.fileshare) (Copy of the Homepage: https://appworld.blackberry.com/webstore/content/59986064/) Abstract Advisory Information: ============================== The vulnerability laboratory core research team discovered multiple web vulnerabilities in the official Swift File Transfer mobile application for ios, blackberry and android. Affected Product(s): ==================== Kunal Mahajan Product: SFT - Swift File Transfer (Android v1.1.2) (iOS v1.1.2) (Blackberry v1.0.19) Vulnerability Disclosure Timeline: ================================== 2020-04-17: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Exploitation Technique: ======================= Remote Severity Level: =============== Medium Authentication Type: ==================== No authentication (guest) User Interaction: ================= Low User Interaction Disclosure Type: ================ Independent Security Research Technical Details & Description: ================================ 1.1 The information disclosure issue is located in the list or download function with the path parameter. The exception-handling does not cut of the native application path. Thus allows an attacker to directly insert the information for the list or download function with the path request. The issue becomes quick visible after triggering an unexpected error by including non existing path environemnt variables. The default setup to make only the native app path visible is not secure configured to stay invisible. In other applications with the same functionalities the full native path is not delivered by the secure configuration of the wifi web-server service. 1.2 The xss web vulnerabilities are located in the `path` parameter of the `list` and `download` exception-handling. Remote attackers are able to inject own malicious script code to the path parameter to manipulate the error message output context of the ui. The request method to inject is GET and the attack vector is located on the client-side of the mobile ios web-application. Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing attacks, non-persistent external redirects to malicious source and non-persistent manipulation of affected or connected application modules. 1.3 The persistent input validation web vulnerability is located in the devicename that is displayed in the front panel on each request for send / receive files via wifi (default port: 22222). Remote attackers with local idevice user account are able to inject own malicious script code as devicename to provoke an execution of the code in the wifi sharing ui when listing the item. The devicename is insecure transmitted into the wifi ui interface which results in a persistent script code execution to compromise the application. Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects to malicious source and persistent manipulation of affected or connected application modules. Proof of Concept (PoC): ======================= 1.1 The information disclosure vulnerability can be exploited by remote attackers with networks access only and without user interaction. For security demonstration or to reproduce the security web vulnerability follow the provided information and steps below to continue. PoC: Exploitation http://localhost:22222/download?path=-_-* PoC: Payload (Path) /var/mobile/Containers/Data/Application/E0DF0179-AC43-41F2-9488-2F733B784BCB/Documents/Server/-_-* 1.2 The client-side cross site web vulnerabilities can be exploited by remote attackers with networks access only and low user interaction. For security demonstration or to reproduce the security web vulnerability follow the provided information and steps below to continue. PoC: Vulnerable Source
[MALICIOUS SCRIPT CODE INJECT VIA DEVICENAME - EXECUTION POINT!]