CVE-2024-25718 Samly access control vulnerability
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.
Which versions are affected by CVE-2024-25718?
2 open source packages ship an affected version, including Samly. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
Samly Hex | All versions | 1.4.0 |
Samly Hex | All versions | 1.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.