Title:
======
Wifi Album v1.47 iOS - Command Injection Vulnerability


Date:
=====
2013-04-25


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=935


VL-ID:
=====
935


Common Vulnerability Scoring System:
====================================
5.6


Introduction:
=============
WiFi Album allows you to easily transfer photos and videos between iPhone,iPad,iTouch,iMac and PC. Transfer photos and videos
over WiFi, no cables or extra software required. In this version, iPhone to iPhone connecting function added! you can found
other wifi album iPhone around of you, view or download items from their shared album directly.

To manage your album in computer, Just start the app and enter the displayed address into the address bar of your browser.
Works with any computer that has a modern browser (like desktop or portable computers, iPads, or even an other iPhone) and is
on the same wifi network as your iPhone, iPod or iPad.

- View albums on PC directly
- Easy put photos/videos on iPod/iPhone/iPad without iTunes

(Copy of the Homepage: https://itunes.apple.com/de/app/wifi-album-free-wireless-photo/id465587383 )


Abstract:
=========
The Vulnerability Laboratory Research Team discovered multiple vulnerabilities in the mobile Wifi Album v1.47 iOS app (Apple - iPad|iPhone).


Report-Timeline:
================
2013-04-26:	Public Disclosure


Status:
========
Published


Affected Products:
==================
Apple AppStore
Product: Wifi Album 1.47


Exploitation-Technique:
=======================
Local


Severity:
=========
High


Details:
========
A local command injection web vulnerability is detected  in the mobile Wifi Album v1.47 iOS app (Apple - iPad|iPhone).
The vulnerability allows to inject local commands via vulnerable system values to compromise the apple mobile iOS application.

The vulnerability is located in the index module when processing to load the ipad or iphone photo album folder names.
Local attackers can change the ipad or iphone photo album names to system specific commands and file requests to provoke
the execution when processing to watch the main index album listing. The execution of the script code occurs in the album
folder name web context when processing to display the vulnerable name value listing.

Exploitation of the web vulnerability does not require an application user account with login (standard) or user interaction.
Successful exploitation of the vulnerability results unauthorized execution of system specific commands and path requests.


Vulnerable Application(s):
				[+] Wifi Album v1.47 - ITunes or AppStore (Apple)

Vulnerable Parameter(s):
				[+] Album foldername

Affected Module(s):
				[+] Index Listing - Albums


Proof of Concept:
=================
The local command inject vulnerability via the album name value can be exploited by remote attackers with  local device access.
Exploitation requires a low user interaction click to refresh the index listing. For demonstration or reproduce ...

PoC: Album Name - Index Listing  (class name)

<span class="name">>%20>"<iframe src="Wifi%20Album%20%20Easy%20Photo%20Transfer%20Tools_files/a.htm">
  <><>>%20>"<iframe
src=http://www.vulnerability-lab.com></span></div><div
 class="info_col"><span class="f_left gray">12
Files</span></div></div></div></iframe></span>


Risk:
=====
The security risk of the local command/path injection web vulnerability is estimated as medium(+)|(-)high.


Credits:
========
Vulnerability Laboratory [Research Team]  -    Benjamin Kunz Mejri (bkm@vulnerability-lab.com)


Disclaimer:
===========
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.vulnerability-lab.com/register
Contact:    admin@vulnerability-lab.com 	- support@vulnerability-lab.com 	       - research@vulnerability-lab.com
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.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

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@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

    				   	Copyright � 2013 | Vulnerability Laboratory



--
VULNERABILITY RESEARCH LABORATORY
LABORATORY RESEARCH TEAM
CONTACT: research@vulnerability-lab.com