CVE-2022-23556 HIGH

CVE-2022-23556: CodeIgniter is vulnerable to IP address spoofing when using proxy

Vendor Codeigniter4
Product CodeIgniter4
Weakness CWE-345
Published December 22, 2022
Last update April 15, 2025

CVSS base score

7.0/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity Low

CVSS vector

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

What the vulnerability does

Description

CodeIgniter is a PHP full-stack web framework. This vulnerability may allow attackers to spoof their IP address when the server is behind a reverse proxy. This issue has been patched, please upgrade to version 4.2.11 or later, and configure `Config\App::$proxyIPs`. As a workaround, do not use `$request->getIPAddress()`.

Key dates

Disclosure timeline

December 22, 2022 CVE published
April 15, 2025 Record updated