{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-23556","id":"CVE-2022-23556","title":"CodeIgniter is vulnerable to IP address spoofing when using proxy","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()`.\n","descriptionLong":"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()`.\n","published":"2022-12-22T18:50:55.443Z","updated":"2026-11-11T10:30:53.869212004Z","reserved":"2022-01-19T21:23:53.803Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["CodeIgniter4"],"affectedProducts":[{"vendor":"codeigniter4","product":"CodeIgniter4","defaultStatus":null,"versions":[{"version":"< 4.2.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"codeigniter4/framework","purl":"pkg:composer/codeigniter4/framework","ranges":["<4.2.11"],"fixed":["4.2.11"],"advisory":"GHSA-ghw3-5qvm-3mqc"}],"cwes":["CWE-345"],"aliases":["BIT-codeigniter-2022-23556","GHSA-ghw3-5qvm-3mqc"],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-ghw3-5qvm-3mqc","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/5ca8c99b2db09a2a08a013836628028ddc984659","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23556.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23556","tags":["advisory"]},{"url":"https://codeigniter4.github.io/userguide/incoming/request.html#CodeIgniter\\HTTP\\Request::getIPAddress","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter4/framework/CVE-2022-23556.yaml","tags":["web"]},{"url":"https://github.com/codeigniter4/CodeIgniter4","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00398,"epssPercentile":0.34775,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-23556","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23556","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-23556","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ghw3-5qvm-3mqc","ok":true,"note":"GHSA-ghw3-5qvm-3mqc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-23556","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}