PT-2023-29956 · Unknown · Sd-Webui-Infinite-Image-Browsing
Vysecurity
·
Published
2023-10-22
·
Updated
2024-09-12
·
CVE-2023-46315
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
sd-webui-infinite-image-browsing extension versions before 977815a
Description
The issue allows remote attackers to read any local file via the "/file?path=" endpoint in the URL, as demonstrated by reading /proc/self/environ to discover credentials, when Gradio authentication is enabled without secret key configuration.
Recommendations
For versions before 977815a, consider disabling Gradio authentication or configuring a secret key to mitigate the risk of exploitation. As a temporary workaround, restrict access to the "/file?path=" endpoint to minimize the risk of reading local files.
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sd-Webui-Infinite-Image-Browsing