Skip to content
OpenAdvisories
High · 7.0 CVE-2022-23556 BIT-codeigniter-2022-23556EUVD-2022-7632GHSA-ghw3-5qvm-3mqc

CodeIgniter is vulnerable to IP address spoofing when using proxy

Published Dec 22, 2022 · Updated Apr 15, 2025 · Assigned by GitHub_M

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()`.

Affected products

VendorProductAffectedFixed
codeigniter4 CodeIgniter4 < 4.2.11 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist codeigniter4/framework < 4.2.11 4.2.11 GHSA-ghw3-5qvm-3mqc

References