OSV 1.4.0 · unreviewed · 修改于 2026-09-03 23:32
发布时间
2026-09-03 23:32
GitHub 审查时间
—
NVD 发布时间
2026-09-03 21:06
源文件
advisories/unreviewed/2026/09/GHSA-gg9w-4vv2-vjcm/GHSA-gg9w-4vv2-vjcm.json
SiYuan versions <= 3.8.1 (fixed in v3.8.2) contain an incomplete blocklist in the IsForbiddenAbsPath() function (kernel/util/path_guard.go), which only blocks conf/conf.json by exact match and does not restrict the TLS private key (conf/key.pem) or CA private key (conf/ca.key) stored in the same conf/ directory. Because the getFile handler skips the blocklist for RoleAdministrator and all authenticated users receive RoleAdministrator in v3.8.1, any user (or any client on a default no-auth-code instance) can retrieve these private keys via POST /api/file/getFile. On deployments with TLS enabled, this allows decryption of captured HTTPS traffic (key.pem) and forging of certificates trusted by clients that imported SiYuan's CA (ca.key).
该公告没有提供结构化的受影响软件包信息。