Document Title: =============== iScan Online Mobile 2.0.1 iOS - Command Inject Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1271 Release Date: ============= 2014-06-02 Vulnerability Laboratory ID (VL-ID): ==================================== 1271 Common Vulnerability Scoring System: ==================================== 6.2 Product & Service Introduction: =============================== iScan Online keeps your device from being the next hacking headline. It gives both you and your IT department confidence that your device is vulnerability free, complies with PCI, HIPAA and other regulatory rules and does not contain any restricted information like credit card numbers. iScan Online also offers advance mobile device management features like remote wipe, remote lock, geo-location of your device, password policy management and more. Whether it is one device or you want to manage devices across an organization - all policies, configurations, scan and test results are available anytime, anywhere, from any device through the iScan Online cloud-based management portal with iScan Online’s comprehensive reports. ( Copy of the Homepage: https://itunes.apple.com/us/app/iscan-online-mobile/id658461644 ) Abstract Advisory Information: ============================== The Vulnerability Laboratory Research Team discovered a local command inject web vulnerability in the official IScan Online Mobile v2.0.1 iOS web-application. Vulnerability Disclosure Timeline: ================================== 2014-06-02: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== iScan Online Inc. Product: iScan Online Mobile - iOS Web Application 2.0.1 Exploitation Technique: ======================= Local Severity Level: =============== Medium Technical Details & Description: ================================ A local command/path injection web vulnerabilities has been discovered in the official IScan Online Mobile v2.0.1 iOS web-application. The vulnerability allows attackers to inject local commands via vulnerable system values to compromise the apple mobile iOS application. The vulnerability is located in the vulnerable `devicename` value of the `Settings` module. Local attackers are able to inject own malicious system specific commands or path value requests in the vulnerable `devicename` value. The execution of the local command inject occurs in the `Device Settings` module of the iscan online mobile application. The attacker is able to manipulate the settings module of the application by preparing to change the local devicename. The encoding of the vulnerable values in the settings > registration information module is broken. The attack vector is on the application-side and the injection requires physical device access or a local low privileged user account. Local attackers are also able to exploit the filename validation issue in combination with persistent injected script codes to execute different local malicious attacks requests. The security risk of the local command/path inject vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 6.2. Exploitation of the command/path inject vulnerability requires a low privileged iOS device account with restricted access and no user interaction. Successful exploitation of the vulnerability results in unauthorized execution of system specific commands and unauthorized path value requests to compromise the mobile iOS application or the connected device components. Request Method(s): [+] [POST] Vulnerable Module(s): [+] Settings > Device Registration Vulnerable Parameter(s): [+] devicename Affected Module(s): [+] Registration Information Proof of Concept (PoC): ======================= The local command inject web vulnerability can be exploited by remote attackers with local low privileged iOS device account without user interaction. For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue. Manual steps to reproduce the vulnerability ... 1. Login to your iOS device and download+install the mobile application ( https://itunes.apple.com/us/app/iscan-online-mobile/id658461644 ) 2. Change the iOS devicename (device information > settings) to the local command inject payload and save the details after the update Note: Request mobile var path or application files with local command 3. Open the iscan online mobile application and click the settings button on the buttom of the app navigation 4. The local command execution occurs in the `Device Name` output context of the registration information 5. Successful reproduce of the local command inject web vulnerability! Reference(s): https://www.iscanonline.com Solution - Fix & Patch: ======================= The local command inject web vulnerability can be patched by a secure parse and encode of vulnerable devicename output context in the registration information (settings) module. Security Risk: ============== The security risk of the local command/path inject vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 6.2. Credits & Authors: ================== Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@xxxxxxxxxxxxxxxxx) [www.vulnerability-lab.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@xxxxxxxxxxxxxxxxxxxxx - research@xxxxxxxxxxxxxxxxxxxxx - admin@xxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxx or research@xxxxxxxxxxxxxxxxxxxxx) to get a permission. Copyright © 2014 | Vulnerability Laboratory [Evolution Security] -- VULNERABILITY LABORATORY ADMINISTRATION DOMAIN: www.vulnerability-lab.com CONTACT: admin@xxxxxxxxxxxxxxxxxxxxx PHONE: +4915776363337 (DE)