Skip to content
HighVulnerability

CVE-2023-46315: zanllp sd-webui-infinite-image-browsing arbitrary local file read via /file

Identifier
CVE-2023-46315
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

The zanllp sd-webui-infinite-image-browsing extension (aka Infinite Image Browsing) before 977815a for stable-diffusion-webui allows remote attackers to read any local file via /file?path= when Gradio authentication is enabled without a secret key configured. The source demonstrates reading /proc/self/environ to discover credentials. The weakness is classified as CWE-200, Exposure of Sensitive Information to an Unauthorized Actor.

Mitigation

The source links a patch commit, 977815a2b28ad953c10ef0114c365f698c4b8f19, in the project's pull request 368, and notes the fix as "before 977815a". It does not state any configuration change or workaround beyond that.