CyberRota Analysis
AI-GeneratedThe vulnerability affects SiYuan versions prior to 3.7.4, allowing unauthenticated remote attackers to exploit the CheckAuth() middleware to perform unlimited brute-force attempts on the admin access code due to improper restriction of excessive authentication attempts. This critical flaw can lead to full RoleAdministrator access, compromising the entire API surface. Organizations using affected versions should prioritize patching this vulnerability to prevent potential unauthorized access and system takeover.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
SiYuan before v3.7.4 improperly restricts excessive authentication attempts in the CheckAuth() middleware. The HTTP Basic Authentication branch, which guards nearly the entire /api/* surface, accepts the workspace access code (Conf.AccessAuthCode) as the Basic Auth password but never consults the CAPTCHA/lockout gate or increments the failure counter used by the cookie/session login path. This allows unauthenticated remote attackers to brute-force the admin access code with unlimited automated requests and obtain full RoleAdministrator access to the kernel. A secondary weakness exists because the access code is compared using a non-constant-time string comparison.