Access Control Bypass Affecting craftcms/cms package, versions >=4.0.0-RC1, <4.12.5 >=5.0.0-RC1, <5.4.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-CRAFTCMSCMS-8379632
  • published 14 Nov 2024
  • disclosed 13 Nov 2024
  • credit Winslow

How to fix?

Upgrade craftcms/cms to version 4.12.5, 5.4.6 or higher.

Overview

craftcms/cms is a content management system.

Affected versions of this package are vulnerable to Access Control Bypass through the normalizePath function, by utilizing a double file:// scheme to bypass local file system validation.

Note: This is only exploitable if the administrator has an authenticated account with allowAdminChanges enabled.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    High
  • Integrity (SI)
    High
  • Availability (SA)
    High