VYPR
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.

PackageAffected versionsPatched versions
simplesamlphp/simplesamlphpPackagist
>= 1.14.0, < 1.14.151.14.15

Affected products

1

Patches

1
608f24c2d5af

Fix an issue with time-limited tokens.

https://github.com/simplesamlphp/simplesamlphpJaime Pérez CrespoJun 28, 2017via ghsa
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

News mentions

0

No linked articles in our index yet.