Document Title: =============== FCS Scanner v1.0 & v1.4 - Command Inject Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1538 Release Date: ============= 2015-06-30 Vulnerability Laboratory ID (VL-ID): ==================================== 1538 Common Vulnerability Scoring System: ==================================== 5.9 Product & Service Introduction: =============================== This app (available in German and English) scans your smartphone or tablet and supplies you with detailed hardware and software information. All data can be sent by mail in xml format. For an exact identification of every mobile: the name of the file attached contains the inventory number, if there is one, or the Serial Number otherwise. Thus you can do a professional inventory for multiple phones or tablets! (Copy of the Homepage: https://itunes.apple.com/nz/app/fcs-scanner/id902969515 & https://play.google.com/store/apps/details?id=fcs.apps.fcsscanner ) Abstract Advisory Information: ============================== The Vulnerability Laboratory Research team discovered a local command inject web vulnerability in the official FCS Scanner v1.0 iOS & v1.4 Android mobile application. Vulnerability Disclosure Timeline: ================================== 2015-06-30: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== FCS Fair Computer Systems GmbH Product: FCS Scanner - iOS & Android Mobile Application 1.0 & 1.4 Exploitation Technique: ======================= Local Severity Level: =============== Medium Technical Details & Description: ================================ A local command inject web vulnerability has been discovered in the official FCS Scanner v1.0 iOS & v1.4 Android mobile application. The vulnerability allows to inject malicious script codes to the application-side of the vulnerable mobile fcs scanner app. The vulnerability is located in the device id value of the send by mail function. Local attackers are able to manipulate the name value of the device to compromise the mail function of the fcs scanner mobile app. The html and xml encoding is broken in the send by mail export function. Local attackers are able to manipulate the device name id to compromise the application internal validation in the send emails module. The attack vector of the vulnerability is server-side and the injection point is the device name information settings. The security risk of the local command/path inject vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 5.9. Exploitation of the command/path inject vulnerability requires a low privilege android/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 and connected device components. Vulnerable Module(s): [+] Device - Settings - Information Vulnerable Parameter(s): [+] device id Affected Module(s): [+] FCS Scanner - Mail & XML Proof of Concept (PoC): ======================= The local command inject web vulnerability can be exploited by local attackers with low privilege device user account and 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. Start the iOS device 2. Open the settings module 3. Change the name to the local command injection payload 4. Save the settings and start the application fcs scanner 5. Send the details by mail 6. Review the arrival inbox 7. The execution point is the xml and header location with the device id value 8. Successful reproduce of the local command inject security vulnerability! PoC: Device ID - Email FCS Scanner: bkm337>"<./[LOCAL COMMAND INJECT VULNERABILITY VIA DEVICE NAME VALUE!]>
Betreff: FCS Scanner: bkm337>"%20



fcs-FB9BA2FF-5F09-4D67-9EDF-DF619C8FC6AE




PoC: XML - fcs-FB9BA2FF-5F09-4D67-9EDF-DF619C8FC7EA


bkm337>"<./[LOCAL COMMAND INJECT VULNERABILITY VIA DEVICE NAME VALUE!]&;iPad
AppleiPhone
OS8.3deARM
bkm337>"%20