High severityNVD Advisory· Published Dec 22, 2022· Updated Apr 15, 2025
CodeIgniter is vulnerable to IP address spoofing when using proxy
CVE-2022-23556
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().
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
codeigniter4/frameworkPackagist | < 4.2.11 | 4.2.11 |
Affected products
3- osv-coords2 versions
>= 4.0.0, < 4.2.11+ 1 more
- (no CPE)range: >= 4.0.0, < 4.2.11
- (no CPE)range: < 4.2.11
- Range: < 4.2.11
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-ghw3-5qvm-3mqcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23556ghsaADVISORY
- codeigniter4.github.io/userguide/incoming/request.htmlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter4/framework/CVE-2022-23556.yamlghsaWEB
- github.com/codeigniter4/CodeIgniter4/commit/5ca8c99b2db09a2a08a013836628028ddc984659ghsax_refsource_MISCWEB
- github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-ghw3-5qvm-3mqcghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.