漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Mage AI through 0.9.79 Arbitrary File Read via Unvalidated Path in browser_items Endpoint
Vulnerability Description
Mage AI does not confine the paths accepted by its browser-items API to the project directory. BrowserItemResource in mage_ai/api/resources/BrowserItemResource.py passes a caller-supplied path to the filesystem read and write helpers without calling the containment helper that the sibling FileContentResource and FileResource classes both use, so the resource contains no such call while those two contain several. A user holding the Viewer role, which grants read access within the project and nothing outside it, can therefore read any file the server process can read by supplying an absolute path. The permission model that would otherwise separate roles is not consulted for this route in the default configuration, because the setting that enables it defaults to false. Callers holding the Editor role additionally write through the same unconfined path, though that role is already able to execute code by design, so the boundary crossed by this flaw is the read available to the Viewer role.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Mage OSS 路径遍历漏洞
Vulnerability Description
Mage OSS是Mage组织的一款数据管道编排平台。 Mage OSS 0.9.79及之前版本存在路径遍历漏洞,该漏洞源于browser-items API未将路径限制在项目目录内,存在路径遍历问题,可能导致具有Viewer角色的用户通过提供绝对路径读取服务器进程可读取的任何文件。
CVSS Information
N/A
Vulnerability Type
N/A