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
RansomLook Arbitrary File Read via Path Traversal in Post screen Field
Vulnerability Description
RansomLook contains a path traversal vulnerability in the handling of the screen field associated with group posts. The GroupPost.get API handler concatenates the database-controlled screen value directly with the application's source/ directory and opens the resulting path without verifying that the resolved file remains within the intended directory.
Because the screen field is free-form and can be populated either through the administrative post editor or through data imported from a remote RansomLook instance, a malicious upstream instance can provide traversal sequences such as ../config/generic.json. When the affected post is subsequently retrieved through the API, RansomLook resolves and reads the attacker-controlled path and returns the contents of the referenced file Base64-encoded in the API response.
This can allow an attacker (being admin) controlling imported post data to read arbitrary files accessible to the RansomLook process, potentially exposing sensitive configuration data, API credentials, password hashes, or other application secrets. The attack does not require the malicious upstream to possess an account on the affected RansomLook instance.
The vulnerability is addressed by resolving screen paths with os.path.realpath() and verifying that the resolved path remains beneath the application's source/ directory. Validation is performed both when values are written and immediately before files are read. Using canonical paths also prevents traversal through symbolic links that would bypass purely lexical path normalization checks.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
RansomLook 路径遍历漏洞
Vulnerability Description
RansomLook是RansomLook团队的一款勒索软件监测与分析平台。 RansomLook 2.0.0及之前版本存在路径遍历漏洞,该漏洞源于对group posts中screen字段的处理存在路径遍历问题,GroupPost.get API处理器将数据库控制的screen值直接与source/目录拼接且未验证解析路径是否在预期目录内,可能导致攻击者读取RansomLook进程可访问的任意文件,进而暴露敏感配置、API凭据、密码哈希等应用程序秘密。
CVSS Information
N/A
Vulnerability Type
N/A