PoC Monitor
← All CVEs
CVE-2025-1801published 3 Mar 2025 15:03 UTCData: JSON · API

Red Hat Ansible Automation Platform 2.5 for RHEL 8

Aap-gateway: aap-gateway privilege escalation

A flaw was found in the Ansible aap-gateway. Concurrent requests handled by the gateway grpc service can result in concurrency issues due to race condition requests against the proxy. This issue potentially allows a less privileged user to obtain the JWT of a greater privileged user, enabling the server to be jeopardized. A user session or confidential data might be vulnerable.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CNA · CWE-362
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

  • >= 2.5.0, < 2.5.20250305-1

Fixed in 2.5.20250305-1

Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8

    Fixed in 0:2.5.20250305-1.el8ap

    Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9

      Fixed in 0:2.5.20250305-1.el9ap

      Mitigation

      Upgrade the affected product to 2.5.20250305-1 or later.

      Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 8 to 0:2.5.20250305-1.el8ap or later.

      Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 9 to 0:2.5.20250305-1.el9ap or later.

      Workaround

      Follow the mitigation steps to avoid the flaw from happening. It is recommended to update the product after the fix is available. 1) set GRPC_SERVER_MAX_THREADS_PER_PROCESS = 1 This mitigates problems going FORWARD for the issue because there is only one thread using the ExternalAuth() object instantiated by the parent process. This eliminates the thread safety risk as the worker only processes one request at a time. 2) It is possible that at any time since the install/upgrade of AAP 2.5, that long lived Oauth tokens created in the components with the endpoints could implicate long term access to a different user's identity/privileges. Requests made with these tokens will appear to be from the user for which they were created and are indistinguishable from “valid” tokens that were created by the correct user: /api/controller/v2/tokens/ /api/controller/v2/applications/<id>/tokens/ /api/galaxy/v3/auth/token/ /api/controller/o/token/ Because it is likely not feasible to back trace every request that could have generated a token to its original request in the GRPC server, the most conservative and safe path to mitigate this risk would be to invalidate/revoke all existing oauth tokens in the components (hub, controller, eda).

      References

      Timeline

      Days relative to CVE publication
      -2t=0+2+4+6+8CVE published3 Mar 2025 · t = 0

      No public PoC found yet; not in CISA KEV.

      PoC repositories

      Found on GitHub.

      No PoC repositories found yet.