First published: Thu Dec 22 2022(Updated: )
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()`.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
composer/codeigniter4/framework | <4.2.11 | |
Codeigniter Codeigniter | >=4.0.0<4.2.11 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-23556 is a vulnerability that allows attackers to spoof their IP address when the server is behind a reverse proxy in CodeIgniter.
CVE-2022-23556 has a severity rating of 7.5 (high).
To fix CVE-2022-23556, upgrade to CodeIgniter version 4.2.11 or later, and configure Config\App::$proxyIPs. Alternatively, you can temporarily avoid the vulnerability by not using $requ…
You can find more information about CVE-2022-23556 in the official GitHub security advisory and commit: [GitHub Advisory](https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-ghw3-5qvm-3mqc), [GitHub Commit](https://github.com/codeigniter4/CodeIgniter4/commit/5ca8c99b2db09a2a08a013836628028ddc984659).
The CWE ID for CVE-2022-23556 is CWE-345.