PT-2023-23966 · Unknown · Codeigniter
Kenjis
·
Published
2023-05-22
·
Updated
2024-03-06
·
CVE-2023-32692
CVSS v3.1
9.8
Critical
| Vector | 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
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Codeigniter