lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 20 Aug 2015 14:39:19 +0200
From: Vulnerability Lab <>
Subject: UBNT Bug Bounty #3 - Persistent Filename Vulnerability

Document Title:
UBNT Bug Bounty #3 - Persistent Filename Vulnerability

References (Source):


Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
Ubiquiti Networks is an American technology company started in 2005. Based in San Jose, California they are a manufacturer of 
wireless products whose primary focus is on under-served and emerging markets.

(Copy of the Homepage: )

Abstract Advisory Information:
The Vulnerability Laboratory Core Research Team discovered an application-side input validation web vulnerability in the official Ubiquiti Networks Community online service web-application.

Vulnerability Disclosure Timeline:
2015-03-17: Researcher Notification & Coordination (Hadji Samir)
2015-03-18: Vendor Notification (Ubnt Security Team - Bug Bounty Program)
2015-04-12: Vendor Response/Feedback (Ubnt Security Team - Bug Bounty Program)
2015-07-09: Vendor Fix/Patch (Ubnt Developer Team)
2015-08-11: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Ubiquiti Network
Product: Ubnt Community - Web Application (Online Service) 2015 Q2

Exploitation Technique:

Severity Level:

Technical Details & Description:
An application-side web vulnerability has been discovered in the official Ubiquiti Networks Community online service web-application.
The vulnerability allows an remote attacker to inject own script code to the application-side of the affected application module.

The web vulnerability is located in the `filename` value of the `gallery page album upload` module. Remote attackers are able to inject own files 
with malicious `filename` value in the `album upload` POST method request to compromise the ubnt web-application. Remote attackers are also able 
to exploit the filename issue in combination with persistent injected script codes to execute different malicious attack requests. The attack vector 
is located on the application-side of the ubnt service and the request method to inject is POST. 

The security risk of the application-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 4.2. 
Exploitation of the application-side validation web vulnerability requires no user interaction and only a low privileged web-application user account. 
Successful exploitation of the security vulnerability results in the ubnt community web-application compromise.

Request Method(s):
				[+] [POST]

Vulnerable Module(s):
				[+] gallerypage (upload)

Vulnerable Parameter(s):
				[+] filename (Album)

Affected Module(s):
				[+] confirmationpage

Proof of Concept (PoC):
The vulnerability can be exploited by remote attackers with low privileged application user account and with low 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. Open link
2. Click add images
3. Upload image with name "><img src="x" onerror=alert(document.cookie)>.png
4. Click selact an album and save
5. Post comment
6. Click selete the comment you will redirect to
7. Now you will see the alert with the document cookies context!

PoC Video:


Solution - Fix & Patch:
The vulnerability can be patched by a secure parse and encode of the vulnerable filename value in the album add module.
Restrict the input and encode the filename to prevent further script code injection attack that runs through the application-side.
Disallow special chars and implement a secure exception to prevent the execution itself.

Security Risk:
The security risk of the application-side album filename input validation web vulnerability is estimated as medium. (CVSS 4.2)

Credits & Authors:
Vulnerability Laboratory [Research Team] - Hadji Samir []

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:   	-			       		-
Contact: 	- 	       		-
Section:	-		       	-
Social:!/vuln_lab 		- 	       		-
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 (feed), modify, use or edit our material contact 
( or to get a permission.

				Copyright © 2014 | Vulnerability Laboratory - Evolution Security GmbH ™


Powered by blists - more mailing lists