CVE-2015-5725

SQL injection vulnerability in the offset method in the Active Record class in CodeIgniter before 2.2.4 allows remote attackers to execute arbitrary SQL…

published February 21, 2018

CVSS
—
EPSS
2%
Percentile
83.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection is lurking in the offset method of CodeIgniter's Active Record class! This vulnerability lets attackers slip in arbitrary SQL commands if you’re running a version prior to 2.2.4. 🔍 Think of this vulnerability like a sneaky waiter who takes your order and then sends a completely different meal back to the kitchen without checking with you first — any SQL command you didn't intend could end up being served! An attacker could leverage this SQL injection to manipulate your database in devastating ways — they could read sensitive data, change records, or even delete entire tables! This could lead to significant data breaches and corruption of your application, impacting both you and your users.

Put simply

Think of this vulnerability like a sneaky waiter who takes your order and then sends a completely different meal back to the kitchen without checking with you first — any SQL command you didn't intend could end up being served! The SQL injection vulnerability in CodeIgniter's Active Record class allows remote attackers to execute arbitrary SQL commands through improper handling of the offset variable, bypassing your application's safety checks.

What to do

An attacker could leverage this SQL injection to manipulate your database in devastating ways — they could read sensitive data, change records, or even delete entire tables! This could lead to significant data breaches and corruption of your application, impacting both you and your users. Update CodeIgniter to version 2.2.4 or later to patch this vulnerability. Regularly review your input data handling and implement prepared statements to further protect against SQL injection attacks. 🔒 You've got this! With a quick update, you can secure your application and keep it safe from would-be attackers. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02321 · 83.3th percentile
Published
2018-02-21T16:00Z
EPSS history
Timeline
  • 21 FEB 16:00Z
    SQL injection vulnerability in the offset method in the Active Record class in CodeIgniter before 2.2.4 allows remote attackers to execute arbitrary SQL…
    cvelistv5