Apache CloudStack: Authentication Bypass by Spoofing
CVE-2024-41107 is a high-severity authentication bypass by spoofing vulnerability in Apache CloudStack from Apache, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Apache CloudStack versions: 4.5.0 through 4.18.2.1; 4.19.0.0 through 4.19.0.2. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 17.8% chance of exploitation within 30 days, which is in the top 2.79% of all scored CVEs.
EPSS places it among the vulnerabilities most likely to be exploited soon.
What to do
- Update Cloudstack to 4.18.2.2 or 4.19.1.0, whichever matches your release line, or a later version.
- Read the advisory on cloudstack.apache.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Apache | Apache CloudStack | 4.5.0 through 4.18.2.1; 4.19.0.0 through 4.19.0.2 | Not stated |
| Apache | Cloudstack | 4.5.0 up to, but not including, 4.18.2.2; 4.19.0.0 up to, but not including, 4.19.1.0 | 4.18.2.2, 4.19.1.0 |
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
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- 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:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.1 | High | NVD |
| CVSS 3.1 | 8.1 | High | CISA (ADP) |
Official description
The CloudStack SAML authentication (disabled by default) does not enforce signature check. In CloudStack environments where SAML authentication is enabled, an attacker that initiates CloudStack SAML single sign-on authentication can bypass SAML authentication by submitting a spoofed SAML response with no signature and known or guessed username and other user details of a SAML-enabled CloudStack user-account. In such environments, this can result in a complete compromise of the resources owned and/or accessible by a SAML enabled user-account. Affected users are recommended to disable the SAML authentication plugin by setting the "saml2.enabled" global setting to "false", or upgrade to version 4.18.2.2, 4.19.1.0 or later, which addresses this issue.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Authentication Bypass by Spoofing
This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.
More Authentication Bypass by Spoofing vulnerabilities (CWE-290)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Third-party and government advisories
- openwall.com/lists/oss-security/2024/07/19/1Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2024/07/19/2Mailing List, Third Party Advisory
Other references
- github.com/apache/cloudstack/issues/4519Issue Tracking
Other vulnerabilities in Apache CloudStack
- 7.5 High severity
- 8.1 High severity
- 7.2 High severity
- 9.1 Critical severity
- 8.8 High severity
- 9.1 Critical severity
Recent Authentication Bypass by Spoofing vulnerabilities
- 7.7 High severity
- 8.7 High severity
- 9.1 Critical severity
- 7.5 High severity
- 7.5 High severity
- 8.2 High severity
Spotted an error? Tell us.