All reports
Medium

Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read

Affected versions

Version ranges need review.

Affected versions
<= 0.3.8
Fixed version
Not reported
Affected versions
<=0.3.8 || =0.1.124 || =0.1.125 || =0.2.0 || =0.2.1 || =0.2.2 || =0.2.3 || =0.2.4 || =0.2.5 || =0.3.0 || =0.3.1 || =0.3.2 || =0.3.3 || =0.3.4 || =0.3.5 || =0.3.6 || =0.3.7 || =0.3.8
Fixed version
Not reported

Description

In version v0.3.8 of open-webui/open-webui, improper access control vulnerabilities allow an attacker to view any prompts. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the /api/v1/prompts/ interface to retrieve all prompt information created by the admin, which includes the ID values. Subsequently, the attacker can exploit the /api/v1/prompts/command/{command_id} interface to obtain arbitrary prompt information.

Links