Vulnerability identifier: #VU23681
Vulnerability risk: Medium
CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-20
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Drupal
Web applications /
CMS
Vendor: Drupal
Description
The vulnerability allows a remote attacker to bypass imposed security restrictions.
The vulnerability exists due to insufficient validation of user-supplied file names during upload in the file_save_upload()
function that does not strip the leading and trailing dot ('.') from filenames. A remote attacker with ability to download files can upload system files such as .htaccess and bypass imposed security restrictions.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Drupal: 8.8.0 - 8.8.0 rc1, 8.7.0 - 8.7.10
External links
http://www.drupal.org/sa-core-2019-010
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.