SiYuan
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*
- <= 3.6.4
A path traversal vulnerability has been identified in SiYuan versions prior to 3.6.5. The issue arises from a redundant URL decoding operation in the 'serveExport' function, which can be exploited by authenticated attackers to access sensitive files. By using double URL encoding, attackers can traverse directories and read various workspace files, including the complete SQLite database, kernel log, and all user documents.
Exploitation of this vulnerability allows for unauthorized access to sensitive files, including the full SQLite database, kernel log, and all user documents.
To reproduce this vulnerability, send a GET request to the '/export/' endpoint with double URL-encoded path traversal sequences. The Go HTTP server will decode the request, but the vulnerable application will misinterpret the decoded characters, allowing access to sensitive files.
Users can upgrade to SiYuan version 3.6.5 to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.