Cross-Site Request Forgery (CSRF)
A flaw was found in moodle versions up to 3.1.14, 3.5 to 3.5.2, 3.4 to 3.4.5 and 3.2 to 3.3.8 and earlier. The login form is not protected by a token to prevent login cross-site request forgery.
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.