Remote Code Execution Vulnerability in Validation Placeholders in CodeIgniter4
Critical severity
GitHub Reviewed
Published
May 21, 2023
in
codeigniter4/CodeIgniter4
•
Updated Nov 11, 2023
Description
Published to the GitHub Advisory Database
May 22, 2023
Reviewed
May 22, 2023
Published by the National Vulnerability Database
May 30, 2023
Last updated
Nov 11, 2023
Impact
This vulnerability allows attackers to execute arbitrary code when you use Validation Placeholders.
The vulnerability exists in the Validation library, and validation methods in the controller and in-model validation are also vulnerable because they use the Validation library internally.
Patches
Upgrade to v4.3.5 or later.
Workarounds
Setting validation rules with an array.
E.g.:
References
For more information
If you have any questions or comments about this advisory:
References