Skip to content
OpenAdvisories
High · 8.4 CVE-2017-12148 EUVD-2017-3732GHSA-fxg8-q29x-8w2q

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 …

Published Jul 27, 2018 · Updated Aug 5, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Ansible Tower 3.1.5, 3.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat CloudForms 5 ansible-tower-setup +1 3.1.5-1.el7at RHSA-2017:3005
Red Hat CloudForms 5 cfme +2 5.8.2.3-1.el7cf RHSA-2017:3005
Red Hat CloudForms 5 rabbitmq-server 3.6.9-1.el7at RHSA-2017:3005
Red Hat CloudForms 5 rh-ruby23-rubygem-nokogiri +1 1.8.1-2.el7cf RHSA-2017:3005
Red Hat CloudForms 5 supervisor 3.1.4-1.el7 RHSA-2017:3005

Advisories 1

References