CyberSecBulletin
CVE-2024-7143NVD status: Modified

Red Hat Ansible Automation Platform 2: Insecure Inherited Permissions

CVE-2024-7143 is a high-severity insecure inherited permissions vulnerability in Red Hat Ansible Automation Platform 2 from Red Hat, with a CVSS 3.1 base score of 8.3 out of 10. It can be exploited remotely over the network 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.6% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Check which version of Red Hat Ansible Automation Platform 2 you run against the affected versions below, and install the vendor's latest release.
  2. Read the advisory on github.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
Red HatRed Hat Ansible Automation Platform 2Not specified in the recordNot stated
Red HatRed Hat Satellite 6Not specified in the recordNot stated
Red HatRed Hat Update Infrastructure 4 for Cloud ProvidersNot specified in the recordNot stated
PulpprojectPulpNot specified in the recordNot 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
NetworkCan be exploited remotely over a network, including the internet.
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
LowPerformance or availability is reduced.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.3HighNVD
CVSS 3.06.7MediumCNA (redhat.com)

Official description

A flaw was found in the Pulp package. When a role-based access control (RBAC) object in Pulp is set to assign permissions on its creation, it uses the `AutoAddObjPermsMixin` (typically the add_roles_for_object_creator method). This method finds the object creator by checking the current authenticated user. For objects that are created within a task, this current user is set by the first user with any permissions on the task object. This means the oldest user with model/domain-level task permissions will always be set as the current user of a task, even if they didn't dispatch the task. Therefore, all objects created in tasks will have their permissions assigned to this oldest user, and the creating user will receive nothing.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Insecure Inherited Permissions

A product defines a set of insecure permissions that are inherited by objects that are created by the program.

How developers prevent this class of flaw

  • Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

More Insecure Inherited Permissions vulnerabilities (CWE-277)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in Red Hat Ansible Automation Platform 2

All Red Hat Ansible Automation Platform 2 vulnerabilities

Recent Insecure Inherited Permissions vulnerabilities

Spotted an error? Tell us.