Terminology Index

Glossary

1801 terms

Open concept maps

Showing 257-288 of 1801 terms

C
32

CSRF

Cross-Site Request Forgery: a web attack that tricks a logged-in user's browser into sending an unwanted, authenticated request to a site, performing an action the user did not intend, like changing a setting or making a transfer.

CSRF exploits the fact that browsers automatically attach a user's cookies to requests. A malicious page can cause the victim's browser to submit a request to a site where they are logged in, and the site, seeing valid cookies, treats it as legitimate. Defenses include anti-CSRF tokens that the attacker cannot guess and the SameSite cookie attribute that limits cross-site cookie sending.

Introduced in: Defensive Web Fundamentals

Examples

  • A malicious page silently submitting a fund-transfer request to a bank where the victim is logged in.
  • An auto-submitting form changing a user's email on a site they are signed into.
  • Blocking the attack with an anti-CSRF token the attacker cannot supply.

No related terms linked yet.