PT-2014-7798 · Dolibarr · Dolibarr Erp/Crm
Published
2014-11-21
·
Updated
2018-10-09
·
CVE-2014-7137
CVSS v2.0
6.5
Medium
| Vector | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
Dolibarr ERP/CRM versions prior to 3.6.1
Description
The issue allows remote authenticated users to execute arbitrary SQL commands via various parameters in different actions and PHP files. The vulnerable parameters include
contactid, ligne, project ref, lineid, ref, id, productid, sall, sref, search bon, search ligne, search societe, search code, search label, search project, search societe, search statut, socid, sortorder, sref, sall, sortfield, statut, tobuy, tosell, search categ, and type. The affected API endpoints and files include "projet/tasks/contact.php", "projet/contact.php", "compta/bank/fiche.php", "contact/info.php", "holiday/index.php", "product/stock/fiche.php", "product/stock/info.php", "product/stock/massstockmove.php", "projet/tasks/note.php", "element.php", "ganttview.php", "note.php", "tasks.php", "comm/mailing/liste.php", "compta/prelevement/liste.php", "compta/sociales/index.php", "projet/tasks/index.php", "compta/prelevement/demandes.php", "user/index.php", "compta/recap-compta.php", "societe/commerciaux.php", "societe/rib.php", "product/stock/liste.php", "adherents/liste.php", "compta/dons/liste.php", "product/liste.php", "product/reassort.php", "product/index.php", "compta/paiement/cheque/liste.php", "compta/prelevement/bons.php", "compta/prelevement/rejets.php", "product/stats/commande.php", "product/stats/commande fournisseur.php", "product/stats/contrat.php", "product/stats/facture.php", "product/stats/facture fournisseur.php", "product/stats/propal.php", and "product/stock/replenishorders.php".Recommendations
For Dolibarr ERP/CRM versions prior to 3.6.1, update to version 3.6.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the vulnerable parameters and API endpoints until a patch is available. Avoid using the vulnerable parameters in the affected API endpoints and files until the issue is resolved.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dolibarr Erp/Crm