CVE-2025-37164 Sumo Logic CSE · Sumo

Detect HPE OneView Code Injection Exploitation (CVE-2025-37164) in Sumo Logic CSE

Detects exploitation of CVE-2025-37164, a code injection vulnerability (CWE-94) in Hewlett Packard Enterprise OneView. This vulnerability is listed in the CISA Known Exploited Vulnerabilities catalog and allows attackers to inject and execute arbitrary code through the OneView management platform, potentially compromising datacenter infrastructure management.

MITRE ATT&CK

Tactic
Initial Access Execution Lateral Movement

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
(_sourceCategory="hpe/oneview" OR _sourceCategory="infrastructure/hpe" OR "oneview" OR "hpe.ov" OR "ImageStreamer")
| where !(isNull(_raw))
| parse regex field=_raw "(?<src_ip>\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b)" nodrop
| parse regex field=_raw "(?<event_type>POST|GET|PUT|DELETE|PATCH)\s+(?<uri_path>/[^\s]+)" nodrop
| eval is_api_call = if(uri_path matches "/rest/*" or uri_path matches "/api/v*", 1, 0)
| eval has_injection = if(
    _raw matches "*eval(*" or
    _raw matches "*exec(*" or
    _raw matches "*Runtime.exec*" or
    _raw matches "*ProcessBuilder*" or
    _raw matches "*/bin/bash*" or
    _raw matches "*/bin/sh*" or
    _raw matches "*python*java*" or
    _raw matches "*curl*java*" or
    _raw matches "*wget*java*"
  , 1, 0)
| eval risk = if(has_injection == 1 and is_api_call == 1, "CRITICAL",
    if(has_injection == 1, "HIGH",
    if(is_api_call == 1 and event_type = "POST", "MEDIUM", "LOW")))
| where has_injection == 1 or (is_api_call == 1 and event_type in ("POST", "PUT"))
| stats count as events, min(_messageTime) as first_seen, max(_messageTime) as last_seen, values(risk) as risks by src_ip, uri_path
| sort by events desc
critical severity medium confidence

Sumo Logic query to detect HPE OneView code injection exploitation by analyzing OneView log sources for injection patterns in API calls, shell invocation from Java contexts, and suspicious HTTP methods targeting REST endpoints.

Data Sources

HPE OneView application logsSyslogWeb access logs

Required Tables

_sourceCategory=hpe/oneview_sourceCategory=infrastructure/hpe

False Positives & Tuning

  • Legitimate OneView automation and scripting via REST API by authorized users
  • HPE OneView upgrade processes that execute embedded shell scripts
  • Third-party ITSM integrations using the OneView REST API
  • Monitoring solutions polling OneView API endpoints

Other platforms for CVE-2025-37164


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1HPE OneView REST API Code Injection Simulation

    Expected signal: HTTP POST request to /rest/login-sessions with injection pattern in request body visible in web access logs; network flow from test host to OneView appliance on port 443

  2. Test 2Simulated Child Process Spawn from Java Context

    Expected signal: Process event showing java parent spawning /bin/bash child process; bash executing id, hostname, whoami commands

  3. Test 3OneView API Reconnaissance — Endpoint Enumeration

    Expected signal: Multiple HTTP GET requests to OneView API endpoints from a single source IP within a short timeframe; mix of 401, 403, and potentially 200 responses visible in access logs

  4. Test 4Reverse Shell Establishment Post-Injection Simulation

    Expected signal: Outbound TCP connection from OneView appliance or compromised host to attacker IP on non-standard port; ncat or bash process with network socket; network flow egress event

Unlock Pro Content

Get the full detection package for CVE-2025-37164 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections