Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-m837-g268-mmv7

Опубликовано: 25 июл. 2025
Источник: github
Github: Прошло ревью
CVSS4: 9.3

Описание

Node-SAML SAML Authentication Bypass

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).

In fixing this we upgraded xml-crypto to v6.1.2 and made sure to process the SAML assertions from only verified/authenticated contents. This will prevent future variants from coming up.

Пакеты

Наименование

node-saml

npm
Затронутые версииВерсия исправления

<= 3.1.2

Отсутствует

Наименование

@node-saml/node-saml

npm
Затронутые версииВерсия исправления

<= 5.0.1

5.1.0

EPSS

Процентиль: 19%
0.0006
Низкий

9.3 Critical

CVSS4

Дефекты

CWE-287
CWE-347
CWE-87

Связанные уязвимости

nvd
7 месяцев назад

Node-SAML is 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. This issue is fixed in version 5.1.0.

EPSS

Процентиль: 19%
0.0006
Низкий

9.3 Critical

CVSS4

Дефекты

CWE-287
CWE-347
CWE-87