Vulnerability Details : CVE-2016-20018
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.
Vulnerability category: Sql Injection
Products affected by CVE-2016-20018
- cpe:2.3:a:knexjs:knex:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2016-20018
0.16%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 53 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-20018
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2016-20018
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-20018
-
https://nvd.nist.gov/vuln/detail/CVE-2016-20018
NVD - CVE-2016-20018
-
https://github.com/knex/knex/issues/1227
knex where is not escaping field objects with mysql engine (potential SQL injection?) · Issue #1227 · knex/knex · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://www.ghostccamm.com/blog/knex_sqli/
GhostCcamm's Cyber MisadventuresExploit;Third Party Advisory
Jump to