CVE-2017-12148

Tower: modification of git hooks in SCM repo via upstream playbook execution

Published Jul 27, 2018 CVSS 3.0 · 8.4 High EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-3732 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 6:28 PM
Reserved
Aug 1, 2017, 12:00 AM
Status
Modified
Published
Jul 27, 2018, 4:29 PM
Modified
Jun 17, 2026, 1:02 AM
Severity
Important
Public date
Sep 19, 2017, 12:00 AM