9.8crit

CVE-2016-10551

SQL Injection in waterline-sequel

Also known as GHSA-cgpp-wm2h-6hqx

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.8%
percentile 79%
Public exploits
0
none known

Summary

waterline-sequel is a module that helps generate SQL statements for Waterline apps Any user input that goes into Waterline's `like`, `contains`, `startsWith`, or `endsWith` will end up in waterline-sequel with the potential for malicious code. A malicious user can input their own SQL statements in waterline-sequel 0.50 that will get executed and have full access to the database.

Exploit prediction (EPSS)

1.80% probability of exploitation in the next 30 days, higher than 79% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected packages

EcosystemPackageAffectedFixed in
npmwaterline-sequel
<0.5.1
0.5.1

Affected products

  • HackerOne waterline-sequel node module

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

  • github.com /balderdashy/waterline/issues/1219#issuecomment-157294530 · x_refsource_MISC, x_transferred
  • nodesecurity.io /advisories/115 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-10551 · advisory
  • github.com /balderdashy/waterline-sequel/pull/66 · web
  • github.com /advisories/GHSA-cgpp-wm2h-6hqx · advisory
  • npmjs.com /advisories/115 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.