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).

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-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 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