CVE-2024-11045: Cross-Site WebSocket Hijacking (CSWSH) in automatic1111/stable-diffusion-webui

9.6 CVSS

Description

A Cross-Site WebSocket Hijacking (CSWSH) vulnerability in automatic1111/stable-diffusion-webui version 1.10.0 allows an attacker to clone a malicious server extension from a GitHub repository. The vulnerability arises from the lack of proper validation on WebSocket connections at ws://127.0.0.1:7860/queue/join, enabling unauthorized actions on the server. This can lead to unauthorized cloning of server extensions, execution of malicious scripts, data exfiltration, and potential denial of service (DoS).

Classification

CVE ID: CVE-2024-11045

CVSS Base Severity: CRITICAL

CVSS Base Score: 9.6

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Problem Types

CWE-284 Improper Access Control

Affected Products

Vendor: automatic1111

Product: automatic1111/stable-diffusion-webui

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.06% (probability of being exploited)

EPSS Percentile: 19.39% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-11045
https://huntr.com/bounties/b7ed0d87-0be5-4526-9b21-ffe0d39c283e

Timeline