BartmanSecureBank
TRAINING SYSTEM: deliberately vulnerable. Fictional bank, fictional customers.

Submit a flag

Rules

  • Only attack this lab: the bank on this port and the storage service on port 9000.
  • Don't attack other teams' laptops or the network. Don't delete data other teams need.
  • Write down how you found each flag: you will explain one to the class.

Scoreboard

#TeamSolvedPoints
No teams yet.

Challenges

ChallengeAreaLevelPointsHint
Read the sourceRecon Easy50
Show hintDevelopers leave notes for each other. Right-click the home page and look at what the browser received.
Don't look hereRecon Easy50
Show hintSearch engines are told which paths to skip. That list is public too.
Keys in the bundleSecrets Easy100
Show hintEverything the browser runs, you can read. Open DevTools > Sources (or the JS file directly).
Config left on the serverSecrets Easy100
Show hintMany frameworks keep settings in a hidden file in the project root. Try requesting it by name.
Staff portalSecrets Easy100
Show hintThere is a staff login somewhere. Vendors ship products with well-known first passwords.
KYC in the openCloud Easy100
Show hintThe bank's ops notes mention where KYC scans are stored. Storage runs on port 9000. Can you list it without logging in?
The UI masks it, the API doesn'tData handling Easy100
Show hintRegister and open your dashboard. Watch DevTools > Network: what does the profile API really send?
Helpful error pageData handling Easy100
Show hintAccount numbers are numbers. What happens if you ask the accounts API for one that isn't?
Log in without a passwordWeb Medium200
Show hintThe login builds its SQL by gluing your input into a string. A single quote changes the meaning of that string.
Someone else's accountWeb Medium200
Show hintYour account has an ID in the API URL. Customer IDs start at 1001. Does the server check that the ID is yours?
Beneficiary with a payloadWeb Medium200
Show hintBeneficiary nicknames are drawn into the page as HTML. What if a nickname contains HTML that runs?
Predictable reset linkWeb Medium200
Show hintAsk for a reset link for your own account and decode the token. Then make one for priya.
Make money from nothingBusiness logic Medium200
Show hintThe form says amounts must be positive. Does the server agree? Get your balance above Rs 10,00,000.
Promote yourselfWeb Hard300
Show hintYour API token is a JWT in localStorage. Decode it (jwt.io). The admin report wants role=admin. Two ways in: the algorithm, or the weak secret that leaked elsewhere.
Ask the server to fetch for youCloud Hard300
Show hintStatement import fetches any URL from the server side. Cloud servers have a metadata service at 169.254.169.254. Startup scripts live in user-data.
Use the role's keysCloud Hard300
Show hintThe metadata service also hands out the server's IAM role keys. With them, list the private backups bucket: aws --endpoint-url http://HOST:9000 s3 ls s3://vaayu-db-backups --recursive