CVE-2025-4754
Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable after…
Auswirkung
Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards. The default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it. This issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer beteiligt sein, etwa indem er Inhalte ansieht. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| erlang | ash_authentication_phoenix | <= 2.9.0 | 2.10.0 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Ash-project | Ash Authentication Phoenix | ab 05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 vor a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 ab 0.1.0 vor 2.10.0 |
| Team-alembic | Ash Authentication Phoenix | ab 0.1.0 vor 2.10.0 ab 05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 vor a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://cna.erlef.org/cves/CVE-2025-4754.html
- https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02
- https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1
- https://github.com/team-alembic/ash_authentication_phoenix/pull/634
- https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq
- https://osv.dev/vulnerability/EEF-CVE-2025-4754
- https://github.com/advisories/GHSA-f7gq-h8jv-h3cq
- https://nvd.nist.gov/vuln/detail/CVE-2025-4754