Description

Knex Knex.js through 2.3.0 has a limited SQL injection vulnerability that can be exploited to ignore the WHERE clause of a SQL query.

INFO

Published Date :

Dec. 19, 2022, 9:15 a.m.

Last Modified :

Nov. 23, 2023, 12:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-20018 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-20018 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Knexjs knex
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-20018.

URL Resource
https://github.com/knex/knex/issues/1227 Exploit Issue Tracking Third Party Advisory
https://nvd.nist.gov/vuln/detail/CVE-2016-20018
https://www.ghostccamm.com/blog/knex_sqli/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

This is a list of artifacts from the GitHub Advisory Database where the corresponding JSON files are missing CVE identifiers, despite the fact that these artifacts are listed in the NVD (National Vulnerability Database). I cross-referenced the data, retrieved the missing CVEs, and compiled everything into a list.

Updated: 6 days, 2 hours ago
0 stars 0 fork 0 watcher
Born at : Oct. 1, 2024, 9:03 p.m. This repo has been linked 99 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-20018 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-20018 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 23, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://nvd.nist.gov/vuln/detail/CVE-2016-20018 [No types assigned]
  • Initial Analysis by [email protected]

    Dec. 23, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/knex/knex/issues/1227 No Types Assigned https://github.com/knex/knex/issues/1227 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://www.ghostccamm.com/blog/knex_sqli/ No Types Assigned https://www.ghostccamm.com/blog/knex_sqli/ Exploit, Third Party Advisory
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:knexjs:knex:*:*:*:*:*:node.js:*:* versions up to (including) 2.3.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-20018 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.16 }} 0.02%

score

0.53155

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability