Description
SiYuan before v3.8.4 contains an authentication bypass vulnerability in the publish service where session cookies are issued without Secure or SameSite attributes over plaintext HTTP connections. An on-path attacker can observe a valid publish-visitor-session-id cookie from a Basic Auth exchange and replay it to access authenticated publish endpoints without knowing the account password.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
siyuan-note siyuan
Default version status: unaffected
0 to < 3.8.4affected3.8.4unaffected
pkg:golang/github.com/siyuan-note/siyuan/kernelReferences
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7j37-4gq6-wm7m ↗
- https://github.com/siyuan-note/siyuan/commit/79d47867b106467c951475a9193455b48d1f3682 ↗
- https://github.com/siyuan-note/siyuan/commit/ff4d215f78a8d6e6db6052be18b5f9f4db9c7d68 ↗
- https://www.vulncheck.com/advisories/siyuan-before-3.8.4-authentication-bypass-via-plaintext-session-cookie ↗