Free module
Advanced web attacks and fixes
Learn advanced web attacks and their fixes hands on: CSRF, SSRF, path traversal and uploads, XXE, insecure deserialisation and template injection.
The lessons
Each lesson is free and interactive. Press Start lab to run its commands in a live lab and to sit its quizzes and tasks, with no account needed.
1 · Container lab
Cross-site request forgery (CSRF) and its fixes
I can protect a state-changing request from cross-site request forgery.
Read the lesson2 · Container lab
Server-side request forgery (SSRF) and its fixes
I can stop a server from fetching addresses an attacker chooses.
Read the lesson3 · Container lab
Path traversal and unsafe file uploads
I can keep a file name and an upload inside the folder a site meant.
Read the lesson4 · Container lab
XML external entities (XXE) and safe parsing
I can configure an XML parser so a document cannot read files or addresses.
Read the lesson5 · Container lab
Insecure deserialisation and safe data formats
I can replace an unsafe deserialiser with a signed, data-only format.
Read the lesson6 · Container lab
Server-side template injection (SSTI) and its fixes
I can render a template so that what a visitor types stays text.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.