UDID+ v2.5 iOS - Mail Command Inject Vulnerability
Vulnerability Laboratory ID (VL-ID):
Common Vulnerability Scoring System:
Product & Service Introduction:
UDID+ is a simple tool that displays the Unique Device Identifier (UDID) and other information of your iOS device. It works on iPod touches,
iPhones and iPads allows you to either email the UDID to someone, or to copy it. The UDID is used by developers so they can add your device
to their Ad Hoc distribution profiles. This allows them to create a special version of their apps that can be run on your device outside of
the normal App Store distribution channels. Ad Hoc distribution is perfect for beta testing as well as for small in-house projects with an
limited distribution group, of up to 100 devices.
(Copy of the Vendor Homepage: https://itunes.apple.com/us/app/udid+/id385936840 )
Abstract Advisory Information:
The Vulnerability Laboratory Core Research Team discovered an application-side command inject web vulnerability in the official UDID+ v2.5 iOS mobile web-application.
Vulnerability Disclosure Timeline:
2015-07-06: Public Disclosure (Vulnerability Laboratory)
Product: UDID+ - iOS Mobile Web Application 2.5
Technical Details & Description:
A local command inject web vulnerability has been discovered in the official UDID+ v2.5 iOS mobile web-application. The vulnerability allows to inject malicious script codes to the application-side of the vulnerable iOS mobile app.
The vulnerability is located in the device name 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 udid+ mobile app. The html 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 via send by email. 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 commandpath inject vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 5.7. Exploitation of the commandpath inject vulnerability requires a low privilege androidios 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.
[+] Device - Settings - Information
[+] device cell name (cid)
[+] UDID+ - Mail
Proof of Concept (PoC):
The application-side validation web vulnerability can be exploited by local attackers with low privilege or restricted device user account and without user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.
PoC: UDID+ Send Mail
Von: Benjamin Mejri Kunz
Datum: 28.06.2015 20:49
Here is my device information.
UDID: FFFFFFFFC63FF684821B430C91F7F41D4D8A2F3A Device Name: bkm337>" src="cid:">%20<./[LOCAL FILE INCLUDE VULNERABILITY VIA DEVICE CELL NAME VALUE!]
System Name: iPhone OS System Version: 8.3 Platform: iPad 3G WiFi Hardware Model: P101AP Processors: 2 CPU Frequency: 0 Hz Bus Frequency: 0 Hz Physical Memory: 1 GB Non-Kernel Memory: 809,21 MB Model: iPad Localized Model: iPad Language: de Locale: de_DE Capacity: 32 GB Formatted: 27,19 GB Used: 26,38 GB Free: 825,48 MB Battery State: Unplugged Battery Level: 65 % Local IP: 192.168.2.104 MAC Address: 02:00:00:00:00:00