Advisory

DRUPAL-CORE-2023-005

Also known as: BIT-drupal-2023-31250, CVE-2023-31250, GHSA-8849-cv9f-vccm

Summary

The record has no summary.

Details

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](/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.

Severity

Not rated by the source.

Dates

Published
2023-04-19 17:06 UTC
Modified
2026-09-19 15:02 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 9.4.14 (ecosystem)
  • introduced 9.5.0, fixed 9.5.8 (ecosystem)
  • introduced 10.0.0, fixed 10.0.8 (ecosystem)

Fixed versions

9.4.14, 9.5.8, 10.0.8

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Drupal Advisory Database · MIT

Sources & licences