CVE-2022-40832

B.C

published October 7, 2022

CVSS
—
EPSS
1%
Percentile
64.5
In the wild
Unconfirmed
What it is

⚠️ A query builder with a crafty little SQL injection vulnerability! The B.C. Institute of Technology’s CodeIgniter <=3.1.13 is letting some sneaky queries slip through the cracks. 🔥 Imagine a restaurant that allows patrons to modify their orders without checking the kitchen’s allergen list—one wrong move could lead to a big mess! This SQL injection flaw lets attackers sneak in unexpected commands, potentially altering the database’s contents. An attacker could use this vulnerability to execute arbitrary SQL commands, posing a risk to data integrity and confidentiality. If exploited, it could lead to unauthorized data exposure or manipulation, sending your security system into a tailspin!

Put simply

Imagine a restaurant that allows patrons to modify their orders without checking the kitchen’s allergen list—one wrong move could lead to a big mess! This SQL injection flaw lets attackers sneak in unexpected commands, potentially altering the database’s contents. This vulnerability resides in the having() function of the DB_query_builder.php file in CodeIgniter, allowing an SQL injection attack to bypass normal query restrictions and execute harmful SQL commands.

What to do

An attacker could use this vulnerability to execute arbitrary SQL commands, posing a risk to data integrity and confidentiality. If exploited, it could lead to unauthorized data exposure or manipulation, sending your security system into a tailspin! To secure your application, consider upgrading to a patched version of CodeIgniter that addresses this vulnerability. Additionally, review your database query handling to ensure proper input validation and sanitization practices are in place. 🛡️ You’ve got this! By taking these steps, you'll enhance your security posture and keep your data safe! 🚀

The record
Technical detail
CVSS
Not scored
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