
GIAC Certified Incident Handler
Domain 3Objective 3
Web Application Injection Attacks GCIH Practice Questions (Page 5)
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 21–25
- 21
A web application sets a session cookie and also reflects a user-controlled 'next' parameter in a redirect header. An attacker exploits this to perform session fixation by injecting a Set-Cookie header. The application is behind a reverse proxy that normalizes some headers but not all. Which remediation would be most effective to prevent session fixation via header injection?
Select an answer first - 22
A Java application parses XML documents from external partners. The security team must prevent XXE attacks, but some partners send XML documents that include internal DTDs for entity definitions. The application must continue to accept these documents. Which configuration would best balance security and functionality?
Select an answer first - 23
A web application accepts XML input and processes it with a parser that has external entities enabled. An attacker wants to perform a denial of service attack. Which payload would be most effective?
Select an answer first - 24
A Node.js application uses MongoDB and constructs a query like this: `db.users.find({ username: userInput })`. An attacker wants to extract the password of a specific user. Which payload would achieve this?
Select an answer first - 25
A development team is fixing a SQL injection vulnerability in a legacy PHP application. The application uses string concatenation to build SQL queries. The team wants to implement a mitigation that is most effective against SQL injection while minimizing changes to the existing codebase. Which approach should they prioritize?
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.