Skip to main content
Vulnerability Database/CVE-2024-11044

CVE-2024-11044: Stable Diffusion WebUI Open Redirect Flaw

CVE-2024-11044 is an open redirect flaw in Automatic1111 Stable Diffusion WebUI that enables attackers to redirect users to malicious sites for phishing and credential theft. This article covers technical details and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-11044 Overview

CVE-2024-11044 is an open redirect vulnerability in automatic1111/stable-diffusion-webui version 1.10.0. A remote, unauthenticated attacker can craft a URL that redirects a victim's browser to an attacker-controlled website. The flaw is categorized under CWE-601: URL Redirection to Untrusted Site.

Exploitation requires user interaction, typically a victim clicking a crafted link. Attackers abuse the trust of the legitimate stable-diffusion-webui host to deliver phishing pages, distribute malware, or harvest credentials.

Critical Impact

An unauthenticated attacker can leverage the trusted hostname of a stable-diffusion-webui 1.10.0 instance to redirect users to arbitrary external sites for phishing, credential theft, or malware delivery.

Affected Products

  • automatic1111/stable-diffusion-webui version 1.10.0
  • Deployments exposing the web UI to untrusted networks
  • Hosted or shared instances accessed by multiple users

Discovery Timeline

  • 2025-03-20 - CVE-2024-11044 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-11044

Vulnerability Analysis

The web UI accepts a user-controllable redirect parameter and forwards the browser to the supplied destination without validating it against an allow-list of trusted hosts. Because the request originates from the legitimate stable-diffusion-webui origin, victims see a familiar hostname before being redirected offsite.

Attackers chain this flaw with social engineering. A crafted link appears to point to a trusted Stable Diffusion deployment but silently sends the browser to an attacker-controlled domain hosting a phishing page or malware payload. The impact scope is marked as changed in the CVSS vector, reflecting that the redirect affects resources beyond the vulnerable component itself.

The EPSS probability for this CVE is 0.845% with a percentile of 57.7, indicating low but non-negligible likelihood of exploitation activity.

Root Cause

The root cause is missing validation of a redirect target supplied through URL input. The application trusts the parameter value and issues an HTTP redirect to any host, including external, attacker-controlled domains. See the Huntr bug bounty disclosure for further detail.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker crafts a URL pointing to a legitimate stable-diffusion-webui 1.10.0 instance, embedding an external redirect target. The victim clicks the link, trusting the visible hostname, and is forwarded to the attacker-controlled site.

Typical post-redirect activity includes phishing portals that mimic legitimate login flows, drive-by malware delivery, and cross-site scripting pivots when combined with other weaknesses. No authentication is required to craft or distribute the malicious URL.

No verified public exploit code is available. The vulnerability can be reproduced using a browser and a crafted URL referencing the vulnerable redirect endpoint.

Detection Methods for CVE-2024-11044

Indicators of Compromise

  • HTTP access logs showing requests to stable-diffusion-webui endpoints with redirect parameters containing external hostnames or encoded URLs.
  • Referrer headers on external domains that trace back to a stable-diffusion-webui 1.10.0 instance.
  • User reports of unexpected redirects from internal Stable Diffusion URLs to login or download pages on unknown domains.

Detection Strategies

  • Inspect web server and reverse proxy logs for query string parameters containing fully qualified URLs, protocol-relative URLs (//evil.example), or URL-encoded redirect targets.
  • Deploy web application firewall rules that flag outbound redirect responses pointing to hosts outside an approved allow-list.
  • Correlate HTTP 3xx responses from the Stable Diffusion UI with destinations outside the organization's trusted domains.

Monitoring Recommendations

  • Enable verbose request logging on the stable-diffusion-webui process and forward logs to a centralized analytics platform.
  • Alert on anomalous spikes in redirect responses from Stable Diffusion instances, particularly from unauthenticated sessions.
  • Monitor DNS and proxy telemetry for user traffic flowing from Stable Diffusion hosts to newly registered or low-reputation domains.

How to Mitigate CVE-2024-11044

Immediate Actions Required

  • Restrict network exposure of stable-diffusion-webui 1.10.0 to trusted users via VPN, authentication proxy, or firewall rules.
  • Review user training to reinforce caution when clicking URLs, even those pointing to internally trusted hostnames.
  • Audit access logs for suspicious redirect parameters consistent with phishing or malware delivery campaigns.

Patch Information

No vendor advisory URL is listed in the NVD record at time of publication. Monitor the automatic1111/stable-diffusion-webui repository and the Huntr disclosure for updated releases that validate redirect targets. Upgrade to a fixed version as soon as one is published by the maintainers.

Workarounds

  • Place stable-diffusion-webui behind a reverse proxy that strips or validates redirect parameters against an allow-list of permitted hosts.
  • Configure the reverse proxy to rewrite or block HTTP 3xx responses whose Location header points to external domains.
  • Disable or firewall off the vulnerable instance until a validated patch is applied if the UI is reachable from untrusted networks.
bash
# Example nginx snippet: block external redirects from the Stable Diffusion UI
location / {
    proxy_pass http://127.0.0.1:7860;
    proxy_hide_header Location;
    add_header Location $upstream_http_location;
    # Reject Location headers that are not relative or on an approved host
    if ($upstream_http_location ~* "^https?://(?!your-trusted-host\.example)") {
        return 403;
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.