Skip to main content

Cross-Site Request Forgery (CSRF)

CVE-2020-13663

Severity High
Score 8.8/10

Summary

A reflected DOM-based XSS was identified by the Checkmarx researchers in base components of Drupal Core, versions 7.x before 7.72, 8.x before 8.8.8, 8.9.x before 8.9.1 and 9.0.x before 9.0.1. This vulnerability allows an attacker to craft a web-page which, when accessed by an authenticated Drupal user with content writing permissions, would send a request to either an ‘edit node’ or ‘add node’ endpoint on that user’s behalf. While this form would not contain valid tokens and be prevented from performing the ‘edit’ or ‘add’ actions, the resulting web-page would still reflect this content in the victim’s browser, and the application DOM would populate a CKEditor WYSWIG frame with the attacker’s HTML. While CKEditor contains mechanisms to attempt and sanitize Javascript from the HTML it is rendering, Checkmarx reseachers have successfully demonstrated how to bypass these mechanisms using a combination of allowed and disallowed HTML tags.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • HIGH

CWE-352 - Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) is a vulnerability that allows an attacker to make arbitrary requests in an authenticated vulnerable web application and disrupt the integrity of the victim’s session. The impact of a successful CSRF attack may range from minor to severe, depending upon the capabilities exposed by the vulnerable application and privileges of the user. An attacker may force the user to perform state-changing requests like transferring funds, changing their email address or password etc. However, if an administrative level account is affected, it may compromise the whole web application and associated sensitive data.

Advisory Timeline

  • Published