SQL Injection Affecting codeigniter/framework package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CODEIGNITERFRAMEWORK-3041334
  • published7 Oct 2022
  • disclosed7 Oct 2022
  • credit未若

Introduced: 7 Oct 2022

CVE-2022-40829  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for codeigniter/framework.

Overview

codeigniter/framework is an Application Development Framework - a toolkit - for people who build web sites using PHP.

Affected versions of this package are vulnerable to SQL Injection via or_like() function in system\database\DB_query_builder.php. Note: In order to be vulnerable, the following conditions should be met:

  1. Using the information_schema as the main database.

  2. Allowing user input unsanitized/without any pre-DB checks as a database value.

  3. Allowing the column name to be entirely decided by a GET value.

CVSS Scores

version 3.1