Lucene search
K

Download Lite v4.3 iOS - Persistent File Web Vulnerability

Download Lite v4.3 iOS - Persistent File Web Vulnerability in Apple AppStor

Code
Document Title:
===============
Download Lite v4.3 iOS - Persistent File Web Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1023


Release Date:
=============
2013-07-18


Vulnerability Laboratory ID (VL-ID):
====================================
1023


Common Vulnerability Scoring System:
====================================
3.5


Product & Service Introduction:
===============================
Downloads Lite is a fully featured download manager that allows you to download files to your iPhone or 
iPod touch, you can then view/play the downloaded files right on your iPhone or iPod touch, or transfer 
them to your computer. Downloads Lite has all the essential features of the full version of Downloads 
except that it is limited to store up to 7 files.

( Copy of the Vendor Homepage: https://itunes.apple.com/en/app/downloads-lite-downloader/id349275540 )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered a persistent input validation vulnerability in the Download Lite application (Apple iOS - iPad & iPhone).


Vulnerability Disclosure Timeline:
==================================
2013-07-19:    Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
Apple AppStore
Product: Download Lite & Pro - Mobile Application 4.3


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


Severity Level:
===============
Low


Technical Details & Description:
================================
A persistent input validation web vulnerability is detected  in the Download Lite v4.3 application (Apple iOS - iPad & iPhone).
The bug allows an attacker (remote) to implement/inject malicious script code on the application-side (persistent) of the device.

The vulnerability is located in the index file dir listing module of the web-server (http://localhost:800) when processing to 
request via POST method injected manipulated `file names`. The persistent script code will be executed in the main 
index file dir listing module when the service lists the new malicious injected filename as item.

Exploitation of the persistent web vulnerability requires low user interaction and a local privilege application & device account.
Successful exploitation of the vulnerability can lead to persistent session hijacking (customers), account steal via persistent 
web attacks, persistent phishing or stable (persistent) certificate mail notification context manipulation.

Vulnerable Application(s):
				[+] Download Lite v4.3 - ITunes or AppStore (Apple)

Vulnerable Module(s):
				[+] Add File

Vulnerable Parameter(s):
				[+] filename

Affected Module(s):
				[+] Index File Dir Listing


Proof of Concept (PoC):
=======================
The persistent input validation web vulnerability can be exploited by local attackers with low required user interaction. For demonstration or reproduce ...


PoC: File Name - Persistent Script Code Injection

<body>
		<div id="main">
		<div id="header">
		<form action="/files" enctype="multipart/form-data" method="post" class="upload">
		<img src="Downloader_files/Icon-Small.png">	Downloader 
		</form>
		</div>
		<table border="0" cellpadding="0" cellspacing="0">
			<thead>
			 <tr><th>Name</th><th class="del">Delete</th></tr>
			</thead>
			<tbody id="filelist">
			<tr><td><a href="http://192.168.2.104:8080/files/Downloader.sqlite3" 
class="file">Downloader.sqlite3<[PERSISTENT INJECTED SCRIPT CODE as FILENAME!]></a></td><td class="del">
<form action="/files/Downloader.sqlite3" method="post"><input name="_method" value="delete" 
type="hidden"><input name="commit" value="Delete" class="button" type="submit"></form></td></tr></tbody>
		</table>
		<script type="text/javascript" charset="utf-8">
		var now = new Date();
		$.getJSON("/files?"+ now.toString(),
		function(data){
		  var shadow = false;
		  $.each(data, function(i,item){
		    var trclass='';
		    if (shadow)
		      trclass= " class='shadow'";
			encodeName = encodeURI(item.name).replace("'", "'");
		  $("<tr" + trclass + "><td><a href='/files/" + encodeName + "' class='file'>" + item.name + 
"</a></td>" + "<td class='del'><form action='/files/" + encodeName + "' method='post'><input name='_method' 
value='delete' type='hidden'/><input name=\"commit\" type=\"submit\" value=\"Delete\" class='button' /></td>" + "</tr>").appendTo("#filelist");
		    shadow = !shadow;
		  });
		});
		</script>
		<div id="footer">
    
		  <div class="content">
              
                  </div>
		</div>
		</div>	   
</body></html>

Note: Like you can see in the encode name are the string bypass the validation because of the local (stored) location.
Attacker can inject the own script code by using the local device to execute when a remote user is processing to open the index listing.



Solution - Fix & Patch:
=======================
The vulnerability can be patched by a secure encoding and parse of the file name in the main file dir listing index module of the application.


Security Risk:
==============
The security risk of the persistent input validation web vulnerability is estimated as medium(+).


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri ([email protected])


Disclaimer & Information:
=========================
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.evolution-sec.com
Contact:    [email protected] 	- [email protected] 	       - [email protected]
Section:    www.vulnerability-lab.com/dev 	- forum.vulnerability-db.com 		       - magazine.vulnerability-db.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 ([email protected] or [email protected]) to get a permission.

				Copyright © 2013 | Vulnerability Laboratory [Evolution Security]



Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Jul 2013 00:00Current
7.4High risk
Vulners AI Score7.4
19