CVE-2017-12867: SimpleSAMLphp Invalid token creation and validation

simplesamlphp/simplesamlphp Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Moderate
5.9

CVE-2017-12867: SimpleSAMLphp Invalid token creation and validation. Affects simplesamlphp/simplesamlphp versions >= 1.14.0, < 1.14.15. Fixed in 1.14.15. How to fix ↓

Also tracked for

The same CVE-2017-12867 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

SimpleSAMLphp is a PHP-based authentication and federation software that provides support for SAML (Security Assertion Markup Language) authentication. It is widely used in various web applications and systems to enable single sign-on functionality. The vulnerability identified as CVE-2017-12867 affects SimpleSAMLphp versions 1.14.14 and earlier. This vulnerability allows attackers with access to a secret token to manipulate the prepended time offset, thereby extending the validity period of the token.

Vulnerability Detail

The SimpleSAML_Auth_TimeLimitedToken class in SimpleSAMLphp is responsible for creating and validating time-limited tokens used for authentication. However, due to a flaw in the implementation, an attacker who possesses a secret token can modify the time offset value to extend the token's validity period. This can lead to unauthorized access and potential security breaches. The vulnerability has a CVSS score of 5.9, indicating a moderate severity level.

How To Fix

Minimum fixed version

1.14.15

This is the first release that contains the fix.

composer require simplesamlphp/simplesamlphp:1.14.15

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

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the latest version of SimpleSAMLphp.

Conclusion

The vulnerability identified as CVE-2017-12867 in SimpleSAMLphp allows attackers to manipulate the validity period of a token, potentially leading to unauthorized access. To mitigate this vulnerability, it is crucial to upgrade to SimpleSAMLphp version 1.14.15 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for simplesamlphp/simplesamlphp →

Share this vulnerability

FAQ

SimpleSAMLphp is a PHP-based authentication and federation software used for enabling single sign-on functionality in web applications and systems.

The vulnerability allows attackers with access to a secret token to extend its validity period, potentially leading to unauthorized access and security breaches.

To fix this vulnerability, upgrade SimpleSAMLphp to version 1.14.15 or later.

No, there is no known workaround for this vulnerability. Upgrading to the latest version is the recommended solution.

The vulnerability has a CVSS score of 5.9, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for simplesamlphp/simplesamlphp.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.14.15

This is the first release that contains the fix.

composer require simplesamlphp/simplesamlphp:1.14.15

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