CVE-2022-40828

B.C

Critical · published October 7, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
64.5
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection hides in CodeIgniter <=3.1.13, just waiting for an attacker to exploit it with a simple query! 🔥 Think of this vulnerability as a restaurant where a clever diner finds a way to change the chef's special by sneaking in their own recipe — if they’re not checked, they could modify the menu at will! This means a malicious actor could potentially read, modify, or even delete data from your database, leading to absolutely devastating consequences for your application and its users. The worst part? They can do this without authentication, making it a prime target for attackers. Protect your data and reputation before it’s too late!

Put simply

Think of this vulnerability as a restaurant where a clever diner finds a way to change the chef's special by sneaking in their own recipe — if they’re not checked, they could modify the menu at will! This SQL injection vulnerability exists in the or_where_not_in() function of CodeIgniter's DB query builder, allowing attackers to manipulate queries and execute arbitrary SQL commands.

What to do

This means a malicious actor could potentially read, modify, or even delete data from your database, leading to absolutely devastating consequences for your application and its users. The worst part? They can do this without authentication, making it a prime target for attackers. Protect your data and reputation before it’s too late! To remediate this issue, update your CodeIgniter framework to version 3.1.14 or later immediately. Additionally, ensure you implement input validation and prepared statements to safeguard against future SQL injection attacks. This is fixable! Update your system and you'll have this locked down in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01066 · 64.5th percentile
Published
2022-10-07T00:00Z
EPSS history
Timeline
  • 07 OCT 00:00Z
    B.C
    cvelistv5