exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

AirPhoto WebDisk 4.1.0 Code Execution

AirPhoto WebDisk 4.1.0 Code Execution
Posted Apr 23, 2014
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

AirPhoto WebDisk version 4.1.0 for iOS suffers from a code execution vulnerability.

tags | exploit, code execution
systems | apple, ios
SHA-256 | a1802ada857397a36c3e6ffcb26134d37823d23882870916c1a0875bf24f7c32

AirPhoto WebDisk 4.1.0 Code Execution

Change Mirror Download
Document Title:
===============
AirPhoto WebDisk v4.1.0 iOS - Code Execution Vulnerability


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


Release Date:
=============
2014-04-22


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


Common Vulnerability Scoring System:
====================================
8.7


Product & Service Introduction:
===============================
WebDisk lets your iphone/ipad become a file website over wi-fi netwrk.You can upload/download your document to your iphone/ipad
on your pc browser over wi-fi. It is also a document viewer.let you direct view your document on your iphone/iphone. You can
upload /download file to iphone/ipad on your pc browser over wi-fi.

(Copy of the Homepage: https://itunes.apple.com/us/app/webdisk/id546221210 )



Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered a local file include web vulnerability in the official AirPhoto WebDisk v4.1.0 iOS mobile application.


Vulnerability Disclosure Timeline:
==================================
2014-04-22: Public Disclosure (Vulnerability Laboratory)


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


Affected Product(s):
====================
AirPhoto
Product: WebDisk 4.1.0


Exploitation Technique:
=======================
Remote


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


Technical Details & Description:
================================
A code execution web vulnerability has been discovered in the official WebDisk (AirPhoto) v4.1.0 iOS mobile web-application.
The issue allows an attacker to compromise the application and connected device components by exploitation of system specific
code execution vulnerability in the webdisk interface.

The vulnerability is located in the POST method request of the `upload` module. The main index provides an upload form which is
not encoding the regular inputs. The context can be implemented to the upload form and the results is the application-side execution
of system specific malicious codes. The file itself will not be transfered and the input generates the listing context to the index.

The input field of the upload modules executes the input wrong encoded via POST method request as filename value. Remote attackers are
also able to execute own malicious codes by usage of a script code payload in combination with the affected system device values. The
execution of the code occurs in the main webdisk file dir listing context. The attack vector is on application-side and the request method
to attack the service is POST. The security risk of the remote code execution web vulnerability is estimated as critical with a cvss (common
vulnerability scoring system) count of 8.7

Exploitation of the remote code execution web vulnerability requires no privileged application user account (passwd default blank) or user interaction.
Successful exploitation of the code execution vulnerability results in mobile application compromise and connected or affected device component compromise.


Request Method(s):
[+] POST

Vulnerable Module(s):
[+] upload

Vulnerable Parameter(s):
[+] tdmid > filename

Affected Module(s):
[+] WebDisk File Dir Index Listing [http://localhost:1861]


Proof of Concept (PoC):
=======================
The system specific (php) code execution vulnerability can be exploited by remote attackers without required user interaction or privileged web-application user account.
For security demonstration or to reproduce the critical web vulnerability follow the provided steps and information below to continue.


PoC: Exploit

<tr>
<td class="tdleft"><a href=""><img class="imgthum" src="afico/files_txt.png"></a></td>
<td class="tdmid">>"<.;%5Cvar%5Cmobile%5CApplications%[CODE EXECUTION VULNERABILITY!]test2</td>
<td class="tdright">4-22 10:14<br/><br/>
<a href="afdelete.ma?p=%5Cvar%5Cmobile%5CApplications%5CA97714FF-A3BB-4FE3-ACE6-927930900B91%5CDocuments%5C%7C-%7C451476891.txt">delete</a></td></tr>
<tr><td colspan="3" height="1"><hr class="spline" /></td>
</tr>


Vulnerable Source: Upload File - Add [POST]

<form action="afupload.ma?p=%5Cvar%5Cmobile%5CApplications%5CA97714FF-A3BB-4FE3-ACE6-927930900B91%5CDocuments%5C" method="post" enctype="multipart/form-data">
<textarea name="txt" class="textInput" id="Text1">


Solution - Fix & Patch:
=======================
The vulnerability can be patched by a secure encode and parse of the upload form input field.
Secure and filter the upload POST method request to generate a file.
Encode also the vulnerable output name value in the index listing module itself.


Security Risk:
==============
The security risk of the code execution web vulnerability in the webdisk wifi interface is estimated as high.


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


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: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
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 (admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission.

Copyright © 2014 | Vulnerability Laboratory [Evolution Security]



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

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close