CVE-2025-54419

A SAML library not dependent on any frameworks that runs in Node. In version 5.0.1, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. To conduct the attack an attacker would need a validly signed document from the identity provider (IdP). This is fixed in version 5.1.0.
Configurations

No configuration.

History

29 Jul 2025, 14:14

Type Values Removed Values Added
Summary
  • (es) Una librería SAML independiente de ningún framework que se ejecuta en Node. En la versión 5.0.1, Node-SAML carga la aserción del documento de respuesta original (sin firmar). Esto difiere de las partes que se verifican al comprobar la firma. Esto permite a un atacante modificar los detalles de autenticación dentro de una aserción SAML válida. Por ejemplo, en un ataque es posible eliminar cualquier carácter del nombre de usuario de la aserción SAML. Para llevar a cabo el ataque, un atacante necesitaría un documento firmado válidamente por el proveedor de identidad (IdP). Esto se solucionó en la versión 5.1.0.

28 Jul 2025, 21:15

Type Values Removed Values Added
Summary (en) A SAML library not dependent on any frameworks that runs in Node. In versions 5.0.1 and below, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. To conduct the attack an attacker would need a validly signed document from the identity provider (IdP). This is fixed in version 5.1.0. (en) A SAML library not dependent on any frameworks that runs in Node. In version 5.0.1, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. To conduct the attack an attacker would need a validly signed document from the identity provider (IdP). This is fixed in version 5.1.0.

28 Jul 2025, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-28 20:17

Updated : 2025-07-29 14:14


NVD link : CVE-2025-54419

Mitre link : CVE-2025-54419

CVE.ORG link : CVE-2025-54419


JSON object : View

Products Affected

No product.

CWE
CWE-287

Improper Authentication

CWE-347

Improper Verification of Cryptographic Signature