CVE-2024-7043
Description
An improper access control vulnerability in open-webui/open-webui v0.3.8 allows attackers to view and delete any files. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the GET /api/v1/files/ interface to retrieve information on all files uploaded by users, which includes the ID values. The attacker can then use the GET /api/v1/files/{file_id} interface to obtain information on any file and the DELETE /api/v1/files/{file_id} interface to delete any file.
How to fix
- open-webui0.3.16 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openwebui open_webui | 0.3.8 | — |
| open-webuiPyPI | v ≤ 0.3.8, v < 0.3.16 | 0.3.16 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.