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
DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE
Vulnerability Description
DbGate is cross-platform database manager. In versions 7.1.8 and prior, the `unzipDirectory()` function in `packages/api/src/shell/unzipDirectory.js` (line 27) does not validate that extracted file paths stay within the output directory. A malicious ZIP with `../` entries writes files anywhere on the filesystem. In the default Docker deployment, DbGate runs as root and the `none` auth provider issues JWT tokens without credentials via `POST /auth/login`, so this is exploitable by any network-adjacent attacker. Version 7.1.9 fixes the issue.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
DbGate 路径遍历漏洞
Vulnerability Description
DbGate是DbGate组织开源的一个数据库管理器。 DbGate 7.1.8及之前版本存在路径遍历漏洞,该漏洞源于unzipDirectory函数未验证解压文件路径是否在输出目录内,可能导致网络邻近攻击者通过恶意ZIP文件在文件系统任意位置写入文件。
CVSS Information
N/A
Vulnerability Type
N/A