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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-31462— Limited file write in Stable-diffusion-webui - GHSL-2024-010

Quick assessment

Affected
AUTOMATIC1111 stable-diffusion-webui
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Stable Diffusion web UI是AUTOMATIC1111个人开发者的一个 Web 界面。 Stable Diffusion web UI 1.7.0版本存在安全漏洞,该漏洞源于存在文件写入漏洞。攻击者可利用该漏洞在web服务器可以访问的任何位置编写json文件。

CVSS 6.3 · Medium EPSS 0.68% · P51
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-31462

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
Limited file write in Stable-diffusion-webui - GHSL-2024-010
Source: CVE Program / CVE List V5
Vulnerability Description
stable-diffusion-webui is a web interface for Stable Diffusion, implemented using Gradio library. Stable-diffusion-webui 1.7.0 is vulnerable to a limited file write affecting Windows systems. The create_ui method (Backup/Restore tab) in modules/ui_extensions.py takes user input into the config_save_name variable on line 653. This user input is later used in the save_config_state method and used to create a file path on line 65, which is afterwards opened for writing on line 67, which leads to a limited file write exploitable on Windows systems. This issue may lead to limited file write. It allows for writing json files anywhere on the server where the web server has access.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Stable Diffusion web UI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Stable Diffusion web UI是AUTOMATIC1111个人开发者的一个 Web 界面。 Stable Diffusion web UI 1.7.0版本存在安全漏洞,该漏洞源于存在文件写入漏洞。攻击者可利用该漏洞在web服务器可以访问的任何位置编写json文件。
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

Vendor Product Affected Versions CPE Subscribe
AUTOMATIC1111 stable-diffusion-webui <= 1.8.0 -

II. Public POCs for CVE-2024-31462

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-31462

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-31462 (1)

Other References for CVE-2024-31462 (9)

IV. Related Vulnerabilities

V. Comments for CVE-2024-31462

No comments yet


Leave a comment