SB2019121926 - Multiple vulnerabilities in Ansible Tower



SB2019121926 - Multiple vulnerabilities in Ansible Tower

Published: December 19, 2019 Updated: January 13, 2020

Security Bulletin ID SB2019121926
Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 67% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Resource management error (CVE-ID: CVE-2019-19342)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to error handling issue in Ansible Tower, when /websocket is requested and the password contains the '#' character. This request would cause a socket error in RabbitMQ when parsing the password and an HTTP error code 500 and partial password disclose will occur in plaintext. An attacker could easily guess some predictable passwords or brute force the password.


2) Improper access control (CVE-ID: CVE-2019-19340)

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions in Ansible Tower, where enabling RabbitMQ manager by setting it with '-e rabbitmq_enable_manager=true' exposes the RabbitMQ management interface publicly, as expected. If the default admin user is still active, an attacker could guess the password and gain access to the system.


3) Incorrect default permissions (CVE-ID: CVE-2019-19341)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to incorrect default permissions for the "/var/backup/tower" files that may contain both the SECRET_KEY and the database backup. A local user with access to the system can view contents of files and retrieve all credentials stored in Tower.


Remediation

Install update from vendor's website.