RULE(RULE ID:338775)

Rule General Information
Release Date: 2025-04-02
Rule Name: Stable Diffusion Web UI Local File Read Vulnerability (CVE-2023-46315)
Severity:
CVE ID:
Rule Protection Details
Description: The zanllp sd-webui-infinite-image-browsing (aka Infinite Image Browsing) extension before 977815a for stable-diffusion-webui (aka Stable Diffusion web UI), if Gradio authentication is enabled without secret key configuration, allows remote attackers to read any local file via /file?path= in the URL, as demonstrated by reading /proc/self/environ to discover credentials.
Impact: An attacker could exploit this vulnerability to have unspecified effect.
Affected OS: Windows, Linux, Others
Reference: https://github.com/zanllp/sd-webui-infinite-image-browsing/issues/387
https://github.com/zanllp/sd-webui-infinite-image-browsing/pull/368/commits/977815a2b28ad953c10ef0114c365f698c4b8f19
Solutions
Please refer to announcements or patches release by the vendor: https://github.com/zanllp/sd-webui-infinite-image-browsing/releases/tag/v0.5.0