CVE-2023-31250
JSON

6.5medium

Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
GHSA-8849-cv9f-vccmBIT-DRUPAL-2023-31250DRUPAL-CORE-2023-005

Description

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. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.

Affected

Product or packageVersionsReported by
Drupal Corefrom 7.0 before 7.96, from 10.0 before 10.0.8, from 9.5 before 9.5.8, from 9.4 before 9.4.14CVE List
drupal/core (Packagist)from 10.0.0 before 10.0.8, from 9.5.0 before 9.5.8, from 9.0.0 before 9.4.14, from 7.0.0 before 7.96, from 8.0.0 before 9.4.14GitHub Advisory Database, Drupal Security Team
drupal drupalfrom 7.0 before 7.96, from 9.4 before 9.4.14, from 9.5 before 9.5.8, from 10.0 before 10.0.8NVD
drupal (Bitnami)from 7.0.0 before 7.96.0, from 9.4.0 before 9.4.14, from 9.5.0 before 9.5.8, from 10.0.0 before 10.0.8Bitnami Vulnerability Database

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHubcritical rating
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.

Drupal Security Team

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.

Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.

This advisory is covered by Drupal Steward. Because this vulnerability is not mass exploitable, your Steward partner may respond by monitoring-only, rather than enforcing a new WAF rule.

We would normally not apply for a release of this severity. However, in this case we have chosen to apply Drupal Steward security coverage to test our processes.

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-31250 changed 2025-02-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-8849-cv9f-vccm changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CORE-2023-005 changed 2026-09-19MIT
NVDCVE-2023-31250 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DRUPAL-2023-31250 changed 2026-09-08Apache-2.0