CVE-2022-23556

CodeIgniter is vulnerable to IP address spoofing when using proxy

Published Dec 22, 2022 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
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()`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7632 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()`.
Github GHSA Github GHSA GHSA-ghw3-5qvm-3mqc CodeIgniter4 allows spoofing of IP address when using proxy
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 15, 2025, 2:37 PM
Reserved
Jan 19, 2022, 9:23 PM
Status
Modified
Published
Dec 22, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:30 AM