Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-7034— Remote Code Execution due to Arbitrary File Write in open-webui/open-webui

EPSS 6.73% · P91
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-7034

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Remote Code Execution due to Arbitrary File Write in open-webui/open-webui
Source: NVD (National Vulnerability Database)
Vulnerability Description
In open-webui version 0.3.8, the endpoint `/models/upload` is vulnerable to arbitrary file write due to improper handling of user-supplied filenames. The vulnerability arises from the usage of `file_path = f"{UPLOAD_DIR}/{file.filename}"` without proper input validation or sanitization. An attacker can exploit this by manipulating the `file.filename` parameter to include directory traversal sequences, causing the resulting `file_path` to escape the intended `UPLOAD_DIR` and potentially overwrite arbitrary files on the system. This can lead to unauthorized modifications of system binaries, configuration files, or sensitive data, potentially enabling remote command execution.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Open WebUI 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Open WebUI是Open WebUI开源的一个可扩展、功能丰富、用户友好的自托管 WebUI。 Open WebUI 0.3.8版本存在路径遍历漏洞,该漏洞源于/models/upload端点处理文件名不当,可能导致任意文件写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
open-webuiopen-webui/open-webui unspecified ~ latest -

II. Public POCs for CVE-2024-7034

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-7034

登录查看更多情报信息。

Same Patch Batch · open-webui · 2025-03-20 · 20 CVEs total

CVE-2024-7046Improper Access Control in open-webui/open-webui
CVE-2024-8053Improper Authentication in open-webui/open-webui
CVE-2024-8017Cross-site Scripting (XSS) in open-webui/open-webui
CVE-2024-8060Remote Code Execution in OpenWebUI via Arbitrary File Upload
CVE-2024-7990Stored Cross-Site Scripting in open-webui/open-webui
CVE-2024-7043Improper Access Control in open-webui/open-webui
CVE-2024-7983Denial of Service in open-webui/open-webui
CVE-2024-7035Cross-Site Request Forgery (CSRF) in open-webui/open-webui
CVE-2024-7053Session Fixation in open-webui/open-webui
CVE-2024-7806Remote Code Execution by Non-Admin Users via CSRF in open-webui/open-webui
CVE-2024-12534Denial of Service (DoS) in open-webui/open-webui
CVE-2024-7033Arbitrary File Write in open-webui/open-webui
CVE-2024-7036Denial of Service in open-webui/open-webui
CVE-2024-7044Stored XSS in open-webui/open-webui
CVE-2024-7040Improper Access Control in open-webui/open-webui
CVE-2024-7045Improper Access Control in open-webui/open-webui
CVE-2024-7959SSRF in open-webui/open-webui
CVE-2024-7039Improper Privilege Management in open-webui/open-webui
CVE-2024-12537Unauthenticated Denial of Service in open-webui/open-webui

IV. Related Vulnerabilities

V. Comments for CVE-2024-7034

No comments yet


Leave a comment