My Contacts Backup Pro 2.0.1 Command Injection / XSS

Type packetstorm
Reporter Taurus Omar
Modified 2015-08-11T00:00:00


Document Title:  
My Contacts Backup Pro 2.0.1 IOS - Command Inject Vulnerability & Cross Site Scripting   
Credits & Authors:  
TaurusOmar - @TaurusOmar_ ( []  
Release Date:  
Product & Service Introduction:  
My Contacts Backup Pro is the easiest way to backup and restore your contacts all from your phone without needing a computer or synchronization.   
You can backup all your contacts with a single touch and send it to yourself as a .vcf attachment via email.  
All contacts can then easily be restored any time by simply opening the .vcf file in your mailbox.  
(Copy of the Vendor Homepage: )  
Abstract Advisory Information:  
An independent Vulnerability Laboratory researcher discovered multiple vulnerabilities in the official aplication My Contacts Backup Pro 2.0.1.  
Vulnerability Disclosure Timeline:  
2015-08-11: Public Disclosure  
Discovery Status:  
Affected Product(s):  
Product: My Contacts Backup Pro 2.0.1 - iOS Mobile Web Application  
Exploitation Technique:  
Severity Level:  
Technical Details & Description:  
An application-side input validation web vulnerability has been discovered in the official My Contacts Backup Pro 2.0.1 iOS mobile application.  
The vulnerability allows a local attacker to inject own script code as payload to the application-side of the vulnerable service function or module.  
The vulnerability exists in the text box contacts in which injects the code is activated when the web server option to transfer   
contacts the application executes the code along with the script.  
Request Method(s):  
[+] Export  
Vulnerable Module(s):  
[+] Add Contact  
Vulnerable Parameter(s):  
[+] TextBox Name  
Proof of Concept (PoC):  
The persistent input validation web vulnerability can be exploited by local attackers with system user account and without user interaction.  
For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue.  
1. Install the ios application (  
2. Add new Contact with script in the TexBox Name   
2. Start the app and open the import function  
3. Activate the Web Server application  
4. Successful reproduce of the persistent vulnerability!  
Proof of Concept (IMAGES):  
PoC_1: Command Inject Vulnerability   
<div>Identifier (UDID): FFFFFFFFC0463E7B3E5D46A88EDF4194C74B27D1  
<br>Model: IPhone<br>Name: Iphone-Taurus>"<./[LOCAL COMMAND INJECT VULNERABILITY VIA DEVICE NAME VALUE!]">%20<gt;<BR>  
System Name: iPhone OS<BR>System Version: 8.3<BR>Total Memory (RAM): 987.98 MB<BR>  
Free Memory: 19.06 MB<BR>Total Storage: 64.00 GB<BR>Free Storage: 44.00 GB<BR>  
CPU Frequency: an error occured<BR>Network: WiFi<BR>Wi-Fi: 02:02:02:02:02:02<BR>  
IP Address:<BR>Carrier: not available<BR></iframe></div>  
PoC_2: Cross Site Scripting  
<object data="data:text/html;base64,PHNjcmlwdD5hbGVydCgiVnVsbmVyYWJsZSIpOzwvc2NyaXB0Pg=="></object>  
Security Risk:  
The security risk of the persistent input validation vulnerability in the name value is estimated as medium. (CVSS 4.7)