CVE-2017-12148

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
27/07/2018
Last modified:
09/10/2019

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* 3.1.5 (excluding)
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:scm_repositories:*:*:* 3.2.0 (excluding)
cpe:2.3:a:redhat:cloudforms:4.5:*:*:*:*:*:*:*