CVE-2017-12148: Input Validation

Published Aug 25, 2017
·
Updated

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.

Other sources

If a Tower project (SCM repo) definition does not have the 'delete before update' flag set, a user who has commit access to the upstream playbook source repo could create a trojan playbook that, when executed by Tower, modifies the checked out SCM repository to add git hooks.

On the next SCM update, these git hooks would then run, therefore running arbitrary code as the 'awx' (Tower service) user.

Red Hat

Affected Software

5 affected componentsFixes available
redhat/ansible_tower<3.1.5
3.1.5
redhat/ansible_tower<3.2.0
3.2.0
redhat Ansible Tower<3.1.5
redhat Ansible Tower<3.2.0
redhat Cloudforms=4.5

Event History

Jul 27, 2018
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-12148?

CVE-2017-12148 is considered a critical vulnerability due to the potential for unauthorized execution of malicious playbooks.

2

How do I fix CVE-2017-12148?

To fix CVE-2017-12148, ensure that the 'delete before update' flag is set in the SCM repository project definition.

3

Which versions of Ansible Tower are affected by CVE-2017-12148?

CVE-2017-12148 affects Ansible Tower versions prior to 3.1.5 and 3.2.0.

4

Can CVE-2017-12148 affect my cloud environment?

Yes, if you are using affected versions of Ansible Tower within your cloud environment, CVE-2017-12148 poses a risk.

5

Is there a mitigation for CVE-2017-12148?

The primary mitigation for CVE-2017-12148 is to upgrade to the latest versions of Ansible Tower that are not vulnerable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203