Automation-controller: automation-controller-container: automation-controller: project scm_url argument injection into `git ls-remote --upload-pack` yields rce on the controller-task control-plane pod
Red Hat / Red Hat Ansible Automation Platform 2.4 for RHEL 8、Red Hat Ansible Automation Platform 2.4 for RHEL 9、Red Hat Ansible Automation Platform 2.5 for RHEL 8、Red Hat Ansible Automation Platform 2.5 for RHEL 9、Red Hat Ansible Automation Platform 2.6 for RHEL 9、Red Hat Ansible Automation Platform 2.6 +1
CVE 记录列出的受影响产品:Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8、Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9、Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8、Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9、Red Hat · Red Hat Ansible Automation Platform 2.6、Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 9、Red Hat · Red Hat Ansible Automation Platform 2.7
CVE 记录列出的受影响产品:Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8、Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9、Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8、Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9、Red Hat · Red Hat Ansible Automation Platform 2.6、Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 9、Red Hat · Red Hat Ansible Automation Platform 2.7nday 产品登记表中 Ansible 的产品类型
当前阶段
DIS
披露
CVSS
9.9 CRITICAL v3.1
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
A flaw was found in Red Hat Ansible Automation Platform's automation-
controller. The Project scm_url field is not validated against values that
begin with a dash and is stored and passed verbatim to the git SCM module.
Because the module runs git ls-remote with the URL as a positional argument and
without a "--" separator, a git project URL such as "--upload-pack=<command>:x"
is interpreted by git as the --upload-pack option and executed via a shell. A
user with permission to create or modify a project in a single organization can
thereby execute arbitrary commands on the control-plane task pod, with output
reflected through the project update stdout endpoint, leading to cross-tenant
compromise and in-cluster lateral movement