CVE-2022-24711CWE-20

Remote CLI Command Execution Vulnerability in CodeIgniter4

Critical · published February 28, 2022

CVSS v3.1
9.4
EPSS
1%
Percentile
67.2
In the wild
Unconfirmed
What it is

🚨 A tiny oversight in CodeIgniter4 lets attackers execute CLI routes via HTTP requests—like using a secret backdoor to sneak into a concert! 🔥 Think of your web application as a concert hall with a VIP backstage area. This vulnerability is like leaving the backstage door wide open, allowing anyone with a ticket (or no ticket at all) to step in and perform on stage, causing chaos! An attacker could exploit this vulnerability to run commands on the server as if they were the application itself, potentially accessing sensitive data, modifying files, or even taking complete control of the system. The consequences could be absolutely devastating!

Put simply

Think of your web application as a concert hall with a VIP backstage area. This vulnerability is like leaving the backstage door wide open, allowing anyone with a ticket (or no ticket at all) to step in and perform on stage, causing chaos! This improper input validation vulnerability in CodeIgniter4 allows unauthorized execution of CLI routes via HTTP requests, bypassing normal security checks and leading to unauthorized command execution.

What to do

An attacker could exploit this vulnerability to run commands on the server as if they were the application itself, potentially accessing sensitive data, modifying files, or even taking complete control of the system. The consequences could be absolutely devastating! Upgrade your CodeIgniter4 framework to version 4.1.9 or later immediately to patch this vulnerability. Additionally, review your application's access controls and input validations to ensure robust security practices. Don't wait—act now! This is fixable! Follow these steps, and you’ll secure your application in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.4 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01173 · 67.2th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2022-02-28T15:45Z
EPSS history
Timeline
  • 28 FEB 15:45Z
    Remote CLI Command Execution Vulnerability in CodeIgniter4
    cvelistv5