NodeBB v0.8.2 - Client Side Cross Site Web Vulnerability

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1041228 漏洞类型
发布时间 2015-09-29 更新时间 2015-09-29
漏洞平台 N/A CVSS评分 N/A
Document Title:
NodeBB v0.8.2 - Client Side Cross Site Web Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
NodeBB is a next-generation discussion platform that utilizes web sockets for instant interactions and real-time notifications. 
NodeBB forums have many modern features out of the box such as social network integration and streaming discussions. NodeBB is an 
open source project which can be forked on GitHub. 

(Copy of Vendor page &

Abstract Advisory Information:
An independent vulnerability laboratory researcher discovered a client-side vulnerability in the offical NodeBB v0.8.2 forum web-application.

Vulnerability Disclosure Timeline:
2015-09-24:	Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
NodeBB v0.8.2

Exploitation Technique:

Severity Level:

Technical Details & Description:
A non-persistent input validation web vulnerability has been discovered in the offical NodeBB v0.8.2 forum web-application.
The security vulnerability allows remote attackers to manipulate client-side application to browser requests to compromise user session data.

The vulnerability is located in the `url` values of the `outgoing` module. Remote attackers are able to inject malicious script codes to client-side 
browser to application requests. Remote attackers are able to prepare special crafted weblinks to execute client-side script code that compromises the 
src/controllers/index.js GET data. The execution of the script code occurs in the src/controllers/index.js module. The attack vector of the vulnerability 
is located on the client-side of the web-application and the request method to inject or execute the code is GET.

The security risk of the non-persistent cross site vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.4.
Exploitation of the non-persistent cross site scripting web vulnerability requires no privilege web application user account but low or medium user interaction. 
Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing, non-persistent external redirects, non-persistent load 
of malicious script codes or non-persistent web module context manipulation.

Request Method(s):
				[+] GET

Vulnerable Module(s):
				[+] outgoing 

Vulnerable Parameter(s):
				[+] url

Affected Module(s):
				[+] src/controllers/index.js

Proof of Concept (PoC):
The security vulnerability can be exploited by remote attackers without privilege web-application user account and with low or medium user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

Ubuntu 14.04 (Firefox 39.0)
Vulnerable is GET parameter --url-- in outgoing controller (src/controllers/index.js)


Solution - Fix & Patch:
The vulnerability can be patched by a secure parse and encode of the url value parameter in the outgoing module GET method request.
Restrict the input and disallow special chars. Filter the input to prevent further client-side cross site scripting attacks.

Security Risk:
The security risk of the client-side cross site scripting vulnerability is estimated as medium. (CVSS 3.4)

Credits & Authors:
Mikica Ivosevic

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 ? 2015 | Vulnerability Laboratory - [Evolution Security GmbH]?