CVE-2024-25718 Samly access control vulnerability

Critical 9.1 Published Updated

Attackers can maintain unauthorized access by exploiting expired session caching in the Samly Elixir library, bypassing authentication controls.

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

What is CVE-2024-25718?

CVE-2024-25718 is a critical authentication bypass vulnerability in n/a, published on 11 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Samly package before 1.4.0 for Elixir, Samly.State.Store.get_assertion/3 can return an expired session, which interferes with access control because Samly.AuthHandler uses a cached session and does not replace it, even after expiry.

Weakness: CWE-613, CWE-400

Which versions are affected by CVE-2024-25718?

2 open source packages ship an affected version, including Samly. It affects 1 product.

PackageAffectedFixed in
Samly HexAll versions1.4.0
Samly HexAll versions1.4.0

Products include Dropbox Samly.

How do I fix CVE-2024-25718?

Upgrade Samly to 1.4.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-25718 being exploited?

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

Sources

Also known as GHSA-h3rw-77w7-92gf.

Is CVE-2024-25718 in your software?

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

Check your SBOMs for free