thinQtankLABS

Web App CSRF: Find, Confirm & Fix (Basic)

Hands-on with Cross-Site Request Forgery (CSRF) (CWE-352) in Acme Bank's change-password / money-transfer actions. Safely reproduce it with an inert training tool (no working exploit), classify it, score it with CVSS, then apply the correct fix and verify.

Beginner 20 guided steps 5 tasks About 55 minutes Runs in your browser

Skills you will practice

  • Secure web application concepts; Cross-Site Request Forgery (CSRF) identification and prioritization; Web application testing; Synchronizer tokens and SameSite cookies

Certifications this lab maps to

This lab builds hands-on skills that appear on these certification exams. thinQtank Learning runs instructor-led training camps for each — click one to see upcoming classes.

The scenario

A penetration test flagged Acme Bank's change-password / money-transfer actions as Cross-Site Request Forgery (CSRF) (CWE-352). You are the app-security engineer. Start by understanding it.

What you will do

  1. Understand the feature and the finding4 steps

    Open the engagement · Read the finding · Which weakness class? · Read the feature config

  2. Reproduce it safely5 steps

    A safe read request · Forge a state-changing request · Capture the forged action · Review the evidence · …

  3. Assess the severity4 steps

    Find the CVSS vector · Compute the base score · What is the base score? · Why this severity?

  4. Fix it4 steps

    Which fix is right? · Baseline scan · Apply the fix · Confirm the config

  5. Verify3 steps

    Verify with a scan · If it was already exploited? · Document the work

How this lab works

A real Linux-style console. Commands run against real files, so hashes, hex dumps and comparisons give real results.

A file browser where you can place evidence into the lab, either the file provided or one of your own.

Reset a single step, a whole task or the entire lab. The environment is rebuilt so you can try again cleanly.

Progress saves after every step. Close the tab and come back later; your files and answers are waiting.