Skip to content
This repository has been archived by the owner on Jul 17, 2018. It is now read-only.

CSRF vulnerability #46

Open
arthurdejong opened this issue Jul 22, 2013 · 0 comments
Open

CSRF vulnerability #46

arthurdejong opened this issue Jul 22, 2013 · 0 comments

Comments

@arthurdejong
Copy link

The view accepts vote updates as a GET request (actually any kind of request). As such it is trivial to use this to exploit the rating system from any third party site.

Example: site A uses django-ratings to rate some items. On site B add

<img src="http://A/rate-my-post/100/10" width="1" height="1" />

Any user visiting site B will rate the thing on site A.

The effects of this vulneraibility depend mostly on can_change_vote and allow_anonymous.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant