Skip to content
Access control Disclosed report Beginner CVE-2024-2035

Improper authorization in zenml

Any authenticated user could modify other users' information through the user update endpoint, including setting their active status to false. This allowed deactivating accounts, even admin accounts, disrupting the application.

zenml-io/zenml

Originally disclosed on huntr

An improper authorization vulnerability exists in the zenml-io/zenml repository, specifically within the API PUT /api/v1/users/id endpoint. This vulnerability allows any authenticated user to modify the information of other users, including changing the active status of user accounts to false, effectively deactivating them. This issue affects version 0.55.3 and was fixed in version 0.56.2. The impact of this vulnerability is significant as it allows for the deactivation of admin accounts, potentially disrupting the functionality and security of the application.

From the GitHub Advisory Database (GHSA-9x88-4jg8-4vf7, 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 missing an authorization check that the authenticated user matches the user ID being modified.

Impact

An attacker could deactivate other users, including admins, potentially disrupting the application's functionality and security.

What the attacker needed

Authenticated user account

The fix

The issue was fixed in version 0.56.2.

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.

A web application has an endpoint that lets a logged-in user update their own profile. The server did not check that the user was only updating their own account, so any logged-in user could change other people's details, such as turning their account off.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.