Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-3971: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in Red Hat Red Hat Ansible Automation Platform 2.3 for RHEL 8

0
High
VulnerabilityCVE-2023-3971cvecve-2023-3971
Published: Wed Oct 04 2023 (10/04/2023, 14:26:01 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Ansible Automation Platform 2.3 for RHEL 8

Description

An HTML injection flaw was found in Controller in the user interface settings. This flaw allows an attacker to capture credentials by creating a custom login page by injecting HTML, resulting in a complete compromise.

AI-Powered Analysis

AILast updated: 11/20/2025, 20:47:26 UTC

Technical Analysis

CVE-2023-3971 is a vulnerability identified in Red Hat Ansible Automation Platform 2.3 for RHEL 8, specifically within the Controller component's user interface settings. The flaw is an HTML injection vulnerability where the platform improperly neutralizes script-related HTML tags, allowing an attacker to inject arbitrary HTML content. This injection can be leveraged to craft a malicious login page that deceives legitimate users into submitting their credentials, effectively enabling credential harvesting. The attack vector is network-based (AV:N), requiring low attack complexity (AC:L), but the attacker must have some privileges (PR:L) and user interaction (UI:R) is necessary for exploitation. The vulnerability impacts confidentiality and integrity severely (C:H/I:H), but does not affect availability (A:N). Although no known exploits are currently active in the wild, the potential for credential compromise and subsequent system takeover is significant. The vulnerability arises from insufficient input sanitization or output encoding in the UI settings, which allows script-related HTML tags to be processed rather than neutralized. This can lead to phishing-like attacks within the trusted interface of the automation platform. Given the critical role of Ansible Automation Platform in managing IT infrastructure, exploitation could lead to widespread compromise of automated workflows and sensitive data. The vulnerability was published on October 4, 2023, and is tracked under CVE-2023-3971 with a CVSS v3.1 score of 7.3 (high severity).

Potential Impact

For European organizations, this vulnerability poses a significant risk due to the widespread use of Red Hat Ansible Automation Platform in enterprise IT environments for automating configuration management, application deployment, and orchestration. Successful exploitation can lead to credential theft, allowing attackers to gain unauthorized access to the automation platform and potentially pivot to other critical systems. This compromises the confidentiality and integrity of automated processes and sensitive data, potentially disrupting business operations indirectly through manipulation of automation workflows. The lack of impact on availability means systems remain operational but under attacker control, increasing the risk of stealthy, persistent threats. Organizations in sectors such as finance, manufacturing, telecommunications, and government, which rely heavily on automation for operational efficiency and security, are particularly vulnerable. The requirement for some privilege and user interaction limits the attack surface but does not eliminate risk, especially in environments with many users or less stringent access controls. The absence of known exploits in the wild currently provides a window for remediation before widespread attacks occur.

Mitigation Recommendations

1. Apply official patches from Red Hat as soon as they become available to address the HTML injection flaw directly. 2. Restrict access to the Ansible Automation Platform Controller UI to trusted administrators only, using network segmentation and VPNs to limit exposure. 3. Implement strict input validation and output encoding on all user-supplied data in the UI settings to prevent injection of malicious HTML or scripts. 4. Deploy Content Security Policies (CSP) in the web interface to restrict execution of unauthorized scripts and reduce the impact of injection attacks. 5. Conduct regular security audits and penetration testing focused on the Controller UI to detect similar injection vulnerabilities. 6. Educate users and administrators about phishing risks and encourage vigilance when interacting with login pages or UI prompts. 7. Monitor logs and network traffic for suspicious activities indicative of credential harvesting attempts or unauthorized UI modifications. 8. Consider multi-factor authentication (MFA) for accessing the Controller to reduce the risk of credential compromise leading to full system takeover.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2023-07-27T07:24:40.604Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68e8557bba0e608b4fb1ee74

Added to database: 10/10/2025, 12:38:19 AM

Last enriched: 11/20/2025, 8:47:26 PM

Last updated: 12/1/2025, 10:38:17 PM

Views: 46

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats