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.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Vendor has released patch, Customers are advised to update to latest drupal version. For more information refer to Drupal security advisory SA-CORE-2021-008

    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.

    Vendor References

    CVEs related to QID 730202

    Software Advisories
    Advisory ID Software Component Link
    SA-CORE-2021-008 URL Logo www.drupal.org/sa-core-2021-008

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report