CVE-2017-1000452: Authentication Bypass in samlify

samlify Updated 02 Oct 2025

Summary

04/01/2018
Yes i
High
7.5

CVE-2017-1000452: Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames. Affects samlify versions < 2.4.0-rc5. Fixed in 2.4.0-rc5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

samlify is an npm package that provides SAML (Security Assertion Markup Language) functionality for Node.js applications. It allows developers to implement SAML service providers and identity providers. The package is widely used for integrating SAML-based authentication and authorization into web applications.

Vulnerability Detail

Versions of samlify prior to 2.3.0 are vulnerable to an Authentication Bypass. The package fails to prevent XML Signature Wrapping, which allows tokens to be reused with different usernames. This vulnerability enables a remote attacker to modify SAML content for a SAML service provider without invalidating the cryptographic signature. As a result, attackers may bypass primary authentication for the affected SAML service provider, gaining unauthorized access to protected resources.

How To Fix

Minimum fixed version

2.4.0-rc5

This is the first release that contains the fix.

npm install samlify@2.4.0-rc5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The samlify package prior to version 2.3.0 is vulnerable to an Authentication Bypass, allowing attackers to reuse tokens with different usernames. Upgrading to version 2.3.0 or later is recommended to fix this vulnerability. For more information and support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for samlify →

Share this vulnerability

FAQ

The vulnerability allows an attacker to bypass primary authentication for a SAML service provider, potentially gaining unauthorized access to protected resources.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using package-lock.json as a data source.

No, there are no known workarounds for this vulnerability. It is recommended to upgrade to the fixed version of the samlify package.

Yes, the CVSS score for this vulnerability is 7.5, indicating a high severity level.

For more information about this vulnerability, you can contact info@devnack.com. They can provide further support on vulnerability remediation.

Related vulnerabilities

Recent vulnerabilities recorded for samlify.

How To Fix

Minimum fixed version

2.4.0-rc5

This is the first release that contains the fix.

npm install samlify@2.4.0-rc5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback