Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

GIAC Certified Web Application Defender

Domain 3Objective 3

Cross Origin Policy Attacks and Mitigation GWEB Practice Questions (Page 3)

Part of the Input Handling and Injection Flaws domain, which makes up ~16% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~11–19 in this domain), expect 4–6 from this objective — we provide 35 practice questions to prepare you well beyond it. (estimate)

35questions here
7free pages
7concepts

Questions 11–15

  1. 11expert · hard

    A web application uses a double-submit cookie pattern for CSRF protection: a random token is set in a cookie and also submitted in a request header. The server validates that the two values match. The application does not use SameSite attributes. Which weakness could allow an attacker to bypass this defense?

    Select an answer first
  2. 12application · medium

    A user is logged into a banking site. The user visits a malicious site that contains a form that auto-submits to the banking site's transfer endpoint. The banking site uses cookies for authentication and does not use anti-CSRF tokens. Which control would have prevented this attack?

    Select an answer first
  3. 13application · medium

    A company operates a public API that is used by multiple trusted partner applications. The API currently uses a wildcard Access-Control-Allow-Origin: * and does not use cookies. The security team wants to allow only the trusted partners to read responses while keeping the API accessible to all partners. Which configuration should be implemented?

    Select an answer first
  4. 14application · medium

    A web application uses session cookies for authentication and includes a form that changes the user's email address. The security team wants to mitigate CSRF without relying solely on the SameSite attribute. Which additional control is most effective?

    Select an answer first
  5. 15foundation · easy

    What is the fundamental mechanism that enables a Cross-Site Request Forgery (CSRF) attack?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GWEB” is a trademark of its owner, used for identification only.