Medium severity5.9NVD Advisory· Published Aug 29, 2017· Updated May 13, 2026
CVE-2017-12867
CVE-2017-12867
Description
The SimpleSAML_Auth_TimeLimitedToken class in SimpleSAMLphp 1.14.14 and earlier allows attackers with access to a secret token to extend its validity period by manipulating the prepended time offset.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
simplesamlphp/simplesamlphpPackagist | >= 1.14.0, < 1.14.15 | 1.14.15 |
Affected products
1Patches
1608f24c2d5afFix an issue with time-limited tokens.
1 file changed · +1 −1
lib/SimpleSAML/Auth/TimeLimitedToken.php+1 −1 modified@@ -71,7 +71,7 @@ private function calculateTokenValue($offset, $time = null) $time = time(); } // a secret salt that should be randomly generated for each installation - return sha1(floor(($time - $offset) / ($this->lifetime + $this->skew)).':'.$this->secretSalt); + return sha1($offset.':'.floor(($time - $offset) / ($this->lifetime + $this->skew)).':'.$this->secretSalt); }
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- simplesamlphp.org/security/201708-01nvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-597c-mh7m-48v7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2017-12867ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12867.yamlghsaWEB
- github.com/simplesamlphp/simplesamlphp/commit/608f24c2d5afd70c2af050785d2b12f878b33c68ghsaWEB
- lists.debian.org/debian-lts-announce/2017/12/msg00007.htmlnvdWEB
- www.debian.org/security/2018/dsa-4127nvdWEB
News mentions
0No linked articles in our index yet.