8.8high

CVE-2017-158791 exploit

Keystone is vulnerable to CSV injection

Also known as GHSA-6494-v9fq-fgq2

Published 9 y ago · modified 4 mo ago · JSON

CVSS
8.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
7.2%
percentile 94%
Public exploits
1
Exploit-DB

Summary

CSV Injection (aka Excel Macro Injection or Formula Injection) exists in admin/server/api/download.js and lib/list/getCSVData.js in KeystoneJS before 4.0.0-beta.7 via a value that is mishandled in a CSV export.

Exploit prediction (EPSS)

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

Exploits and detections

  • EDB-43053 KeystoneJS 4.0.0-beta.5 - CSV Excel Macro Injection · webapps · 2017-10-25

CVSS scores

Assigned byVersionScoreVector
NVD3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
npmkeystone
<4.0.0-beta7
4.0.0-beta7

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • github.com /keystonejs/keystone/pull/4478 · x_refsource_CONFIRM, x_transferred
  • exploit-db.com /exploits/43053/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
  • packetstormsecurity.com /files/144755/KeystoneJS-4.0.0-beta.5-Unauthenticated-CSV-Injection.html · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-15879 · advisory
  • github.com /advisories/GHSA-6494-v9fq-fgq2 · advisory
  • exploit-db.com /exploits/43053 · web

Sources

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