OpenExamsFREE PRACTICE — ANY EXAM

Free HTB Certified Web Exploitation Specialist Practice Questions

100 free questions · Answer explanations · No signup required

View examination details, outline and sources

These questions practise related knowledge and decisions. They do not replace practical performance training or assess your actual performance.

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the HTB Certified Web Exploitation Specialist practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1A tester wants to retrieve the current representation of /catalog without requesting a state change. Which HTTP method has that defined purpose?

    1. A.GETCorrect answer: A
    2. B.POST
    3. C.PUT
    4. D.DELETE

    Explanation: MDN states: "The GET method requests a representation of the specified resource." GET retrieves a representation. POST submits an entity, PUT replaces representations, and DELETE removes a resource.

    Reference: HTTP request methods — MDN Web Docs — GET

  2. 2During an authorized test, which Burp tool is designed to intercept and modify traffic passing between the browser and target application?

    1. A.Repeater
    2. B.ProxyCorrect answer: B
    3. C.Decoder
    4. D.Comparer

    Explanation: The documentation states: "It lets you intercept, inspect and modify the raw traffic passing in both directions." Proxy sits between browser and application. Repeater resends selected messages, Decoder transforms data representations, and Comparer shows differences.

    Reference: Burp Suite tools — PortSwigger — Proxy

  3. 3In ffuf, where should the default payload keyword be placed to enumerate paths under https://example.org/ ?

    1. A.In the -of output format value
    2. B.In the -timeout numeric value
    3. C.At the path position, as /FUZZCorrect answer: C
    4. D.In the -maxtime numeric value

    Explanation: The source states: "ffuf -w /path/to/wordlist -u https://target/FUZZ" FUZZ marks the URL portion to replace. Output format and time limits do not select the fuzzed path.

    Reference: ffuf — official README — Typical directory discovery

  4. 4A query parameter is inserted unsafely into the immediate HTTP response and executes as JavaScript. Which vulnerability describes this flow?

    1. A.Stored XSS
    2. B.DOM-only XSS
    3. C.Second-order SQL injection
    4. D.Reflected XSSCorrect answer: D

    Explanation: The documentation states: "It arises when an application receives data in an HTTP request and includes that data within the immediate response in an unsafe way." Unsafe insertion of current-request data into the immediate server response is reflected XSS. Storage for later responses, client-only DOM processing and second-order SQL processing have different origins and interpretation contexts.

    Reference: Cross-site scripting — PortSwigger Web Security Academy — Reflected cross-site scripting

  5. 5An authorized tester saved a complete HTTP request, including cookies and a POST body, in request.txt. Which sqlmap option loads it directly?

    1. A.-u request.txt
    2. B.-r request.txtCorrect answer: B
    3. C.-D request.txt
    4. D.-T request.txt

    Explanation: The official source states: "-r REQUESTFILE Load HTTP request from a file" -r loads the raw request. -u takes a target URL, -D a database, and -T table names.

    Reference: sqlmap — official Usage wiki — Usage — Target options

  6. 6A URL-fetching feature requests http://127.0.0.1/admin from the application server. Which host does that loopback address refer to in the resulting server-side request?

    1. A.The browser host that submitted the fetch URL
    2. B.The application's server itselfCorrect answer: B
    3. C.The upstream proxy chosen by the browser
    4. D.The DNS server resolving the application's domain

    Explanation: The official source states: "In an SSRF attack against the server, the attacker causes the application to make an HTTP request back to the server that is hosting the application, via its loopback network interface." The connection originates on the application server; its loopback refers to itself, not the browser, browser proxy, or DNS resolver.

    Reference: Server-side request forgery — PortSwigger — SSRF attacks against the server

  7. 7A login form returns one error for an unknown username and a different error for a known username with a wrong password. What information can this leak?

    1. A.The correct password for the supplied username
    2. B.The privileges assigned to the supplied account
    3. C.The second-factor code for the supplied account
    4. D.Whether a supplied username existsCorrect answer: D

    Explanation: The source states: "Username enumeration is when an attacker is able to observe changes in the website's behavior in order to identify whether a given username is valid." The two failure paths distinguish account existence, not a valid password, account privileges, or OTP value.

    Reference: Password-based login vulnerabilities — PortSwigger — Username enumeration

  8. 8An unsafe Unix file reader joins /srv/site/images/ with ../../../etc/hosts and then resolves the path normally. What does each ../ sequence do?

    1. A.Remain in the current directory and append literal dots
    2. B.Step up one directory levelCorrect answer: B
    3. C.Reset directly to the filesystem root
    4. D.Step down into the next child directory

    Explanation: The official documentation states: "The sequence ../ is valid within a file path, and means to step up one level in the directory structure." ../ selects a parent directory. It is not a literal component, absolute-root reset, or child-directory step.

    Reference: Path traversal — PortSwigger — Reading arbitrary files via path traversal

  9. 9A profile API accepts an extra isAdmin property from an ordinary user and persists it, although that user may edit only their display name. Which authorization boundary failed?

    1. A.Permission to execute a restricted administrative function
    2. B.Permission to select another user's object by its ID
    3. C.Permission to establish a verified login identity
    4. D.Permission to modify individual object propertiesCorrect answer: D

    Explanation: The source identifies "the lack of or improper authorization validation at the object property level." The user is allowed to edit this profile but not its isAdmin property, so field-level write authorization failed. This is distinct from function access, selecting another object, or proving a login identity.

    Reference: OWASP Top 10 API Security Risks — 2023 — API3:2023 - Broken Object Property Level Authorization

  10. 10A vulnerability report's reproduction section lists only 'log in and try the profile page.' Which addition most directly makes the finding reproducible?

    1. A.A generic description of the vulnerability class
    2. B.Exact URLs, affected parameters, and required user rolesCorrect answer: B
    3. C.A proposed fix without a demonstration of the failure
    4. D.A higher severity rating without the triggering input

    Explanation: The official source states: "Include necessary details like URLs, affected parameters, and user roles required to trigger the vulnerability." Triagers need actionable reproduction details. Classification, remediation, and severity labels do not substitute for the missing trigger and conditions.

    Reference: Quality Reports — HackerOne Help Center — 2. Steps to Reproduce

Exam Review

About HTB Certified Web Exploitation Specialist

HTB Certified Web Exploitation Specialist · UNSPECIFIED

This examination scores performance. Multiple-choice practice covers related knowledge and decisions; it does not replace practical performance training or assess your actual performance.

Key exam facts

Provider
Hack The Box (HTB Academy) provides the exam environment and instructor assessment.
Format
Hands-on web penetration testing of multiple applications via VPN using Pwnbox or a local VM; submit exploitation flags and a commercial-grade report. No multiple-choice questions.
Time limit
Seven days from entering the exam, including practical lab access and report submission; the retake also lasts seven days.
Passing score
A minimum number of exploitation points plus a commercial-grade report meeting instructor quality requirements. The CWES-specific numeric threshold is not stated on the public CWES page; the help center gives 70/100 only as an intermediate-path example, so it is not asserted as a CWES cutoff.
Exam fee
Standalone CWES exam voucher: $210 in the official price table; includes two exam attempts. Training is separate; qualifying annual subscriptions can include a voucher.

Topics covered

  • Web Requests

  • Introduction to Web Applications

  • Using Web Proxies

  • Information Gathering - Web Edition

  • Web Fuzzing

  • JavaScript Deobfuscation

  • Cross-Site Scripting (XSS)

  • SQL Injection Fundamentals

  • SQLMap Essentials

  • Command Injections

  • File Upload Attacks

  • Server-side Attacks

  • Login Brute Forcing

  • Broken Authentication

  • Web Attacks

  • File Inclusion

  • Attacking GraphQL

  • API Attacks

  • Attacking Common Applications

  • Bug Bounty Hunting Process

How to prepare

Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.

These independent practice questions are not actual exam items and do not guarantee a passing result.

Frequently asked questions

What is the exam format?

Hands-on web penetration testing of multiple applications via VPN using Pwnbox or a local VM; submit exploitation flags and a commercial-grade report. No multiple-choice questions.

How long is the exam?

Seven days from entering the exam, including practical lab access and report submission; the retake also lasts seven days.

What is the passing score?

A minimum number of exploitation points plus a commercial-grade report meeting instructor quality requirements. The CWES-specific numeric threshold is not stated on the public CWES page; the help center gives 70/100 only as an intermediate-path example, so it is not asserted as a CWES cutoff.

How much does the exam cost?

Standalone CWES exam voucher: $210 in the official price table; includes two exam attempts. Training is separate; qualifying annual subscriptions can include a voucher.

Official sources and references

Confirm current exam arrangements with the exam provider.