Lucene search

K
githubGitHub Advisory DatabaseGHSA-GHW3-5QVM-3MQC
HistoryDec 22, 2022 - 7:59 p.m.

CodeIgniter4 allows spoofing of IP address when using proxy

2022-12-2219:59:58
CWE-345
GitHub Advisory Database
github.com
39
codeigniter4
ip spoofing
reverse proxy
upgrade
configuration
request vulnerability

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

0.001 Low

EPSS

Percentile

29.4%

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:

Affected configurations

Vulners
Node
codeigniter4frameworkRange<4.2.11
CPENameOperatorVersion
codeigniter4/frameworklt4.2.11

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

0.001 Low

EPSS

Percentile

29.4%