HTB CWPE study plan
HTB CWPE · Give each week a clear focus.
8 weeks · About 6 hours per week
Injection Vulnerabilities (SQLi, NoSQLi, Command Injection, SSTI) & Web Application Reconnaissance and Enumeration
Map the full injection surface of a deliberately vulnerable practice app by cataloguing every parameter, header, cookie, and JSON field that reaches a database, shell, or template engine
Build a reusable Burp Suite and ffuf workflow that fingerprints server-side languages, frameworks, and templating engines from response headers, error pages, and default file paths
Reproduce union-based and error-based SQL injection against a local lab database, then write a manual UNION payload that extracts table names without relying on sqlmap
Set up a personal notes template that records, for each finding, the exact request, the payload, the observable difference, and the mitigation that would have blocked it
Your checkpoint
A written injection-surface map for one practice application listing every tested input, the payload class tried, the result, and a screenshot-free text reproduction of at least three working SQLi payloads
Injection Vulnerabilities (SQLi, NoSQLi, Command Injection, SSTI)
Craft blind boolean-based and time-based SQLi payloads by hand and confirm them with response-length and response-time baselines you compute yourself
Execute NoSQL injection against a MongoDB-backed login and a search endpoint, covering both operator injection in JSON bodies and query-parameter array syntax
Achieve OS command injection through a vulnerable file-processing feature and demonstrate both blind output exfiltration over an outbound channel and in-band output
Identify and exploit a server-side template injection by probing arithmetic expressions in every user-reflected field, then escalate from expression evaluation to file read
Your checkpoint
A single lab report containing one validated payload per injection class (boolean SQLi, time-based SQLi, NoSQLi, command injection, SSTI) with the detection signal you used and the exact string that confirmed exploitation
Authentication and Session Management Attacks & Client-Side Attacks (XSS, CSRF, CORS Misconfiguration)
Enumerate and attack authentication flows: username enumeration through timing and message differences, credential stuffing protections, password reset token weaknesses, and MFA bypass via response manipulation
Analyze session tokens from three different lab applications for entropy, predictability, and missing rotation on privilege change, and document each weakness with evidence
Exploit a JWT implementation by testing algorithm confusion and weak HMAC secret cracking, then forge a token that reaches an administrative function
Build and execute a stored XSS payload that steals a session cookie protected only by HttpOnly-off configuration, and a separate payload that performs an authenticated action on behalf of the victim
Your checkpoint
A session and authentication findings sheet covering at least four distinct weaknesses across the lab apps, each with the request/response pair and a one-line remediation statement
Client-Side Attacks (XSS, CSRF, CORS Misconfiguration) & Access Control Flaws (IDOR, Privilege Escalation, Business Logic)
Test three lab applications for CSRF by identifying state-changing endpoints lacking anti-CSRF tokens or SameSite protections, then build a working proof-of-concept HTML page for the strongest finding
Probe CORS configurations with crafted Origin headers, including null origin and subdomain-prefix tricks, and classify each endpoint as safe, reflective, or fully exploitable
Enumerate access control by replaying requests across two accounts at different privilege levels and by forcing numeric and UUID identifiers in every object reference
Identify at least one business logic flaw, such as price manipulation, quantity tampering, or workflow step skipping, and document the abuse case end to end
Your checkpoint
A client-side and access-control test matrix with one row per endpoint tested, showing the attack attempted, whether it succeeded, the impact rating, and a working CSRF or CORS proof of concept for at least one endpoint
Server-Side Request Forgery (SSRF) and File Inclusion & Insecure Deserialization and Template/Expression Injection
Map every parameter that accepts a URL or hostname and test each for SSRF, including internal metadata endpoints, localhost services, and redirect-based filter bypasses
Distinguish reflected, stored, and wrapper-based file inclusion by testing path traversal, PHP filter wrappers, and log poisoning for code execution
Identify a deserialization sink in a practice application and demonstrate exploitation, or, if no sink is available, write a working serialized payload for the target language and explain the gadget chain
Compare SSTI and expression-language injection in a Java or .NET context with the SSTI work from week 2 and record how detection differs
Your checkpoint
An SSRF and file-inclusion cheat sheet of your own construction, containing at least eight working bypass payloads with a note on which filter each one defeats
API and Modern Web Technology Exploitation & Web Application Reconnaissance and Enumeration
Enumerate a REST API from its documentation and from traffic alone, then test for mass assignment, excessive data exposure, and broken object property level authorization
Test GraphQL endpoints for introspection exposure, query depth abuse, and field-level authorization gaps
Probe for prototype pollution in a JavaScript-heavy application and demonstrate a client-side gadget or a server-side denial-of-service effect
Automate a full reconnaissance pass with content discovery, parameter mining from JavaScript files, and technology fingerprinting, and record how long each stage takes
Your checkpoint
An API testing checklist you authored, with at least ten concrete checks and the observed result of each check against one lab API
Chaining Vulnerabilities and Post-Exploitation & Injection Vulnerabilities (SQLi, NoSQLi, Command Injection, SSTI)
Chain at least three findings from earlier weeks into one exploit path, for example SSRF to internal service to credential theft to authenticated injection
Escalate from a low-privilege web shell or command injection foothold to reading application configuration and database credentials
Practice writing a concise finding narrative that states the chain, the impact, and the remediation for each link without padding
Re-run two previously solved labs cold, without notes, and record every step where you needed to look something up
Your checkpoint
A written attack-chain writeup of one multi-step compromise, from initial reconnaissance through post-exploitation credential access, in under 800 words
Authentication and Session Management Attacks & Access Control Flaws (IDOR, Privilege Escalation, Business Logic) & Chaining Vulnerabilities and Post-Exploitation
Complete two full timed practice assessments covering all nine domains and log the time spent per domain against the exam weighting
Review every missed question and convert each into a one-line rule you can recall under pressure
Re-test the three domains where your timed accuracy was lowest by solving two fresh labs in each
Finalize a one-page pre-exam reference sheet limited to payload syntax, detection signals, and remediation mappings
Your checkpoint
A timed mock-assessment score report with per-domain accuracy, a ranked list of remaining weak areas, and the completed one-page reference sheet
Milestones
Week 2: You can detect and exploit SQLi, NoSQLi, command injection, and SSTI on an unfamiliar lab without consulting a walkthrough, and you can name the detection signal that confirmed each one
Week 4: You have produced at least one working CSRF proof of concept and one exploitable CORS finding, and you can explain the difference between horizontal and vertical privilege escalation using your own captured requests
Week 6: Your own SSRF, file-inclusion, and API checklists each contain at least eight actionable entries, and you have validated at least half of them against live lab targets
Week 8: Your timed mock assessments show at least 70 percent accuracy overall with no single domain below 50 percent, and your reference sheet fits on one page