CVE-2023-32692 Remote Code Execution Vulnerability in Validation Placeholders
Attackers can execute arbitrary code via Validation Placeholders in the CodeIgniter PHP framework, requiring an upgrade to the patched version.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-32692?
CVE-2023-32692 is a critical code injection vulnerability in CodeIgniter4, published on 30 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CodeIgniter is a PHP full-stack web framework. 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. This issue is patched in version 4.3.5.
Weakness: CWE-94
Which versions are affected by CVE-2023-32692?
3 open source packages ship an affected version, including codeigniter4/framework and codeigniter. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
codeigniter4/framework Packagist | All versions | 4.3.5 |
codeigniter4/framework Packagist | All versions | 4.3.5 |
codeigniter Bitnami | All versions | 4.3.5 |
Products include Codeigniter Codeigniter.
How do I fix CVE-2023-32692?
Upgrade codeigniter4/framework to 4.3.5 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-32692 being exploited?
There is no known exploitation of CVE-2023-32692 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in CodeIgniter4
Sources
Also known as BIT-codeigniter-2023-32692, GHSA-m6m8-6gq8-c9fj.