Week 9 · ctf

Midterm — Hands-on CTF Practical (Week 9)

← all weeks · readme · slides

Midterm — Hands-on CTF Practical (Week 9)

Course: Software Security (KOSEN69) · Covers: Weeks 1–6 Time: 150 min · Total: 100 pts · Individual · Sandbox targets only (ethics policy applies).

Name: ____________________ Student ID: ____________

Each challenge yields a flag in the form FLAG{...} (or the proof noted). Submit, per challenge: the flag, the payload/command you used, and a one-line mitigation. Partial credit for documented progress without the flag.

Targets (started by the instructor):

  • Injection / Auth: labs/week04-injection and labs/week06-authn-authz apps (docker compose up)
  • XSS: labs/week05-xss-client-side app (or OWASP Juice Shop)
  • Crypto: labs/week03-cryptography (hashes.txt, the ECB oracle)

Challenges

#TitleTopicPts
1Boolean Bypass — log in as admin without the passwordSQLi (W4)15
2Shell Out — read a file via the host parameterCommand injection (W4)15
3Pop the Alert — fire alert(document.domain) stored for another userStored XSS (W5)15
4Not Your Order — read another user's order objectIDOR (W6)15
5Forge Ahead — become admin with a forged JWTBroken JWT (W6)15
6Crack It — recover a password from a weak hashCrypto (W3)15
7Penguin — recover the plaintext structure from the ECB oracleCrypto (W3)10

Submission table (fill in):

#Flag / proofPayload or commandMitigation (1 line)
1
2
3
4
5
6
7

Rules: no collaboration; attack only the provided targets; document your steps. Pairs with the Week 8 written midterm.