Signature-Validation Bypass in SimpleSAMLphp: CVE-2017-18122

simplesamlphp Updated 02 Oct 2025

Summary

02/02/2018
N/A
Yes i
High
8.1

CVE-2017-18122: A signature-validation bypass issue was discovered in SimpleSAMLphp through 1.14.16. Affects simplesamlphp across 2 version ranges.

< 1.15.0-1 < 9ebbbbc7fa334d55526c2a5e230d9941002cdcb8

Fixed in 1.15.0-1. 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

SimpleSAMLphp is an open-source application written in PHP that facilitates the implementation of SAML (Security Assertion Markup Language) authentication. It allows service providers to authenticate users through identity providers, enabling single sign-on (SSO) capabilities. The application is widely used for its flexibility and ease of integration with various identity providers. However, it is vulnerable to a signature-validation bypass issue that can lead to serious security risks.

Vulnerability Detail

A signature-validation bypass issue was discovered in SimpleSAMLphp versions up to 1.14.16. The vulnerability allows a SimpleSAMLphp Service Provider using SAML 1.1 to accept any unsigned SAML response that contains more than one signed assertion, as long as at least one of the assertions is validly signed. This flaw enables an attacker to impersonate any user from any Identity Provider (IdP) if they can obtain a valid assertion signed by that IdP. The implications of this vulnerability are severe, as it compromises the integrity of user authentication and can lead to unauthorized access to sensitive resources.

How To Fix

Minimum fixed version

1.15.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade simplesamlphp

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

Workaround

As a temporary workaround, it is recommended to disable the acceptance of unsigned SAML responses until the upgrade can be performed. This can be done by modifying the configuration settings in your SimpleSAMLphp installation to enforce strict signature validation.

Conclusion

CVE-2017-18122 represents a significant security risk for users of SimpleSAMLphp, allowing attackers to bypass signature validation and impersonate users. It is crucial to upgrade to version 1.15.0-1 or later to mitigate this vulnerability. In the meantime, applying the suggested workaround can help protect your application.

See every vulnerability recorded for simplesamlphp →

Share this vulnerability

FAQ

CVE-2017-18122 is a vulnerability in SimpleSAMLphp that allows for a signature-validation bypass, enabling attackers to impersonate users.

Versions of SimpleSAMLphp up to 1.14.16 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of CVE-2017-18122 is 8.1, indicating a high severity level.

If an immediate upgrade is not possible, implement the recommended workaround by disabling the acceptance of unsigned SAML responses.

Related vulnerabilities

Recent vulnerabilities recorded for simplesamlphp.

How To Fix

Minimum fixed version

1.15.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade simplesamlphp

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