HTB CWES study materials
HTB CWES study resources

HTB CWES: Professional Reporting and Remediation Guidance

HTB CWES · Work through your exam, one topic at a time.

All guide sections

Professional Reporting and Remediation Guidance

Reporting and remediation

A CWES report must be reproducible and actionable: executive summary, scope, methodology, findings with CVSS, request/response evidence, impact, remediation, and references. Severity must reflect exploitability and business impact, not payload cleverness. Redact secrets and PII. Remediation should name the control: parameterized queries, output encoding by context, allowlist URL validation, SameSite cookies plus CSRF tokens, server-side authorization checks, safe deserialization allowlists, and patching with version confirmation. Recommend defense in depth and a retest.

Worked example

A SQLi finding includes the vulnerable parameter, the exact request, the response proving data extraction, and the affected database role. Impact: authentication bypass and read access to the users table. Remediation: replace string concatenation with prepared statements, add least-privilege DB accounts, and add regression tests. A WAF rule is compensating control only, not the fix. The reasoning is to connect evidence to impact to a specific, verifiable change.

Traps

Vague remediation such as "sanitize input"; missing evidence or reproduction steps; overstating CVSS; including unredacted credentials; recommending a WAF as the primary fix; failing to prioritize findings by exploitability.