CVE-2017-6928: Drupal Core Access Bypass Vulnerability
Summary
CVE-2017-6928: Drupal access bypass vulnerability. Affects drupal/core versions >= 7.0, < 7.57. Fixed in 7.57. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Drupal is an open-source content management system (CMS) written in PHP. It is widely used for building websites and applications. The Drupal core package provides the fundamental functionality and features of Drupal. The private file system in Drupal allows users to store files securely and restrict access to them. However, prior to version 7.57, there was a vulnerability in Drupal's private file system that could lead to an access bypass.
Vulnerability Detail
The access bypass vulnerability in Drupal core 7.x versions before 7.57 occurs when using Drupal's private file system. Normally, Drupal checks if a user has access to a file before allowing them to view or download it. However, under certain conditions where one module is trying to grant access to the file and another is trying to deny it, this check fails. This vulnerability can be exploited to bypass file access restrictions, potentially exposing sensitive files to unauthorized users. It is important to note that this vulnerability only affects unusual site configurations.
How To Fix
Minimum fixed version
7.57
This is the first release that contains the fix.
composer require drupal/core:7.57
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. However, site administrators can mitigate the risk by ensuring that their site is not using an unusual configuration that triggers the access bypass issue. Regularly updating Drupal core and applying security patches is the best practice to prevent such vulnerabilities.
Conclusion
The access bypass vulnerability in Drupal core 7.x versions before 7.57 can allow unauthorized users to bypass file access restrictions. It is important for site administrators to update Drupal core to the latest version and apply security patches to prevent this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for drupal/core →
FAQ
Drupal is an open-source content management system (CMS) used for building websites and applications. It provides a flexible and extensible platform for managing digital content.
The private file system in Drupal allows users to store files securely and restrict access to them. It provides a way to manage sensitive files that should only be accessible to authorized users.
The access bypass vulnerability in Drupal core occurs when there is a conflict between modules trying to grant or deny access to a file. This conflict can lead to the access check failing and allowing unauthorized users to view or download the file.
The impact of this vulnerability is that unauthorized users may be able to access sensitive files that should be restricted. This can lead to the exposure of confidential information or other security breaches.
To protect your Drupal site from this vulnerability, it is recommended to update Drupal core to version 7.57 or later. Regularly applying security updates and patches is also important to mitigate the risk of other vulnerabilities.
References
Related vulnerabilities
Recent vulnerabilities recorded for drupal/core.