Vulnerability record · CVE-2017-12148 · published 27 July 2018
CVE-2017-12148: Redhat ansible tower improper input validation vulnerability
Redhat · Ansible Tower
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.
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.
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2017:3005 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12148 | Issue TrackingVendor Advisory |
| https://access.redhat.com/errata/RHSA-2017:3005 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12148 | Issue TrackingVendor Advisory |
Track CVE-2017-12148 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-12148), CISA KEV, FIRST EPSS (scores of 2026-10-02). This page is refreshed as NVD updates the record.