#29252: Add CSRF protection to LogoutView
-------------------------------------+-------------------------------------
               Reporter:  Filip      |          Owner:  nobody
  Dimitrovski                        |
                   Type:  Bug        |         Status:  new
              Component:             |        Version:  master
  contrib.auth                       |       Keywords:  denial of
               Severity:  Normal     |  service,csrf
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 The current implementation in django.contrib.auth.views.LogoutView allows
 both GET and POST requests without any CSRF protection. A simple
 {{{
    <img src="http://djangoapp/logout"; />
 }}}
 on an exploit page could log out the user. While this is a low security
 risk, it's still a DoS issue and could prevent the user from using the
 app.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29252>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.0adaade739cc827a87537b8111d5da1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to