A flaw was found in Ansible Tower's interface before 3.1.5 and 3.2.0 with SCM repositories. If a Tower project (SCM repository) definition does not have the 'delete before update' flag set, an attacker with commit access to the upstream playbook source repository could create a Trojan playbook that, when executed by Tower, modifies the checked out SCM repository to add git hooks. These git hooks could, in turn, cause arbitrary command and code execution as the user Tower runs as.
References
Link | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2017:3005 | Vendor Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12148 | Issue Tracking Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2018-07-27 16:29
Updated : 2024-02-04 20:03
NVD link : CVE-2017-12148
Mitre link : CVE-2017-12148
CVE.ORG link : CVE-2017-12148
JSON object : View
Products Affected
redhat
- cloudforms
- ansible_tower
CWE
CWE-20
Improper Input Validation