Description
Stable Diffusion WebUI through 1.10.1 contains a credential disclosure vulnerability in the /sdapi/v1/cmd-flags endpoint that returns parsed command-line arguments including gradio_auth and api_auth values in cleartext. Unauthenticated attackers can access this endpoint to retrieve configured usernames and passwords, then use them to authenticate to the interface and access the application.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
AUTOMATIC1111 stable-diffusion-webui
Default version status: unaffected
0 to ≤ 1.10.1affected
References
- https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/17411 ↗
- https://github.com/AUTOMATIC1111/stable-diffusion-webui ↗
- https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/82a973c04367123ae98bd9abdf80d9eda9b910e2/modules/api/api.py ↗
- https://www.vulncheck.com/advisories/stable-diffusion-webui-credential-disclosure-via-sdapi-v1-cmd-flags ↗