PT-2024-40092 · Drupal · Drupal

Published

2024-05-15

·

Updated

2024-05-15

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions: Drupal 8 core (affected versions not specified)
Description: The issue arises from the file save upload() function not removing leading and trailing dots from filenames, which could allow users to upload system files like .htaccess. This might bypass protections provided by Drupal's default .htaccess file, especially when used with contributed modules that permit uploading files with any extension.
Recommendations: For Drupal 8 core, update the file save upload() function to trim leading and trailing dots from filenames to prevent potential exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Unrestricted File Upload

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-58XV-7H9R-MX3C

Affected Products

Drupal