PT-2023-23966 · Unknown · Codeigniter
Kenjis
·
Publicado
2023-05-22
·
Atualizado
2024-03-06
·
CVE-2023-32692
CVSS v3.1
9.8
Crítica
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
CodeIgniter versions prior to 4.3.5
Description
This issue allows attackers to execute arbitrary code when using Validation Placeholders. The vulnerability exists in the Validation library, and validation methods in the controller and in-model validation are also affected because they use the Validation library internally.
Recommendations
For versions prior to 4.3.5, upgrade to version 4.3.5 or later.
As a temporary workaround, consider setting validation rules with an array to minimize the risk of exploitation. For example, use
$validation->setRules(['email' => ['required','valid email, 'is unique[users.email,id,{id}]']]) to set validation rules.Exploit
Correção
Code Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Codeigniter