cms: Improper Privilege Management
CVE-2024-21622 is a high-severity improper privilege management vulnerability in cms from Craft CMS, with a CVSS 3.1 base score of 8.8 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. Affected cms versions: >= 4.0.0-RC1, < 4.5.11; >= 3.0.0, < 3.9.6. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.59% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Craft CMS to 3.9.6 or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Craft CMS | cms | >= 4.0.0-RC1, < 4.5.11; >= 3.0.0, < 3.9.6 | Not stated |
| Craft CMS | Craft CMS | 3.0.0 up to, but not including, 3.9.6; 4.0.0 through 4.5.15 | 3.9.6 |
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
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.4 | Medium | CNA (github.com) |
| CVSS 3.1 | 8.8 | High | NVD |
Official description
Craft is a content management system. This is a potential moderate impact, low complexity privilege escalation vulnerability in Craft starting in 3.x prior to 3.9.6 and 4.x prior to 4.4.16 with certain user permissions setups. This has been fixed in Craft 4.4.16 and Craft 3.9.6. Users should ensure they are running at least those versions.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
How developers prevent this class of flaw
- Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
- Follow the principle of least privilege when assigning access rights to entities in a software system.
- Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.
More Improper Privilege Management vulnerabilities (CWE-269)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- github.com/craftcms/cms/blob/develop/CHANGELOG.md#4511---2023-11-16Release Notes
- github.com/craftcms/cms/blob/v3/CHANGELOG.md#396---2023-11-16Release Notes
- github.com/craftcms/cms/commit/76caf9af07d9964be0fd362772223be6a5f5b6aa
- github.com/craftcms/cms/commit/be81eb653d633833f2ab22510794abb6bb9c0843
- github.com/craftcms/cms/pull/13931Issue Tracking
- github.com/craftcms/cms/pull/13932Issue Tracking
Other vulnerabilities in cms
- 9.8 Critical severity
- 8.8 High severity
- 7.5 High severity
- 9.8 Critical severity
- 8.2 High severity
- 8.8 High severity
Recent Improper Privilege Management vulnerabilities
- 9.8 Critical severity
- 7.8 High severity
- 7.8 High severity
- 8.0 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.