Authorization Bypass Affecting indy-node package, versions [0, 1.12.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.18% (56th percentile)

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 ID SNYK-PYTHON-INDYNODE-1054609
  • published 27 Dec 2020
  • disclosed 27 Dec 2020
  • credit Unknown

How to fix?

Upgrade indy-node to version 1.12.4 or higher.

Overview

indy-node is a package that implements server portion of a distributed ledger purpose-built for decentralized identity.

Affected versions of this package are vulnerable to Authorization Bypass. There is lack of signature verification on a specific transaction which enables an attacker to make certain unauthorized alterations to the ledger. Updating a DID with a nym transaction will be written to the ledger if neither ROLE or VERKEY are being changed, regardless of sender. A malicious DID with no particular role can ask an update for another DID (but cannot modify its verkey or role). This is bad because:

  1. Any DID can write a nym transaction to the ledger (i.e., any DID can spam the ledger with nym transactions)

  2. Any DID can change any other DID's alias

  3. The update transaction modifies the ledger metadata associated with a DID.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

7.5 high