vendor:
Django
by:
Spad Security Group
6.8
CVSS
MEDIUM
Cross-Site Request Forgery
352
CWE
Product Name: Django
Affected Version From: 3.0
Affected Version To: 3.0
Patch Exists: NO
Related CWE: N/A
CPE: a:djangoproject:django:3.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 10
2020
Django 3.0 – Cross-Site Request Forgery Token Bypass
Django 3.0 is vulnerable to Cross-Site Request Forgery (CSRF) token bypass. An attacker can bypass the CSRF token by using the Session() class from the requests library to get the cookies and csrf token from the target URL. The attacker can then use the csrf token to login to the target URL.
Mitigation:
Implementing a CSRF token in the application and validating it on the server-side can help mitigate this vulnerability.