CVE-2024-11045CWE-284

Cross-Site WebSocket Hijacking (CSWSH) in automatic1111/stable-diffusion-webui

Critical · published March 20, 2025

CVSS v3.0
9.6
EPSS
0%
Percentile
34.5
In the wild
Unconfirmed
What it is

🚨 A sneaky Cross-Site WebSocket Hijacking vulnerability means attackers could tap into your server's WebSocket connections like a thief tuning into private conversations! 🔥 Think of it like a coffee shop where anyone can walk in and listen in on conversations without a password. If someone can clone the server extension without proper checks, it's as if they’re eavesdropping and even taking notes, potentially using that information for their own gain. This vulnerability is absolutely devastating! An attacker could gain unauthorized access to your server, clone harmful extensions, execute malicious scripts, and even exfiltrate sensitive data. Worst of all, they could cause a denial of service (DoS), disrupting your entire service and leaving you in a bind!

Put simply

Think of it like a coffee shop where anyone can walk in and listen in on conversations without a password. If someone can clone the server extension without proper checks, it's as if they’re eavesdropping and even taking notes, potentially using that information for their own gain. The vulnerability arises due to a lack of stringent validation on WebSocket connections at ws://127.0.0.1:7860/queue/join, allowing unauthorized actions on the server and enabling attackers to manipulate server behavior.

What to do

This vulnerability is absolutely devastating! An attacker could gain unauthorized access to your server, clone harmful extensions, execute malicious scripts, and even exfiltrate sensitive data. Worst of all, they could cause a denial of service (DoS), disrupting your entire service and leaving you in a bind! Immediate action is required! Upgrade to the latest version of automatic1111/stable-diffusion-webui to patch this vulnerability and implement WebSocket connection validation. Regularly review your configurations to ensure no unauthorized access can occur. 🛡️ You've got this! Patch up, validate connections, and you'll be a security hero in no time! 💪✨

The record
Technical detail
CVSS v3.0
9.6 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00413 · 34.5th percentile
Weakness
CWE-284 · Improper Access Control
Published
2025-03-20T10:10Z
EPSS history
Timeline
  • 20 MAR 10:10Z
    Cross-Site WebSocket Hijacking (CSWSH) in automatic1111/stable-diffusion-webui
    cvelistv5