Cross-Site Request Forgery (CSRF) in dolibarr/dolibarr

Valid

Reported on

Jul 21st 2021


✍️ Description

CSRF bug to validate inventory

🕵️‍♂️ Proof of Concept

Here it does not check token parameter for csrf .You can remove token paramater from url. bellow request is vulnerable to csrf attack when validate inventory .
https://demo.dolibarr.org/product/inventory/inventory.php?id=1&action=confirm_validate&confirm=yes

💥 Impact

csrf attack

We have contacted a member of the dolibarr team and are waiting to hear back 4 months ago
ranjit-git modified their report
2 months ago
ranjit-git modified their report
2 months ago
Laurent Destailleur confirmed that a fix has been merged on 858a5a 2 months ago
Laurent Destailleur has been awarded the fix bounty