CodeIgniter4 allows spoofing of IP address when using proxy
High severity
GitHub Reviewed
Published
Dec 22, 2022
in
codeigniter4/CodeIgniter4
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Dec 22, 2022
Published to the GitHub Advisory Database
Dec 22, 2022
Reviewed
Dec 22, 2022
Last updated
Feb 1, 2023
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
For more information
If you have any questions or comments about this advisory:
References