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).
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.