Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability exists in SiYuan before version 3.7.3 that could allow unauthorized access to unpublished document content through specific API endpoints. This issue arises because access controls are not consistently applied, potentially exposing rendered content and reference information to unauthenticated users, especially in environments where publish-mode authentication is disabled.
- Unpublished content can be accessed via APIs.
- Note-taking app's publish feature is exposed.
- Confirm if publishing is enabled and users are authenticated.
Attack Path
How an attacker could exploit the issue
An attacker can access sensitive information by exploiting a flaw in how SiYuan handles content visibility settings. Specifically, certain API endpoints designed to retrieve document references do not correctly enforce restrictions on content that should not be published. This allows an attacker, even one without any login, to query these endpoints directly and uncover details about private documents, including whether they contain specific content or link to other documents.
- Requires access to the SiYuan application.
- Triggers by querying specific content API endpoints.
- Risks exposure of private document content.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow unauthorized access to rendered document content and block reference information within SiYuan, even when those documents are marked as forbidden from publishing. This exposure is possible when the application's publish-access filters are not correctly applied to specific content endpoints, potentially enabling a user without appropriate permissions to query sensitive document details.
- Unrestricted access to rendered document content.
- Direct calls to content endpoints can expose data.
- Information disclosure regarding document references.
Operational Fix
Recommended remediation, mitigation, and detection steps
SiYuan application owners and platform teams should lead remediation efforts for this vulnerability, as it affects the note-taking application's content endpoints. The first practical step is to identify all SiYuan instances, especially those using the publish mode, confirm their internet reachability and business criticality, and then engage the appropriate teams to plan remediation based on risk.
- Application owners must resolve the issue.
- Verify affected SiYuan instances and their reachability.
- Plan and coordinate remediation with affected teams.