// For flags

CVE-2022-21647

Deserialization of Untrusted Data in Codeigniter4

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

CodeIgniter is an open source PHP full-stack web framework. 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. We are aware of a working exploit, which can lead to SQL injection. Users are advised to upgrade to v4.1.6 or later. Users unable to upgrade as advised to not use the `old()` function and form_helper nor `RedirectResponse::withInput()` and `redirect()->withInput()`.

CodeIgniter es un framework web full-stack de PHP de código abierto. Se encontró una deserialización de datos no confiables en la función "old()" en CodeIgniter4. Los atacantes remotos pueden inyectar objetos arbitrarios autocargables con esta vulnerabilidad, y posiblemente ejecutar código PHP existente en el servidor. Tenemos conocimiento de una explotación que funciona, que puede conllevar a una inyección SQL. Se aconseja a usuarios que actualicen a la versión 4.1.6 o posterior. A los usuarios que no puedan actualizarse se les aconseja no usar la función "old()" y form_helper ni "RedirectResponse::withInput()" y "redirect()->withInput()"

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-11-16 CVE Reserved
  • 2022-01-04 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-09-19 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-502: Deserialization of Untrusted Data
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Codeigniter
Search vendor "Codeigniter"
Codeigniter
Search vendor "Codeigniter" for product "Codeigniter"
>= 4.0.0 < 4.1.6
Search vendor "Codeigniter" for product "Codeigniter" and version " >= 4.0.0 < 4.1.6"
-
Affected