Signature Validation Bypass

Affecting xml-crypto package, versions <2.0.0

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

Overview

xml-crypto is a xml digital signature and encryption library for Node.js.

Affected versions of this package are vulnerable to Signature Validation Bypass. An attacker can inject an HMAC-SHA1 signature that is valid using only knowledge of the RSA public key. This allows bypassing signature validation.

Remediation

Upgrade xml-crypto to version 2.0.0 or higher.

References

CVSS Score

7.5
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Credit
Brian Wolff
CWE
CWE-347
Snyk ID
SNYK-JS-XMLCRYPTO-1023301
Disclosed
27 Oct, 2020
Published
28 Oct, 2020