Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

When does CSRF attack takes place ?

CSRF Attack Conditions:

  • Relevant Action: The attacker wants to make the application perform a specific action.
    • Example: Modifying permissions or changing the user’s password.

Cookie-based Session Handling:

  • HTTP Requests and Session Cookies: The application relies only on session cookies to recognize users making requests.
    • Example: The system doesn’t use any other method to track sessions or validate user requests.

No Unpredictable Request Parameters:

  • Known Request Parameters: The attacker can easily determine or guess all the values needed for the requests.
    • Example: If tricking a user into changing their password, the attacker doesn’t need to know the existing password.

Leave a Comment