9.8
CRITICAL
CVE-2024-25718
Samly Elixir Permanent Session Impersonation Vulnerability
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.

INFO

Published Date :

Feb. 11, 2024, 5:15 a.m.

Last Modified :

Nov. 21, 2024, 9:01 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2024-25718 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dropbox samly

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-25718 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-25718 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://diff.hex.pm/diff/samly/1.3.0..1.4.0
    Added Reference https://github.com/dropbox/samly
    Added Reference https://github.com/dropbox/samly/pull/13
    Added Reference https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb
    Added Reference https://github.com/handnot2/samly
    Added Reference https://hex.pm/packages/samly
  • Initial Analysis by [email protected]

    Oct. 21, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://diff.hex.pm/diff/samly/1.3.0..1.4.0 No Types Assigned https://diff.hex.pm/diff/samly/1.3.0..1.4.0 Patch
    Changed Reference Type https://github.com/dropbox/samly No Types Assigned https://github.com/dropbox/samly Product
    Changed Reference Type https://github.com/dropbox/samly/pull/13 No Types Assigned https://github.com/dropbox/samly/pull/13 Patch
    Changed Reference Type https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb No Types Assigned https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb Patch
    Changed Reference Type https://github.com/handnot2/samly No Types Assigned https://github.com/handnot2/samly Product
    Changed Reference Type https://hex.pm/packages/samly No Types Assigned https://hex.pm/packages/samly Release Notes
    Added CWE NIST CWE-613
    Added CPE Configuration OR *cpe:2.3:a:dropbox:samly:*:*:*:*:*:elixir:*:* versions up to (excluding) 1.4.0
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 01, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-400
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Feb. 11, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference MITRE https://hex.pm/packages/samly [No types assigned]
    Added Reference MITRE https://github.com/handnot2/samly [No types assigned]
    Added Reference MITRE https://github.com/dropbox/samly [No types assigned]
    Added Reference MITRE https://diff.hex.pm/diff/samly/1.3.0..1.4.0 [No types assigned]
    Added Reference MITRE https://github.com/dropbox/samly/pull/13 [No types assigned]
    Added Reference MITRE https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-25718 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-25718 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} 0.06%

score

0.42034

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability