Notes v4.5 iOS - Arbitrary File Upload Vulnerability

From: Vulnerability Lab <>
Subject: Notes v4.5 iOS - Arbitrary File Upload Vulnerability

Document Title:
Notes v4.5 iOS - Arbitrary File Upload Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
xNotes, My Personal Documents, Diary.

(Copy of the Homepage:  )

Abstract Advisory Information:
The vulnerability laboratory core research team discovered an arbitrary file upload vulnerability in the official Notes v4.5 iOS mobile web-application (wifi).

Vulnerability Disclosure Timeline:
2016-04-25: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Shanmin Xu
Product: xNotes - Mobile API (Web-Application) 4.5

Exploitation Technique:

Severity Level:

Technical Details & Description:
A arbitrary file upload web vulnerability has been discovered in the official Notes v4.5 iOS mobile web-application (wifi).
The local file include web vulnerability allows remote attackers to unauthorized include local file/path requests via POST.

The web vulnerability is located in the `filename` values of the `Upload File` module. Remote attackers are able to inject own 
files with malicious `filename` values in the `upload.action` POST method request to compromise the mobile web-application. 
The arbitrary file upload execute occcurs in the index file dir listing of the wifi interface. The attacker is able to inject 
the local file upload form request by usage of the `wifi interface` in connection with the vulnerable upload service module.

The security risk of the vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 6.4. 
Exploitation of the arbitrary file upload vulnerability requires no user interaction or privileged web-application user account. 
Successful exploitation of the arbitrary file upload web vulnerability results in mobile web-application or device compromise.

Request Method(s):
                                    [+] POST

Vulnerable Module(s):
                                    [+] Upload

Vulnerable Parameter(s):
                                       [+] filename

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

Proof of Concept (PoC):
The file include web vulnerability can be exploited by remote attackers without privileged user account or user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

Manual steps to reproduce the vulnerability ...
1.  Install the vulnerable ios web-application to your ios device
2.  Start the application
3.  Open the file transfer button on the buttom left
4.  Open the called IP in a web-browser
5.  Surf to the Upload function and choose a random test image/picture
6.  Start a http session tamper to exploit the followup POSt method request
7.  Inject your local file request to the filename value for exploitation
8.  Continue the request
9.  The local file include issue executes in the filename value in the next step
10. Successful reproduce of the local file include vulnerability!

PoC: Exploitation

--- PoC Session Logs [POST] ---
Status: 200[OK]
POST http://localhost:51025/ 
   Request Header:
      User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0]
      Accept-Encoding[gzip, deflate]
Content-Disposition: form-data; name="file"; filename="./[ARBITRARY FILE UPLOAD VULNERABILITY! PHP]/"

Security Risk:
The security risk of the arbitrary file upload web vulnerability in the ios web-application is estimated as high. (CVSS 6.4)

Credits & Authors:
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri ( [] []

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 licenses, policies, deface websites, hack into databases or trade with stolen data.

Domains:               -                                              -
Contact:     -                                -
Section:        -                             -
Social:                -                                 -
Feeds:   -                    -
Programs:       -         -

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, modify, use or edit our material contact (admin@ or to get a ask permission.

                             Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]\u201e


Copyright © 1995-2020 All rights reserved.