samlify Signature Wrapping Vulnerability Allowing User Forgery

Vulnerability

A Signature Wrapping vulnerability has been identified in the samlify library for Node.js, specifically in versions prior to 2.10.0. This vulnerability allows an attacker to forge a SAML Response and authenticate as any user. To exploit this issue, the attacker must possess a signed XML document from the identity provider.

Impact

Exploitation of this vulnerability could lead to unauthorized user authentication by forging SAML Responses.

Reproduction

The vulnerability can be reproduced by using a version of samlify prior to 2.10.0. An attacker must obtain a signed XML document from the identity provider and then manipulate it to include a forged SAML Response that can be accepted by the service provider.

Remediation

Users can upgrade to samlify version 2.10.0 or later to address this vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
5.7
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.