CyberRota Analysis
AI-GeneratedCloudreve versions prior to 4.17.0 contain a vulnerability in the OAuth signin process that allows users with only Admin.Read permissions to modify storage policy credentials by supplying malicious OneDrive secret and app_id values. This can lead to unauthorized access and manipulation of sensitive data within the file management system. Organizations using Cloudreve should prioritize upgrading to version 4.17.0 to mitigate this high-severity risk.
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
Cloudreve is a self-hosted file management and sharing system. Prior to 4.17.0, POST /api/v4/admin/policy/oauth/signin requires only Admin.Read even though GetOauthRedirectService persists caller-supplied OneDrive secret and app_id values, allowing an OAuth token without Admin.Write to modify storage policy credentials. The route is inside the admin group that requires Admin.Read, but it does not add the local Admin.Write guard used by sibling policy mutation routes. Its handler persists attacker-supplied secret and app_id values into the selected OneDrive storage policy before returning an OAuth URL. This issue is fixed in version 4.17.0.