Testing JWT Security with jwt-cli and Caido: Alg Confusion, Weak Secrets, and Expired Claims

Hands-on tutorial covering the four most common JWT flaws—alg confusion, weak HMAC secrets, expired claims, and missing validation—using jwt-cli and Caido, with verifiable commands and hardened configs.

Continue ReadingTesting JWT Security with jwt-cli and Caido: Alg Confusion, Weak Secrets, and Expired Claims

Abusing GraphQL Introspection and Batching: A Hands-On API Attack Lab with Defenses

Build a safe GraphQL attack lab: chain introspection, query depth abuse, and field-level auth bypass, then defend with persisted queries and cost limits. Step-by-step tutorial for security learners and blue teams.

Continue ReadingAbusing GraphQL Introspection and Batching: A Hands-On API Attack Lab with Defenses

SSRF Lab: Exploit and Block Server-Side Request Forgery with Real Targets and Defenses

Hands-on SSRF lab: exploit a vulnerable URL-fetch parameter, pivot to cloud metadata endpoints, then enforce allowlist defenses. Verified commands and configs for blue teams and CTF players.

Continue ReadingSSRF Lab: Exploit and Block Server-Side Request Forgery with Real Targets and Defenses

SMTP Smuggling: Spoofing Email With Authenticated Mail

December 2023 brought one of email’s most elegant attacks: SMTP smuggling, a parser-level desync that tricks receiving servers into writing attacker-authored messages that pass SPF and DMARC because the victim’s own infrastructure vouches for them. This deep dive covers the technique mechanics (end-of-data ambiguity, the second hidden MAIL FROM conversation), the December 19 disclosure and DHL demonstration, the two anchoring CVEs, which product families patched, and the durable lessons for mail admins running anything that speaks SMTP.

Continue ReadingSMTP Smuggling: Spoofing Email With Authenticated Mail