Access Control Bypass Affecting drupal/core package, versions >=7.0.0, <7.96>=9.4, <9.4.14>=9.5, <9.5.8>=10.0, <10.0.8


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (27th percentile)

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 Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-DRUPALCORE-5486600
  • published27 Apr 2023
  • disclosed27 Apr 2023
  • creditHeine, Conrad Lara, Guy Elsmore-Paddock

Introduced: 27 Apr 2023

CVE-2023-31250  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade drupal/core to version 7.96, 9.4.14, 9.5.8, 10.0.8 or higher.

Overview

drupal/core is an an open source content management platform powering millions of websites and applications.

Affected versions of this package are vulnerable to Access Control Bypass such that the file download facility doesn't sufficiently sanitize file paths in certain situations. This may result in users gaining access to private files that they should not have access to.

Note: Some sites may require configuration changes following this security release.

Drupal 7

  • All Drupal 7 sites on Windows web servers are vulnerable.

  • Drupal 7 sites on Linux web servers are vulnerable with certain file directory structures, or if a vulnerable contributed or custom file access module is installed.

Drupal 9 and 10

  • Drupal 9 and 10 sites are only vulnerable if certain contributed or custom file access modules are installed.

CVSS Scores

version 3.1