CVEvulnerability

CVE-2017-12148

7.2 HIGH Published 2018-07-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-07-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
8.4 HIGH — CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
CVSS 3.0 ([email protected])
7.2 HIGH — CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
9.0 HIGH — AV:N/AC:L/Au:S/C:C/I:C/A:C
Weaknesses
CWE-20

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 configurations

• redhat ansible tower (< 3.1.5) • redhat ansible tower (< 3.2.0) • redhat cloudforms 4.5

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References