Skip to content
Account takeover Disclosed report Beginner CVE-2024-2213

Improper authentication in zenml

The password change function in ZenML did not require the current password, so anyone with an active session could set a new password. This allowed an attacker who had access to a session to take over the account.

zenml-io/zenml

Originally disclosed on huntr

An issue was discovered in zenml-io/zenml versions up to and including 0.55.4. Due to improper authentication mechanisms, an attacker with access to an active user session can change the account password without needing to know the current password. This vulnerability allows for unauthorized account takeover by bypassing the standard password change verification process. The issue was fixed in version 0.56.3.

From the GitHub Advisory Database (GHSA-j527-v579-m98h, 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 password change endpoint did not verify the user's current password before accepting a new one.

Impact

An attacker with access to an active session could take over the account by changing its password.

What the attacker needed

Access to an active user session

The fix

The issue was fixed in version 0.56.3.

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 change your password, a website should ask for your old password first. That proves you are the real owner. Here, ZenML skipped that check, so anyone who was already logged in (for example, someone who borrowed a laptop or stole a session cookie) could set a new password and lock the real owner out.

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.