Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change destructive actions from GET to POST #53

Closed

Conversation

toolmantim
Copy link
Contributor

It's possible to delete delayed jobs from the database using GET requests. This would allow someone, using just an image tag, to delete arbitrary jobs from the database.

This changes those GET actions to a POST, which partially mitigates the problem. All full fix would also be to require CSRF a token along with the POST request.

This was referenced Mar 7, 2014
Closed
@andyatkinson
Copy link
Collaborator

Deployed (rebased, so commit SHA changed)

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

Successfully merging this pull request may close these issues.

None yet

2 participants