SiYuan before v3.8.4 Authentication Bypass via Plaintext Session Cookie
Impact
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.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
siyuan-note · siyuan
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 to before 3.8.4 | affected |
| 3.8.4 | unaffected |
Original source 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.
References
- Security advisory github.com/siyuan-note/siyuan/security/advisories/GHSA-7j37-4gq6-wm7m
- Patch github.com/siyuan-note/siyuan/commit/79d47867b106467c951475a9193455b48d1f3682
- Patch github.com/siyuan-note/siyuan/commit/ff4d215f78a8d6e6db6052be18b5f9f4db9c7d68
- Security advisory www.vulncheck.com/advisories/siyuan-before-3.8.4-authentication-bypass-via-plaintext-session-cookie