Red Hat Ansible Automation Platform 2.4 for…: Exposure of Sensitive System Information to an Unauthorized Control Sphere
CVE-2023-4237 is a high-severity exposure of sensitive system information to an unauthorized control sphere vulnerability in Red Hat Ansible Automation Platform 2.4 for RHEL 8 from Red Hat, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.25% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Red Hat Ansible Automation Platform 2.4 for RHEL 8 you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on access.redhat.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Not specified in the record | Not stated |
| Red Hat | Ansible Automation Platform | 2.0 | Not stated |
| Red Hat | Ansible Collection | Not specified in the record | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.3 | High | CNA (redhat.com) |
| CVSS 3.1 | 7.8 | High | NVD |
Official description
A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Exposure of Sensitive System Information to an Unauthorized Control Sphere
The product does not properly prevent sensitive system-level information from being accessed by unauthorized actors who do not have the same level of access to the underlying system as the product does.
How developers prevent this class of flaw
- Production applications should never use methods that generate internal details such as stack traces and error messages unless that information is directly committed to a log that is not viewable by the end user. All error message text should be HTML entity encoded before being written to the log file to protect against potential cross-site scripting attacks against the viewer of the logs
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Advisories
Other references
Other vulnerabilities in Red Hat Ansible Automation Platform 2.4 for RHEL 8
- 9.9 Critical severity
- 9.1 Critical severity
- 9.9 Critical severity
- 9.9 Critical severity
- 9.6 Critical severity
- 7.5 High severity
Recent Exposure of Sensitive System Information to an Unauthorized Control Sphere vulnerabilities
- 5.5 Medium severity
Spotted an error? Tell us.