漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Dokku: OS Command Injection via App Name in Git Pre-Receive Hook
Vulnerability Description
Dokku is a docker-powered PaaS. Prior to 0.38.2, the app name validation regex (^[a-z0-9][^/:_A-Z]*$) permits shell metacharacters. When an authenticated user pushes to a git remote with a crafted app name, the name is embedded unquoted into a bash pre-receive hook script via an unquoted heredoc (<<EOF instead of <<'EOF') in fn-git-create-hook() at plugins/git/internal-functions:378. On git push, bash interprets the semicolon as a command separator, executing arbitrary commands as the dokku user. This vulnerability is fixed in 0.38.2.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Dokku 命令注入漏洞
Vulnerability Description
Dokku Dokku是Dokku团队的一个云平台部署工具。 Dokku 0.38.2之前版本存在命令注入漏洞,该漏洞源于应用名称验证正则表达式允许shell元字符,且应用名称在fn-git-create-hook()函数中被未引用嵌入到bash pre-receive hook脚本,可能导致经过身份验证的用户推送包含特制应用名称的git远程仓库时,bash将分号解释为命令分隔符,从而以dokku用户身份执行任意命令。
CVSS Information
N/A
Vulnerability Type
N/A