Authentication Bypass Affecting @solid/identity-token-verifier package, versions <0.5.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SOLIDIDENTITYTOKENVERIFIER-1085639
  • published14 Mar 2021
  • disclosed12 Mar 2021
  • creditUnknown

Introduced: 12 Mar 2021

CVE NOT AVAILABLE CWE-290  (opens in a new tab)

How to fix?

Upgrade @solid/identity-token-verifier to version 0.5.2 or higher.

Overview

@solid/identity-token-verifier is a Verifies Solid access tokens via their WebID claim, and thus asserts ownership of WebIDs.

Affected versions of this package are vulnerable to Authentication Bypass. A verification flaw in the implementation of the identity token verifier library (https://github.com/solid/identity-token-verifier) allows DPoP proofs to be spoofed.

DPoP proofs are used to bind access tokens to a private key meant to be in sole possession of a specific user. Instead of verifying against the hash of an embedded public key, the library instead verifies against a field that an attacker can modify to spoof another user’s DPoP.

A stolen DPoP proof, when used in the right context, therefore allows the rebinding of a DPoP-bound access token. Any attacker in possession of a targeted access token could build an attack environment to replay it on any Pod service with this vulnerability.

References

CVSS Scores

version 3.1