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
MajorDoMo Unauthenticated Module Uninstall via Market Endpoint
Vulnerability Description
MajorDoMo (aka Major Domestic Module) allows unauthenticated arbitrary module uninstallation through the market module. The market module's admin() method reads gr('mode') from $_REQUEST and assigns it to $this->mode at the start of execution, making all mode-gated code paths reachable without authentication via the /objects/?module=market endpoint. The uninstall mode handler calls uninstallPlugin(), which deletes module records from the database, executes the module's uninstall() method via eval(), recursively deletes the module's directory and template files using removeTree(), and removes associated cycle scripts. An attacker can iterate through module names and wipe the entire MajorDoMo installation with a series of unauthenticated GET requests.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
授权机制缺失
Vulnerability Title
MajorDoMo 安全漏洞
Vulnerability Description
MajorDoMo是MajorDoMo社区的一个开源DIY智能家居自动化平台。 MajorDoMo存在安全漏洞,该漏洞源于market模块的admin()方法从$_REQUEST读取gr( mode )并将其分配给$this->mode,使得所有模式控制的代码路径可通过/objects/?module=market端点无需身份验证访问,uninstall模式处理程序调用uninstallPlugin(),该函数删除数据库中的模块记录,通过eval()执行模块的uninstall()方法,递归删除模块的目录
CVSS Information
N/A
Vulnerability Type
N/A