CVE-2022-23556 – codeigniter4/framework
Package
Manager: composer
Name: codeigniter4/framework
Vulnerable Version: >=0 <4.2.11
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00068 pctl0.21358
Details
CodeIgniter4 allows spoofing of IP address when using proxy ### Impact This vulnerability may allow attackers to spoof their IP address when your server is behind a reverse proxy. ### Patches Upgrade to v4.2.11 or later, and configure `Config\App::$proxyIPs`. ### Workarounds Do not use `$request->getIPAddress()`. ### References - https://codeigniter4.github.io/userguide/incoming/request.html#CodeIgniter\HTTP\Request::getIPAddress ### For more information If you have any questions or comments about this advisory: * Open an issue in [codeigniter4/CodeIgniter4](https://github.com/codeigniter4/CodeIgniter4/issues) * Email us at [SECURITY.md](https://github.com/codeigniter4/CodeIgniter4/blob/develop/SECURITY.md)
Metadata
Created: 2022-12-22T19:59:58Z
Modified: 2022-12-22T19:59:58Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-ghw3-5qvm-3mqc/GHSA-ghw3-5qvm-3mqc.json
CWE IDs: ["CWE-345"]
Alternative ID: GHSA-ghw3-5qvm-3mqc
Finding: F204
Auto approve: 1