
GIAC Certified Incident Handler
Domain 3Objective 3
Web Application Injection Attacks GCIH Practice Questions (Page 1)
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 1–5
- 1
A Node.js application uses MongoDB and authenticates users with a query built as: db.users.findOne({ username: req.body.user, password: req.body.pass }). A tester sends a JSON body with "user" set to {"$ne": null} and "pass" set to {"$ne": null}, and successfully logs in as the first user. Which remediation would most directly prevent this NoSQL injection?
Select an answer first - 2
A development team is fixing an email header injection vulnerability in a PHP application that uses the `mail()` function. They want to prevent header injection while preserving the ability to set a custom 'From' address. Which mitigation is most effective?
Select an answer first - 3
A security team is tasked with identifying injection vulnerabilities in a newly developed web application before deployment. The application uses a mix of SQL, LDAP, and XML processing. Which testing approach would be most effective for discovering a wide range of injection flaws across these different technologies?
Select an answer first - 4
A web application allows users to specify a filename that is then passed to a shell command for processing: `system('cat ' . $_GET['file']);`. An attacker wants to read the `/etc/passwd` file. Which payload would achieve command injection?
Select an answer first - 5
Which XML parser configuration is secure against XXE?
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.