CVE-2025-37164 Google Chronicle · YARA-L

Detect HPE OneView Code Injection Exploitation (CVE-2025-37164) in Google Chronicle

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

YARA-L Detection Query

Google Chronicle (YARA-L)
yaral
rule hpe_oneview_code_injection_cve_2025_37164 {
  meta:
    author = "df00tech Detection Engineering"
    description = "Detects HPE OneView code injection exploitation (CVE-2025-37164)"
    severity = "CRITICAL"
    priority = "HIGH"
    reference = "https://support.hpe.com/hpesc/public/docDisplay?docId=hpesbgn04985en_us&docLocale=en_US"
    cve = "CVE-2025-37164"

  events:
    (
      $e.metadata.event_type = "NETWORK_HTTP"
      and (
        re.regex($e.target.url, `(?i)(oneview|hpe.*ov|ImageStreamer)`) or
        re.regex($e.target.hostname, `(?i)(oneview|hpeov)`)
      )
      and $e.network.http.method in ["POST", "PUT"]
      and (
        re.regex($e.target.url, `(?i)(/rest/|/api/v[0-9]+/)`) or
        re.regex($e.network.http.request_body, `(?i)(eval\(|exec\(|Runtime\.exec|ProcessBuilder|script.*inject)`)
      )
    )
    or
    (
      $e.metadata.event_type = "PROCESS_LAUNCH"
      and re.regex($e.principal.process.command_line, `(?i)(oneview|hpov|com\.hp\.ov|ImageStreamer)`)
      and $e.target.process.file.full_path in ["/bin/bash", "/bin/sh", "/usr/bin/python", "/usr/bin/python3", "/usr/bin/perl", "/usr/bin/curl", "/usr/bin/wget"]
    )

  condition:
    $e
}
critical severity medium confidence

Chronicle YARA-L rule detecting HPE OneView code injection attempts through network HTTP events targeting OneView API endpoints with injection payloads and process launch events showing unexpected shell spawning from OneView process contexts.

Data Sources

Chronicle UDMGoogle Cloud Chronicle SIEM

Required Tables

network_httpprocess_launch

False Positives & Tuning

  • Authorized REST API automation using POST/PUT methods to OneView endpoints
  • OneView appliance update processes spawning shell scripts
  • Infrastructure-as-code tooling interacting with OneView REST API
  • Vulnerability scanning tools performing authorized assessments

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