Document Title:
===============
Device Inspector v1.5 iOS - Command Inject Vulnerabilities
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1558
Release Date:
=============
2015-08-07
Vulnerability Laboratory ID (VL-ID):
====================================
1558
Common Vulnerability Scoring System:
====================================
5.7
Product & Service Introduction:
===============================
This app for professional and individual, collects all the features of your iPhone, iPod Touch or iPad and send them by mail with 2 clicks.
Device Inspector goes beyond the information provided in `Settings`. Device heading delivers a detailed information sheet of your device:
model, storage capacity, Bluetooth version, processor speed, iOS version ... Battery topic tell you about the battery level and battery
life: standby, 2G and 3G talk time, in 3G and WiFi Web browsing, reading, audio and video. Usage heading tells you the status of your
device memory and how you use it: with apps, music, playlists or audio books ... The last entry Process, lists all open programs on
the device: the natives (phone, mail ...) or apps downloaded on the App Store.
For professional of the mobile apps, Device Inspector will be particularly useful for the rapid transmission of the UDID of your
Apple terminal. To register a test device, the process of retrieving the identifier is rather heavy: Connect the iPhone to the
computer, open iTunes, select the device in iTunes, click the serial number field, copy and paste UDID in the mail.
With Device Inspector, simply launch the app and click on `Send`.
(Copy of the Homepage: https://itunes.apple.com/us/app/device-inspector/id423791543 )
Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered multiple command inject web vulnerabilities in the official Device Inspector v1.5 iOS mobile web-application.
Vulnerability Disclosure Timeline:
==================================
2015-08-07: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Affected Product(s):
====================
DPC Interactive
Product: Device Inspector - iOS Mobile (Web-Application) 1.5
Exploitation Technique:
=======================
Local
Severity Level:
===============
Medium
Technical Details & Description:
================================
Multiple local command inject web vulnerabilities has been discovered in the official Device Inspector v1.5 iOS mobile web-application.
The vulnerability allows local attackers to inject own commands by usage of stored manipulated system/device values to compromise the
iOS mobile web-application.
The first vulnerability is located in the device cell name value of the main device inspector app index. The app does not encode the values
of the device name which results in a compromise by local command inject. The injection point is the device cell name in the ios device settings.
The execution point is the app inspector device information index listing. The vulnerability is located on the application-side and the request
method to inject is a sync via save.
The second vulnerability is located in the device cell name value of the send (by mail) function. Local attackers are able to manipulated with
restricted access the device name to compromise the mail send body context. The injection point of the issue is the same like in the first issue
the device cell name. The execution point of the vulnerability is the send > email body context. The app takes the device name with wrong encoding
and includes it to the mail. Thus results in an application-side issue via command inject.
The security risk of the local command inject vulnerabilities are estimated as medium with a cvss (common vulnerability scoring system) count of 5.7.
Exploitation of the command inject web vulnerability requires a low privilege ios device account with restricted physical access without 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 cell name
Affected Module(s)
[+] Device Inspector - Information Listing (Index)
[+] Device Inspector - Send (Mail)
Proof of Concept (PoC):
=======================
The command inject web vulnerabilities can be exploited by local attackers with physical device access or restricted user accounts without user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.
PoC: Send > Mail
Device Inspector : bkm337>"%20
Betreff:
Device Inspector : bkm337>"%20%20
Von: Benjamin Mejri Kunz
Datum:
28.06.2015 20:50
An: aki
Hello,
As agreed,
the following information about my iPad4 :