PT-2022-15002 · Unknown · Codeigniter4

Mgatner

·

Published

2022-01-04

·

Updated

2024-03-06

·

CVE-2022-21647

CVSS v3.1

7.7

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
Name of the Vulnerable Software and Affected Versions CodeIgniter4 versions prior to 4.1.6
Description Deserialization of Untrusted Data was found in the old() function in CodeIgniter4. Remote attackers may inject auto-loadable arbitrary objects with this vulnerability, and possibly execute existing PHP code on the server. A working exploit is known to exist, which can lead to SQL injection.
Recommendations Upgrade to v4.1.6 or later. As a temporary workaround, consider not using the old() function and form helper, nor RedirectResponse::withInput() and redirect()->withInput().

Exploit

Fix

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

BIT-CODEIGNITER-2022-21647
CVE-2022-21647
GHSA-W6JR-WJ64-MC9X

Affected Products

Codeigniter4