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
Snipe-IT before 8.7.0 Remote Code Execution via Backup Restore
Vulnerability Description
Snipe-IT before 8.7.0 streams the SQL entry from an uploaded backup archive directly into the MySQL/MariaDB command-line client (`mysql`) without the --binary-mode flag, so the client interprets lines beginning with backslash commands such as `\!` as local shell commands. An authenticated superadministrator who uploads a crafted ZIP backup (POST /admin/backups/upload) and triggers a restore (POST /admin/backups/restore/{filename}) without the optional `clean` sanitizer parameter — which is not applied by default because DB_SANITIZE_BY_DEFAULT is false — can execute arbitrary OS commands as the web application's operating-system user, exposing application secrets (including database credentials and APP_KEY) and allowing modification of application-writable files and data. Version 8.7.0 adds the --binary-mode flag to the client invocation.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Grokability Snipe-IT 命令注入漏洞
Vulnerability Description
Grokability Snipe-IT是Grokability公司开源的一套面向企业的IT资产与运维管理平台。 Grokability Snipe-IT 8.7.0之前版本存在命令注入漏洞,该漏洞源于上传的备份归档在恢复时未使用--binary-mode标志直接传入MySQL/MariaDB命令行客户端,导致反斜杠命令被解释为本地shell命令,经过身份验证的超级管理员上传特制的ZIP备份并触发恢复,可执行任意OS命令,泄露应用机密并修改应用可写文件和数据。
CVSS Information
N/A
Vulnerability Type
N/A