Open WebUI Allows Viewing of Admin Details
The application did not check whether a user was an administrator before serving the admin details endpoint. An attacker could call that endpoint directly to retrieve the first admin's details.
open-webui
Originally disclosed on huntr
An improper access control vulnerability in open-webui/open-webui v0.3.8 allows an attacker to view admin details. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the /api/v1/auths/admin/details interface to retrieve the first admin (owner) details.
From the GitHub Advisory Database (GHSA-gv26-qw3h-8qvp, 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 admin details endpoint lacked an authorisation check, so any authenticated or unauthenticated caller could access it.
Impact
An attacker could view the first administrator's details, which may include sensitive account information.
What the attacker needed
Access to the application
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.
Some web applications have special pages meant only for administrators. This one had a page that returned the main administrator's information, but it never checked if the person asking was actually an administrator. So anyone who knew the address could ask for that information and get it.
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.