what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

NodeBB 0.8.2 Cross Site Scripting

NodeBB 0.8.2 Cross Site Scripting
Posted Sep 28, 2015
Authored by Vulnerability Laboratory, Mikica Ivosevic | Site vulnerability-lab.com

NodeBB version 0.8.2 suffers from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | d57f11bfe70287dfffacacdc169c4b777ffa00972b7da86b4dc99814bccfc23f

NodeBB 0.8.2 Cross Site Scripting

Change Mirror Download
Document Title:
===============
NodeBB v0.8.2 - Client Side Cross Site Web Vulnerability


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


Release Date:
=============
2015-09-24


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


Common Vulnerability Scoring System:
====================================
3.4


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 https://docs.nodebb.org/en/latest/ & https://github.com/NodeBB/NodeBB/)


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:
=================
Published


Affected Product(s):
====================
NodeBB v0.8.2


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


Severity Level:
===============
Medium


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)

PoC:
http://www.[website].com/outgoing?url=<script>alert("CSXSS")</script>
http://www.[website].com/outgoing?url=<script>alert(document.cookie)</script>


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: 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: magazine.vulnerability-db.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact
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
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/

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





--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research@vulnerability-lab.com
PGP KEY: http://www.vulnerability-lab.com/keys/admin@vulnerability-lab.com%280x198E9928%29.txt

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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