CVE-2022-2568
Medium · 6.5CVSS
6.5
EPSS
1.0%
Published
Aug 18, 2022
CISA due date
—
Cloudanix analysis
A user who can already edit other accounts could quietly remove an administrator's special powers, weakening overall control of the automation system.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A remote authenticated user granted 'change user' permissions can alter superuser account settings including removal of elevated privileges on the Ansible Automation Platform.
Why it matters to the business
Attackers can degrade administrative controls, increasing risk of unauthorized changes to automation systems and potentially disrupting critical IT operations across Red Hat environments.
How an attack unfolds
An attacker with a low-privileged account that has change-user rights authenticates to the platform and issues requests that modify superuser account attributes, stripping elevated access without needing direct superuser credentials.
How to fix it
Apply the latest security updates for Red Hat Ansible Automation Platform and Red Hat Enterprise Linux as soon as they become available; restrict change-user permissions to only trusted administrative accounts in the interim.
How to confirm the fix worked
Review user permission assignments and audit logs for unexpected modifications to superuser accounts; retest account privilege changes after applying updates to confirm the flaw is no longer exploitable.
Typical attack path
- Obtain valid credentials for an account possessing change-user permissions
- Authenticate to the Ansible Automation Platform web or API interface
- Craft and submit requests targeting superuser account modification endpoints
- Verify removal of superuser privileges to confirm successful privilege escalation
How to detect it
Examine authentication and authorization logs for unusual modifications to superuser records originating from non-superuser accounts; correlate with API or UI access patterns around the time of the change.
What your security team should do
- Immediately audit and minimize the number of accounts holding change-user permissions
- Monitor for any Red Hat security advisories addressing this issue and schedule patching
- Implement additional logging and alerting on superuser account modifications
The record
A privilege escalation flaw was found in the Ansible Automation Platform. This flaw allows a remote authenticated user with 'change user' permissions to modify the account settings of the superuser account and also remove the superuser privileges.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Red Hat:ansible_automation_platform:2.1::el8 | python-galaxy-ng | 0 | 0:4.4.4-1.el8pc |
| Red Hat:ansible_automation_platform:2.1::el8 | python38-galaxy-ng | 0 | 0:4.4.4-1.el8pc |
| Red Hat:ansible_automation_platform:2.2::el8 | python39-galaxy-ng | 0 | 0:4.5.0-4.el8ap |
| Red Hat:ansible_automation_platform:2.2::el8 | python3x-galaxy-ng | 0 | 0:4.5.0-4.el8ap |
| Red Hat:ansible_automation_platform:2.2::el9 | python-galaxy-ng | 0 | 0:4.5.0-4.el9ap |
| Red Hat:ansible_automation_platform:2.2::el9 | python3-galaxy-ng | 0 | 0:4.5.0-4.el9ap |
| Ubuntu:20.04:LTS | ansible | 0 | No fix |
| Ubuntu:22.04:LTS | ansible | 0 | No fix |
| Ubuntu:22.04:LTS | ansible-core | 0 | No fix |
| Ubuntu:24.04:LTS | ansible | 0 | No fix |
| Ubuntu:24.04:LTS | ansible-core | 0 | No fix |
| Ubuntu:24.10 | ansible | 0 | No fix |
| Ubuntu:24.10 | ansible-core | 0 | No fix |
| Ubuntu:25.04 | ansible | 0 | No fix |
| Ubuntu:25.04 | ansible-core | 0 | No fix |
| Ubuntu:25.10 | ansible | 0 | No fix |
| Ubuntu:25.10 | ansible-core | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | ansible | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ansible | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ansible | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | ansible | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | ansible | 0 | No fix |
Related vulnerabilities
- CVE-2024-11079 A flaw was found in Ansible-Core. Also affects ansible
- CVE-2024-9902 A flaw was found in Ansible. Also affects ansible
- CVE-2024-8775 A flaw was found in Ansible, where sensitive information stored in Ansible Vault files… Also affects ansible
- CVE-2024-0690 An information disclosure flaw was found in ansible-core due to a failure to respect the… Also affects ansible
- CVE-2023-5115 An absolute path traversal attack exists in the Ansible automation platform. Also affects ansible
- CVE-2023-5764 A template injection flaw was found in Ansible where a user's controller internal… Also affects ansible
- CVE-2023-5189 A path traversal vulnerability exists in Ansible when extracting tarballs. Also affects ansible
- CVE-2023-4380 A logic flaw exists in Ansible Automation platform. Also affects ansible