Lucene search

K
githubGitHub Advisory DatabaseGHSA-W6JR-WJ64-MC9X
HistoryJan 06, 2022 - 10:52 p.m.

Deserialization of Untrusted Data in Codeigniter4

2022-01-0622:52:41
CWE-502
GitHub Advisory Database
github.com
23
codeigniter4
deserialization
untrusted data
remote attackers
sql injection
security patch

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.075

Percentile

94.2%

Impact

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.

Patches

Upgrade to v4.1.6 or later.

Workarounds

Do not use:

  • old() and form_helper
  • RedirectResponse::withInput() and redirect()->withInput()

References

For more information

If you have any questions or comments about this advisory:

Affected configurations

Vulners
Node
codeigniter4frameworkRange<4.1.6
VendorProductVersionCPE
codeigniter4framework*cpe:2.3:a:codeigniter4:framework:*:*:*:*:*:*:*:*

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.075

Percentile

94.2%