CyberRota Analysis
AI-GeneratedThe vulnerability affects SiYuan versions prior to 3.7.1, allowing authenticated users to exploit the POST /api/file/globalCopyFiles endpoint to access sensitive files, including credential files, due to an inadequate denylist. This could lead to unauthorized file exfiltration, posing a risk to the security of user credentials and sensitive data. Organizations using SiYuan should prioritize upgrading to versions 3.7.1-alpha.2 or 3.7.1 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, POST /api/file/globalCopyFiles accepts attacker-supplied absolute source paths and relies on util.IsSensitivePath in kernel/util/path.go, whose denylist misses common home-directory credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing an authenticated administrator or API-token user to copy those files into the workspace and exfiltrate them through the file API. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.