CASEBOOK

Browse / AI Framework and Platform Flaws / CVE-2024-7041

open-webui Insecure Direct Object Reference (IDOR) vulnerability

CVE-2024-7041 ยท 2024-10-09 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the source)
Technique
Authentication and access control
Also involves
Agent Context and Memory Poisoning
Affected
open-webui (PyPI)
Gets past
Authorisation check
CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

The memory update endpoint checks only that a memory ID exists, not that it belongs to the caller, so users can rewrite others' stored memories. (Our summary, written by a model. The source text is below.)

Details

An Insecure Direct Object Reference (IDOR) vulnerability exists in open-webui/open-webui version v0.3.8. The vulnerability occurs in the API endpoint http://0.0.0.0:3000/api/v1/memories/{id}/update, where the decentralization design is flawed, allowing attackers to edit other users' memories without proper authorization.

References

Source: GitHub Advisory Database, used under CC BY 4.0.