SecBoard
Zurück zur CVE-Übersicht

CVE-2022-22971

MEDIUM(6.5)

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Risk Signal Score17/100 — NIEDRIG
  • CVSS 6.5 — Mittel

Erwähnungen (letzte 60 Tage)

Artikel

EPSS-Score

3.2%

Exploit-Wahrscheinlichkeit (30 Tage)

CVSS Score

6.5

Technische Schwere

Beschreibung

In spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, application with a STOMP over WebSocket endpoint is vulnerable to a denial of service attack by an authenticated user.

Erkennung & Indikatoren

Ausnutzung

In den geprüften Quellen nicht genannt

Behobene Versionen

  • 5.3.20
  • 5.2.22.RELEASE

Threat-Hunting-Queries

Detection of denial of service attacks via STOMP over WebSocket requires monitoring for unusual traffic patterns or resource exhaustion on Spring applications with STOMP endpoints. Specific queries depend on application logging and infrastructure monitoring.

Sentinel/Defender KQL

// Monitor for high CPU/memory usage or unusual network traffic on Spring applications with STOMP over WebSocket endpoints
DeviceProcessEvents
| where FileName contains "java" or FileName contains "spring"
| where InitiatingProcessCommandLine contains "stomp" or InitiatingProcessCommandLine contains "websocket"
| summarize (TotalCPU, TotalMemory) = (sum(ProcessPerformance.CPU), sum(ProcessPerformance.Memory)) by DeviceName, bin(Timestamp, 5m)
| where TotalCPU > <threshold_cpu> or TotalMemory > <threshold_memory>
| project Timestamp, DeviceName, TotalCPU, TotalMemory, "Potential DoS via STOMP over WebSocket"

Splunk SPL

# Monitor for high CPU/memory usage or unusual network traffic on Spring applications with STOMP over WebSocket endpoints
index=<your_index> (sourcetype="<your_java_logs>" OR sourcetype="<your_system_performance_logs>")
| where (process_name="java" OR process_name="spring") AND (command_line="*stomp*" OR command_line="*websocket*")
| timechart span=5m sum(cpu_usage) as TotalCPU, sum(memory_usage) as TotalMemory by host
| where TotalCPU > <threshold_cpu> OR TotalMemory > <threshold_memory>
| table _time, host, TotalCPU, TotalMemory, "Potential DoS via STOMP over WebSocket"

Sigma

title: Spring Framework STOMP WebSocket DoS
id: <generate_uuid>
status: experimental
description: Detects potential denial of service attempts against Spring applications using STOMP over WebSocket.
author: SecBoard
date: <current_date>
logsource:
  category: process_creation
  product: linux
  service: auditd
detection:
  selection:
    Image|endswith: 
      - 'java'
      - 'spring'
    CommandLine|contains:
      - 'stomp'
      - 'websocket'
  condition: selection
  timeframe: 5m
  level: high

Elastic ES|QL

// Monitor for high CPU/memory usage or unusual network traffic on Spring applications with STOMP over WebSocket endpoints
from process
| where process.name : ("java", "spring") and process.args : ("stomp", "websocket")
| stats sum(process.cpu.usage) as TotalCPU, sum(process.memory.usage) as TotalMemory by host.name, span(timestamp, 5m)
| where TotalCPU > <threshold_cpu> or TotalMemory > <threshold_memory>
| select timestamp, host.name, TotalCPU, TotalMemory, "Potential DoS via STOMP over WebSocket"

SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.

Betroffene Produkte

  • cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
  • cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:cloud_secure_agent:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*

Referenzen