CVE-2017-12872 SimpleSAMLphp allows timing side-channel attacks

Medium 5.9 Published Updated

Remote attackers can exploit timing side-channels in authentication to potentially recover secret material due to insecure string comparisons.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12872?

CVE-2017-12872 is a medium-severity vulnerability in Debian Debian Linux, published on 1 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The (1) Htpasswd authentication source in the authcrypt module and (2) SimpleSAML_Session class in SimpleSAMLphp 1.14.11 and earlier allow remote attackers to conduct timing side-channel attacks by leveraging use of the standard comparison operator to compare secret material against user input.

Weakness: CWE-200

Which versions are affected by CVE-2017-12872?

2 open source packages ship an affected version, including simplesamlphp/simplesamlphp. It affects 2 products.

PackageAffectedFixed in
simplesamlphp/simplesamlphp PackagistAll versions1.15.0-rc1
simplesamlphp/simplesamlphp PackagistAll versions1.15.0-rc1

Products include Debian Debian Linux, Simplesamlphp Simplesamlphp.

How do I fix CVE-2017-12872?

Upgrade simplesamlphp/simplesamlphp to 1.15.0-rc1 or later.

Is CVE-2017-12872 being exploited?

There is no known exploitation of CVE-2017-12872 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12872, GHSA-v882-949x-6v28, UBUNTU-CVE-2017-12872.

Is CVE-2017-12872 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free