Skip to content

Craft CMS Remote Code Execution vulnerability

Critical severity GitHub Reviewed Published Sep 13, 2023 in craftcms/cms • Updated Dec 22, 2023

Package

composer craftcms/cms (Composer)

Affected versions

>= 4.0.0-RC1, <= 4.4.14

Patched versions

4.4.15

Description

Impact

This is a high-impact, low-complexity attack vector. Users running Craft installations before 4.4.15 are encouraged to update to at least that version to mitigate the issue.

Mitigations

  • This has been fixed in Craft 4.4.15. You should ensure you’re running at least that version.
  • Refresh your security key in case it has already been captured. You can do that by running the php craft setup/security-key command and copying the updated CRAFT_SECURITY_KEY environment variable to all production environments.
  • If you have any other private keys stored as environment variables (e.g., S3 or Stripe), refresh those as well.
  • Out of an abundance of caution, you may want to force all your users to reset their passwords in case your database was compromised. You can do that by running php craft resave/users --set passwordResetRequired --to "fn() => true".

References

craftcms/cms@c0a37e1#diff-47dd43d86f85161944dfcce2e41d31955c4184672d9bd9d82b948c6b01b86476

craftcms/cms@7359d18

craftcms/cms@a270b92

https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#4415---2023-07-03-critical

References

@angrybrad angrybrad published to craftcms/cms Sep 13, 2023
Published to the GitHub Advisory Database Sep 13, 2023
Reviewed Sep 13, 2023
Published by the National Vulnerability Database Sep 13, 2023
Last updated Dec 22, 2023

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

EPSS score

89.946%
(99th percentile)

Weaknesses

CVE ID

CVE-2023-41892

GHSA ID

GHSA-4w8r-3xrw-v25g

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.