CVE Vulnerabilities

CVE-2024-1657

Missing Origin Validation in WebSockets

Published: Apr 25, 2024 | Modified: Apr 25, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
8.1 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Ubuntu

A flaw was found in the ansible automation platform. An insecure WebSocket connection was being used in installation from the Ansible rulebook EDA server. An attacker that has access to any machine in the CIDR block could download all rulebook data from the WebSocket, resulting in loss of confidentiality and integrity of the system.

Weakness

The product uses a WebSocket, but it does not properly verify that the source of data or communication is valid.

Affected Software

Name Vendor Start Version End Version
Red Hat Ansible Automation Platform 2.4 for RHEL 8 RedHat ansible-automation-platform-installer-0:2.4-6.el8ap *
Red Hat Ansible Automation Platform 2.4 for RHEL 8 RedHat ansible-rulebook-0:1.0.5-1.el8ap *
Red Hat Ansible Automation Platform 2.4 for RHEL 8 RedHat automation-eda-controller-0:1.0.5-1.el8ap *
Red Hat Ansible Automation Platform 2.4 for RHEL 9 RedHat ansible-automation-platform-installer-0:2.4-6.el9ap *
Red Hat Ansible Automation Platform 2.4 for RHEL 9 RedHat ansible-rulebook-0:1.0.5-1.el9ap *
Red Hat Ansible Automation Platform 2.4 for RHEL 9 RedHat automation-eda-controller-0:1.0.5-1.el9ap *

Extended Description

WebSockets provide a bi-directional low latency communication (near real-time) between a client and a server. WebSockets are different than HTTP in that the connections are long-lived, as the channel will remain open until the client or the server is ready to send the message, whereas in HTTP, once the response occurs (which typically happens immediately), the transaction completes. A WebSocket can leverage the existing HTTP protocol over ports 80 and 443, but it is not limited to HTTP. WebSockets can make cross-origin requests that are not restricted by browser-based protection mechanisms such as the Same Origin Policy (SOP) or Cross-Origin Resource Sharing (CORS). Without explicit origin validation, this makes CSRF attacks more powerful.

Potential Mitigations

References