PT-2011-5108 · Dolibarr · Dolibarr
CVE-2011-4802
·
Publicado
2011-12-14
·
Atualizado
2023-02-02
CVSS v2.0
6.5
Média
| Vetor | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
Dolibarr versions 3.1.0 RC and earlier
Description
The issue allows remote authenticated users to execute arbitrary SQL commands. This can be achieved via several parameters in different PHP files, including
sortfield, sortorder, and sall parameters to "user/index.php" and "user/group/index.php", the id parameter to "info.php", "perms.php", "param ihm.php", "note.php", and "fiche.php" in the "user/" directory, and the rowid parameter to "admin/boxes.php".Recommendations
For Dolibarr versions 3.1.0 RC and earlier, consider restricting access to the vulnerable parameters
sortfield, sortorder, sall, id, and rowid in the affected PHP files until a patch is available. As a temporary workaround, limit the execution of arbitrary SQL commands by implementing input validation and sanitization for these parameters.Exploit
Correção
SQL injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Dolibarr