CVE-2022-23556 json
CodeIgniter is vulnerable to IP address spoofing when using proxy
published 2022-12-22 3 y ago modified 2026-06-17 4 mo ago also BIT-codeigniter-2022-23556 , EUVD-2022-7632 , GHSA-ghw3-5qvm-3mqc
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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()`.
Patch / fix
- packagist codeigniter4/framework 4.2.11
- bitnami codeigniter 4.2.11
- codeigniter codeigniter 4.2.11
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-ghw3-5qvm-3mqc referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| GitHub | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | codeigniter4/framework | <4.2.11 |
4.2.11 |
| bitnami | codeigniter | >=4.0.0, <4.2.11 |
4.2.11 |
Affected products
- codeigniter4 CodeIgniter4
Classification
- Weakness
-
- CWE-345 Insufficient Verification of Data Authenticity
References
-
github.com
/codeigniter4/CodeIgniter4/commit/5ca8c99b2db09a2a08a013836628028ddc984659
web, patch, third-party-advisory
-
github.com
/codeigniter4/CodeIgniter4/security/advisories/GHSA-ghw3-5qvm-3mqc
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23556
advisory
-
codeigniter4.github.io
/userguide/incoming/request.html#CodeIgniter\HTTP\Request::getIPAddress
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/codeigniter4/framework/CVE-2022-23556.yaml
web
-
github.com
/codeigniter4/CodeIgniter4
package
Sources
- CVE List CVE-2022-23556
- GitHub Advisory GHSA-ghw3-5qvm-3mqc
- NVD CVE-2022-23556
- OSV BIT-codeigniter-2022-23556
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.