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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AUTOMATIC1111 | stable-diffusion-webui | ≤ 1.10.1 | — |
References
- GitHub Issue #17411 issue-tracking
- https://github.com/AUTOMATIC1111/stable-diffusion-webui product
- Vulnerable code: api.py technical-description
- VulnCheck Advisory: Stable Diffusion WebUI Credential Disclosure via /sdapi/v1/cmd-flags third-party-advisory