Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
SiYuan: SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs
Vulnerability Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs. POST /api/graph/getGraph, POST /api/graph/getLocalGraph, POST /api/sync/setSyncInterval, POST /api/storage/updateRecentDocViewTime, POST /api/storage/updateRecentDocCloseTime, POST /api/storage/updateRecentDocOpenTime, POST /api/storage/batchUpdateRecentDocCloseTime, and POST /api/search/updateEmbedBlock are registered with model.CheckAuth only, omitting both model.CheckAdminRole and model.CheckReadonly. Each of them writes server-side state, including atomic rewrites of <workspace>/conf/conf.json via model.Conf.Save(). Any caller whose JWT passes CheckAuth, including a publish-service RoleReader (the role assigned to anonymous publish visitors) and a RoleEditor against a workspace where Editor.ReadOnly = true, can hit them This vulnerability is fixed in 3.7.0.
CVSS Information
N/A
Vulnerability Type
授权机制不恰当
Vulnerability Title
SiYuan 授权问题漏洞
Vulnerability Description
SiYuan是SiYuan开源的一个个人知识管理系统。 SiYuan 3.7.0之前版本存在授权问题漏洞,该漏洞源于8个API端点缺少管理员和只读权限检查,可能导致配置和索引修改。
CVSS Information
N/A
Vulnerability Type
N/A