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

GIAC Certified Incident Handler

Domain 3Objective 3

Web Application Injection Attacks GCIH Practice Questions (Page 4)

Part of the Web Application Security domain, which makes up ~25% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 240-minute exam (~95–160 total, ~24–40 in this domain), expect 8–13 from this objective — we provide 80 practice questions to prepare you well beyond it. (estimate)

80questions here
16free pages
25concepts

Questions 16–20

  1. 16application · medium

    A contact form on a website sends an email using a PHP mail() function. The 'subject' field is taken directly from user input and concatenated into the email header. An attacker submits a subject containing newline characters followed by Bcc: victim@example.com, causing the email to be sent to the victim. Which remediation would most directly prevent this email header injection?

    Select an answer first
  2. 17application · medium

    A developer is using an ORM (Object-Relational Mapping) library in a Python application. They write the following code to query a database: `session.query(User).filter("username = '{}'".format(user_input)).all()`. What is the primary vulnerability?

    Select an answer first
  3. 18application · medium

    A Java web service parses XML purchase orders submitted by external partners. During a security review, an analyst submits the following XML: <!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]><order><item>&xxe;</item></order>. The response includes the contents of /etc/passwd. Which configuration change would most directly prevent this attack?

    Select an answer first
  4. 19foundation · easy

    How can a format string vulnerability be exploited to read memory?

    Select an answer first
  5. 20foundation · easy

    What is email header injection?

    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). “GCIH” is a trademark of its owner, used for identification only.