Building in CSRF prevention #82

Closed
opened 2019-06-10 09:49:43 +00:00 by b3yond · 0 comments
Owner

Author: @b3yond Posted at: 27.01.2019 15:37

To prevent CSRF attacks, there is now a CSRF token at post requests which is checked against a CSRF cookie.

Even if an attacker generates a malicious form now, it will be checked against the CSRF token in the cookie, which they can't read - therefore only post requests from forms generated by the ticketfrei server will be accepted by it.

Author: @b3yond Posted at: 27.01.2019 15:37 To prevent CSRF attacks, there is now a CSRF token at post requests which is checked against a CSRF cookie. Even if an attacker generates a malicious form now, it will be checked against the CSRF token in the cookie, which they can't read - therefore only post requests from forms generated by the ticketfrei server will be accepted by it.
b3yond added the
security
label 2019-06-10 09:49:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: b3yond/ticketfrei#82
No description provided.