CVE-2025-47849

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-47849
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-47849.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-47849
Published
2025-06-10T23:15:58Z
Modified
2025-07-02T09:55:55.574471Z
Summary
[none]
Details

A privilege escalation vulnerability exists in Apache CloudStack versions 4.10.0.0 through 4.20.0.0 where a malicious Domain Admin user in the ROOT domain can get the API key and secret key of user-accounts of Admin role type in the same domain. This operation is not appropriately restricted and allows the attacker to assume control over higher-privileged user-accounts. A malicious Domain Admin attacker can impersonate an Admin user-account and gain access to sensitive APIs and resources that could result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of infrastructure managed by CloudStack.

Users are recommended to upgrade to Apache CloudStack 4.19.3.0 or 4.20.1.0, which fixes the issue with the following:

  • Strict validation on Role Type hierarchy: the caller's role must be equal to or higher than the target user's role. 
  • API privilege comparison: the caller must possess all privileges of the user they are operating on. 
  • Two new domain-level settings (restricted to the default admin):   - role.types.allowed.for.operations.on.accounts.of.same.role.type: Defines which role types are allowed to act on users of the same role type. Default: "Admin, DomainAdmin, ResourceAdmin".   - allow.operations.on.users.in.same.account: Allows/disallows user operations within the same account. Default: true.
References

Affected packages

Git / github.com/apache/cloudstack

Affected ranges

Type
GIT
Repo
https://github.com/apache/cloudstack
Events

Affected versions

4.*

4.10.0.0
4.11.0.0
4.11.1
4.11.1.0
4.11.2-snap
4.11.2.0
4.11.3.0
4.12.0.0
4.13.1.0
4.14.0.0
4.14.1.0
4.15.0.0
4.15.1.0
4.15.2.0
4.16.0.0
4.16.1.0
4.16.1.1
4.17.0.0
4.17.0.1
4.17.1.0
4.17.2.0
4.18.0.0
4.18.1.0
4.18.2.0
4.18.2.1
4.18.2.2
4.18.2.3
4.18.2.4
4.18.2.5
4.19.0.0
4.19.1.0
4.19.2.0
4.9.3.0
4.9.3.1