PT-2019-20552
Published
2019-12-18
·
Updated
2019-12-18
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Drupal 8 core's
file save upload() function does not strip the leading and trailing dot ('.') from filenames, like Drupal 7 did.Users with the ability to upload files with any extension in conjunction with contributed modules may be able to use this to upload system files such as .htaccess in order to bypass protections afforded by Drupal's default .htaccess file.
After this fix,
file save upload() now trims leading and trailing dots from filenames.Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾