CWEE Exam Guide
Share
The pass email landed at 03:11 on a Tuesday morning and I was still awake refreshing my inbox like a maniac. 88%. Three points above the cutoff. I'd handed the report in nine hours earlier and then not slept because my brain kept re-reading the deserialization chain section and finding typos. Seeing "congratulations" took about thirty seconds to parse because by that point I was running on coffee and dread.
CWEE was my fifth HTB cert, after CJCA, CPTS, CWES and CAPE. It's harder than CWES by a noticeable margin and the gap is almost entirely in source-code reading rather than exploitation craft. Writing this while it's still fresh.
The day the lab opened
I started at 10:00 on a Saturday. By noon I had the initial scope mapped, by 14:00 I had a login flow that smelled off, and by 17:00 I had the first pop. Then I lost two full days on a deserialization path that wasn't the intended route. Two days. I built a phpggc gadget against the wrong class, got it executing, realised the shell it gave me landed on a sandboxed worker with no path to the main app, and had to back out and re-read the source from scratch to find the actual intended chain.
That's the CWEE experience in a nutshell. You will find a bug. It will not be the bug.
Source code review is the actual exam
Here is the thing nobody told me until I sat CWEE: the exam is 60% source-code review and 40% exploitation. If you can't read PHP and Java comfortably, you will not pass. Not "struggle to pass." Will not pass. The lab targets are not black-boxable in the way CWES targets mostly are. You get source. You are expected to read it.
I came into CWEE with Node and Python strong, PHP rusty from an undergrad project, and Java basically zero. The month before I booked, I spent probably 40 hours just reading open-source PHP projects (looked at Joomla and a couple of smaller CMSes), tracing user input from a controller all the way to a sink. Then I did the same with a few Java Spring apps, specifically following how request parameters hit deserialization boundaries. That hands-on reading was the single most valuable prep I did. The HTB Academy Senior Web Pentester path is good but it won't force you to read unfamiliar source the way the exam will.
The chain that got me the second pop
Without spoiling, the second box involved three bugs chained: a type confusion in a custom auth comparator (PHP loose equality with a crafted JSON body), a race condition on a token issuance endpoint, and finally an SSRF that reached an internal admin API behind a trust boundary. Each on its own was marked as medium or low severity. Together, pre-auth RCE on the admin app.
Race conditions are where I thought I was going to die. I'd done PortSwigger's single-packet attack labs for CWES prep but hadn't done them against a real deployment under lag. Turbo Intruder saved me, specifically the single-packet attack scripting. If you haven't scripted a Turbo Intruder exploit by hand, do it before you sit CWEE. The default extension examples cover 80% of what you need.
Tools I actually used across seven days
- burp pro — can't do CWEE without Pro. Turbo Intruder alone makes it mandatory. The Hackvertor and Autorize extensions were open the entire week.
- phpggc and ysoserial — gadget chain generation for PHP and Java respectively. Know how to pick a chain for a given library version.
- feroxbuster — content discovery against two different stacks. Recursion default behaviour is ideal for CWEE's wider surface.
- httpx + nuclei — initial recon sweep. Nuclei occasionally finds a known CVE on a dependency that the HTB team hasn't patched intentionally. Don't rely on it but don't skip it.
- jwt_tool — one box had a JWT with a jku header pointing at an attacker-controllable URL. jwt_tool makes the kid/jku attacks trivial.
- gopher (gopher:// payloads) — SSRF to Redis is a tired classic but it showed up, and having a go-to SSMTP/Redis gopher payload saved me from googling it at 2am.
- vscode + semgrep — for source code review. Semgrep rules for Java deserialization and PHP command injection pointed me at sinks faster than grepping.
- python one-liners — for the race condition prep work before I moved it into Turbo Intruder. httpx (the Python library, confusingly) and asyncio to spray requests while I was testing.
The report nearly cost me the pass
I had every flag by the end of day six. Spent day seven on the lab cleaning up, then started the report at midnight going into day eight (the first of the two report days). Classic mistake. I was tired, I rushed the chain explanations, and the first draft had three places where the request-response pair didn't match the narrative in the text.
I spent the entirety of day nine rewriting the chain sections. Every finding got an attack chain diagram drawn in excalidraw. Every request-response block got annotated. I rewrote the executive summary three times because I'd started it talking about "vulnerabilities" instead of "business impact" and the HTB reporting rubric really does care about the difference.
If I'd gotten even one more thing wrong in the report, 88 would've been 83 and I'd have been writing a different post. Don't rush the report. The 48-hour window is there because it needs to be. Use it.
The pricing math
$490 voucher, free retake. HTB Academy Silver annual at $490 if you don't have it already. Call it $980 total if you're starting from zero on HTB, same as CWES. Compared to $1,749 for OSWE, CWEE is about 56% of the price for comparable (I'd say equivalent, maybe slightly harder) source-review difficulty.
People ask me whether CWEE or OSWE carries more weight on a CV. In US appsec recruiting, OSWE is still the louder badge. In EU and in appsec-mature shops anywhere, CWEE is recognised and increasingly respected. I did CWEE because I already had Silver and because the seven-day format suits how I work. If you want the OffSec branding, pay for OSWE.
What I'd tell myself a month before
- Read 10,000 lines of someone else's PHP and 5,000 lines of someone else's Java before you book. Pick an open source project, pick an endpoint, trace user input to a sink. Repeat. This is the single thing I did that mattered most.
- Script Turbo Intruder from scratch twice. Not fork an example — start blank, build a single-packet race, then build a request-slowing attack. The muscle memory matters at 3am on day four.
- Keep a vulnerable-functions cheat sheet for PHP, Java and Node. Common sinks, common gadget library versions, common misuse patterns. Snoopy has a good public list on his site that I built on top of.
- Don't book CWEE while anything big is going on at work. My company had a quiet two weeks over Thanksgiving which is the only reason I could afford the mental space. If your calendar is full, push the exam.
- Diagram every chain in the report. One diagram per finding. HTB's rubric rewards diagrams noticeably. Excalidraw, draw.io, even hand-drawn phone photos — anything beats a wall of text describing the chain.
Non-cert anchor: I watched the first three episodes of Shogun on breaks during the lab week. I don't recommend starting a new prestige drama during a seven-day exam because you will convince yourself one more episode is a reasonable way to spend a break, and it isn't. Rewatch something old. Something you can tune out. HackTricks and the OWASP cheat sheets stayed open in a second monitor for the entire seven days, by the way, and both earned their place.
If you're going for CWEE and want someone to look over your source-review notes or stand by during the exam week, that's what we do at FsKnockouT — DM or drop a note, no upfront fees, we don't charge until you pass. Good luck either way.