CAS-003 · Question #529
CAS-003 Question #529: Real Exam Question with Answer & Explanation
The correct answer is B: XSRF. A CSRF (Cross-Site Request Forgery) attack tricks an authenticated user's browser into submitting an unauthorized request to a trusted site. The attacker cannot forge the request correctly if it requires a secret, unpredictable token tied to the user's session. By embedding a ser
Question
Options
- ASQL injection
- BXSRF
- CXSS
- DClickjacking
Explanation
A CSRF (Cross-Site Request Forgery) attack tricks an authenticated user's browser into submitting an unauthorized request to a trusted site. The attacker cannot forge the request correctly if it requires a secret, unpredictable token tied to the user's session. By embedding a server-generated random token in the hidden form field, the server can validate that the form submission originated from the legitimate page and not from a malicious third-party site. SQL injection targets database queries, XSS injects malicious scripts into pages, and clickjacking overlays UI elements to deceive clicks - none of these are mitigated by a hidden CSRF token.
Community Discussion
No community discussion yet for this question.