HTB CWES case studies
HTB CWES ยท Put your knowledge to work in context.
The HTB Certified Web Exploitation Specialist (CWES) is a hands-on certification offered by Hack The Box that validates practical skills in finding and exploiting web vulnerabilities. It is aimed at penetration testers, bug bounty hunters, and security engineers who want to prove they can compromise realistic web applications, not just answer multiple-choice questions. The exam is a live practical assessment: you receive access to target environments, must exploit them to achieve specified objectives, and then submit a professional report documenting your findings and remediation advice. The domains span reconnaissance, injection, client-side attacks, authentication and access control, file inclusion and upload, SSRF and deserialization, framework/CMS exploitation, post-exploitation, and reporting. The HTB CWES case studies are 5 cases and about 3,034 words.
1Time-Based Oracle Behind a Caching Layer and Three IIS Nodes
During an external assessment of a retail storefront running ASP.NET on IIS 10 with SQL Server 2019, you find that the sort parameter on /catalog/search is concatenated into an ORDER BY clause. A single quote returns HTTP 500; two quotes return 200.
701 words, about 4 min2DOM Clobbering Through a Sanitizer and strict-dynamic CSP
A SaaS helpdesk lets agents post comments that are rendered as markdown. The pipeline is marked โ DOMPurify 3.0.6 (default config) โ innerHTML .
592 words, about 3 min3JWT kid Injection in a Six-Hour Window
An API for a fintech platform issues RS256 JWTs from https://auth.example.com . The token header contains kid , which the auth service uses in a SQLite lookup: SELECT pem FROM keys WHERE kid = '<kid ' .
619 words, about 3 min4Single-Pass Traversal, Preserved PDFs, and a Template Include
A custom HR portal runs PHP 8.2 on Apache. Employees upload documents to POST /api/documents .
521 words, about 3 min5Redirect-Following SSRF and the Scope Line at an Internal Jenkins
A project-management SaaS offers a "link preview" feature. POST /api/preview with {"url":"https://..."} returns the page title and first image.
601 words, about 3 min