QID 730202
Date Published: 2021-09-20
QID 730202: Drupal Core Access Bypass Vulnerability (SA-CORE-2021-008)
Drupal is a free and open source content management framework written in PHP and distributed under the GNU General Public License.
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
Affected Versions:
Drupal 8.9.x, prior to Drupal 8.9.19.
Drupal 9.1.x, prior to Drupal 9.1.13.
Drupal 9.2.x, prior to Drupal 9.2.6.
QID Detection Logic:
This QID checks for vulnerable version of Drupal installed on the target via a version based check.
Successful exploitation of the vulnerability may allow an attacker to upload files that bypass the file validation process implemented by modules on the site.
Workaround:
This vulnerability is mitigated by three factors:
The JSON:API or REST File upload modules must be enabled on the site.
An attacker must have access to a file upload via JSON:API or REST.
The site must employ a file validation module.
- SA-CORE-2021-008 -
www.drupal.org/sa-core-2021-008
CVEs related to QID 730202
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| SA-CORE-2021-008 |
|