Skip to content
Account takeover Disclosed report Intermediate CVE-2024-2260

zenml Session Fixation vulnerability

The application did not invalidate JWT tokens on logout, so a token remained valid after a user logged out. An attacker who obtained a victim's token could reuse it to bypass authentication.

zenml-io/zenml

Originally disclosed on huntr

A session fixation vulnerability exists in the zenml-io/zenml application, where JWT tokens used for user authentication are not invalidated upon logout. This flaw allows an attacker to bypass authentication mechanisms by reusing a victim's JWT token.

From the GitHub Advisory Database (GHSA-g3r5-72hf-p7p2, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server did not maintain a revocation list or token blacklist, so it continued to accept JWTs that had been issued before logout.

Impact

An attacker who obtained a victim's JWT could reuse it after the victim logged out to bypass authentication and act as the victim.

What the attacker needed

Attacker obtains a valid JWT token

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you log in, the app gives your browser a token (like a temporary key) to prove who you are. Normally, logging out should make that key stop working. Here, the key kept working even after logout, so anyone who got a copy of it could still use it to act as you.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from zenml-io/zenml

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.