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://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12148 | Issue Tracking Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:3005 | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2018-07-27 09:29
Updated : 2019-10-09 16:22
NVD link : CVE-2017-12148
Mitre link : CVE-2017-12148
JSON object : View
CWE
CWE-20
Improper Input Validation
Products Affected
redhat
- ansible_tower
- cloudforms