Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Insecure Flask Secret-Key File Permissions Allow Local Administrator Session Forgery in RansomLook
Vulnerability Description
RansomLook created its Flask session-signing key without explicitly restricting the file permissions. The secret_key file was created using the process's default permissions and umask, resulting in permissions such as 0644 under a common 022 umask. Consequently, other local users able to access the RansomLook home directory could read the application's cryptographic secret.
The exposed key is security-critical because it is used to sign Flask session cookies and is also involved in the legacy API-key key derivation. An attacker who obtains the key can generate valid session cookies and impersonate an authenticated user, including an administrator. In LDAP configurations, exploitation may be particularly straightforward because the session user loader does not require the supplied username to correspond to an existing local user.
Successful exploitation requires local access sufficient to read the improperly protected file, but can result in complete compromise of RansomLook's authentication and authorization controls.
The patch creates new secret-key files atomically with permissions 0600 and also restricts permissions on existing key files during application startup.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
缺省权限不正确
Vulnerability Title
RansomLook 权限许可和访问控制问题漏洞
Vulnerability Description
RansomLook是RansomLook团队的一款勒索软件监测与分析平台。 RansomLook 2.0.0及之前版本存在权限许可和访问控制问题漏洞,该漏洞源于创建Flask会话签名密钥时未明确限制文件权限,导致其他本地用户可读取该密钥,进而可能生成有效的会话cookie并冒充已认证用户。
CVSS Information
N/A
Vulnerability Type
N/A