CSRF (Cross-Site Request Forgery) என்பது ஒரு சான்றாக்கப்பட்ட பயனரின் உலாவியை ஏமாற்றி விரும்பத்தகாத கோரிக்கைகளை அவர்கள் சான்றாக்கிய தளத்தில் செய்ய வைக்கிறது — பயனரின் சம்மதமின்றி செயல்களை (பணி மாற்றங்கள், மாற்றங்கள்) செய்து, உலாவி தானாக நற்சான்றுகள்/குக்கிகளை அனுப்பும் என்பதைப் பயன்படுத்துகிறது।
CSRF எப்படி செயல்படுகிறது
The attack exploits that browsers AUTO-SEND cookies (incl. session cookies) with requests:
1. a user is LOGGED IN to a site (has a session cookie)
2. the user visits a MALICIOUS page (or clicks a crafted link)
3. that page makes a request to the target site (e.g. a hidden form auto-submitting)
4. the browser AUTOMATICALLY includes the user's session cookie → the site thinks it's
a legitimate request from the user → performs the action (transfer money, change email)
→ the user unknowingly performs an action they didn't intend.
