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 package | Versions | Reported by |
|---|---|---|
| Drupal Core | from 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.14 | CVE 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.14 | GitHub Advisory Database, Drupal Security Team |
| drupal drupal | from 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.8 | NVD |
| 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.8 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | critical rating | |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://www.drupal.org/sa-core-2023-005 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-31250 | advisory, web | |
| https://github.com/drupal/core | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31250 changed 2025-02-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8849-cv9f-vccm changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CORE-2023-005 changed 2026-09-19 | MIT |
| NVD | CVE-2023-31250 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DRUPAL-2023-31250 changed 2026-09-08 | Apache-2.0 |