CVE-2022-23556
PHP vulnerability analysis and mitigation

Overview

CodeIgniter, a PHP full-stack web framework, was found to contain a vulnerability (CVE-2022-23556) that allows attackers to spoof their IP address when the server is behind a reverse proxy. The vulnerability was disclosed on December 22, 2022, affecting CodeIgniter versions from 4.0.0 up to (excluding) 4.2.11 (NVD, GitHub Advisory).

Technical details

The vulnerability stems from insufficient verification of data authenticity (CWE-345) in the IP address handling mechanism when the application is behind a reverse proxy. The vulnerability has received a CVSS v3.1 base score of 7.5 HIGH from NVD with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, indicating network accessibility with low attack complexity and no required privileges or user interaction (NVD).

Impact

When exploited, this vulnerability allows attackers to spoof their IP address, potentially bypassing IP-based security controls and making it difficult to track or block malicious actors. This could lead to unauthorized access and compromise of IP-based security measures (GitHub Advisory).

Exploitability

The vulnerability is exploitable remotely with no authentication required. The attack vector is network-accessible, requiring low complexity to execute, making it relatively straightforward for attackers to exploit in environments where the server is behind a reverse proxy (NVD).

Mitigation and workarounds

The vulnerability has been patched in CodeIgniter version 4.2.11. Users are advised to upgrade to version 4.2.11 or later and properly configure Config\App::$proxyIPs. As a temporary workaround, users can avoid using the $request->getIPAddress() method (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77143HIGH8.8
  • PHP logoPHP
  • composer://jweiland/pforum
NoYesAug 25, 2026
CVE-2026-77142HIGH8.8
  • PHP logoPHP
  • composer://jweiland/yellowpages2
NoYesAug 25, 2026
CVE-2026-77146HIGH8.3
  • PHP logoPHP
  • composer://in2code/femanager
NoYesAug 25, 2026
CVE-2026-77145HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026
CVE-2026-77144HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management