Skip to content
Access control Write-up Beginner

CVE-2024–24830: A Critical OpenObserve Vulnerability Exposed

The OpenObserve RBAC system failed to validate user roles when creating users via the /api/{org_id}/users endpoint, allowing any authenticated regular user to assign elevated privileges such as the root role. An attacker could escalate their privileges and gain unauthorised control over application resources.

elniak Follow

Published on systemweakness.com

The cybersecurity landscape is constantly evolving, with new vulnerabilities emerging that threaten the integrity, confidentiality, and availability of systems worldwide.

ElNiak, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the application did not check the requesting user's role before allowing them to set the role of a newly created user.

Impact

An attacker could escalate privileges and gain unauthorised control over application resources, compromising confidentiality, integrity, and availability.

What the attacker needed

Authenticated as a regular user

The fix

The vulnerability was fixed by upgrading to version 0.8.0.

How it was found

  1. Send a POST request to the users endpoint for the default organisation.
  2. Include a JSON body with an email, password, and the role set to root.

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 write-up has not been written yet. The Original tab links to the source.

OpenObserve is a tool for storing and searching logs and metrics. It has different user roles, like 'member' and 'root', where root has more power. The bug meant that a normal member could create a new user and give that user the root role, effectively making themselves an administrator. This is called privilege escalation.

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 by elniak

View all

28 more disclosed reports, best first.

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.