CVE-2017-16570 Cross-Site Request Forgery (CSRF) in keystone

High 8.8 Published Updated

KeystoneJS fails to validate CSRF tokens, allowing attackers to bypass protection and perform unauthorized actions on behalf of users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-16570?

CVE-2017-16570 is a high-severity vulnerability in n/a, published on 6 Nov 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

KeystoneJS before 4.0.0-beta.7 allows application-wide CSRF bypass by removing the CSRF parameter and value, aka SecureLayer7 issue number SL7_KEYJS_03. In other words, it fails to reject requests that lack an x-csrf-token header.

Weakness: CWE-352

Which versions are affected by CVE-2017-16570?

2 open source packages ship an affected version, including keystone. It affects 1 product.

PackageAffectedFixed in
keystone npmAll versions4.0.0-beta.7
keystone npmAll versions4.0.0-beta.7

Products include Keystonejs Keystone.

How do I fix CVE-2017-16570?

Upgrade keystone to 4.0.0-beta.7 or later.

Is CVE-2017-16570 being exploited?

There is no known exploitation of CVE-2017-16570 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-q43c-g2g7-6gxj.

Is CVE-2017-16570 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free