Broken Access Control: IDOR and Cookie Tampering

When the server trusts a value the client can change to decide who you are or what you can see, you can often just change it. Here I cover two sides of broken access control: tampering with a client-side cookie to become an admin, and incrementing an ID in the URL to read someone else’s record, using two DD CTF challenges as worked examples.

November 12, 2026 · 4 min · 781 words · Akshit Kathuria

Bypassing CSRF Token Randomization Using an XSS Flaw

Anti-CSRF tokens stop a classic cross-site request forgery attack, but they assume the attacker can’t read the page. An XSS vulnerability breaks that assumption. Here I chain a stored XSS flaw on the SEED Labs Elgg platform to exfiltrate a victim’s session cookie and CSRF tokens, then replay any authenticated action as them.

November 12, 2026 · 5 min · 969 words · Akshit Kathuria

Enumerating a Server Through an Exposed Command Interface

When a web app hands you the ability to run shell commands, the challenge isn’t getting code execution, it’s knowing how to look around. Here I cover methodical filesystem enumeration from a command primitive, including seeing past a decoy flag to a hidden one, and why exposing command execution is total compromise.

November 12, 2026 · 3 min · 621 words · Akshit Kathuria

Exploiting XXE: Reading Local Files via XML External Entities

When an application parses XML you control and its parser resolves external entities, you can make the server read local files and hand them back to you. This is XXE. Here I explain why XML parsers are dangerous by default, walk through reading a file off the server with a classic XXE payload, and cover how to shut it down.

November 12, 2026 · 4 min · 842 words · Akshit Kathuria

From File Upload to Remote Code Execution

If a web server lets you upload a file and will later execute it, an upload form becomes a way to run your own code on the server. Here I walk through confirming PHP execution with a harmless test payload and then reading a protected file, plus why ‘store the upload in the webroot’ is the real mistake.

November 12, 2026 · 4 min · 737 words · Akshit Kathuria

Path Traversal and LFI: Reading Files the App Never Meant to Serve

When a web app takes a filename from the user and reads it off disk, a few ../ sequences can walk out of the intended directory and into anything the server can read. Here I cover path traversal end to end, including a filter-bypass trick for when the app tries to strip dangerous input, using two DD CTF challenges as worked examples.

November 12, 2026 · 5 min · 937 words · Akshit Kathuria

SQL Injection: Bypassing a Login with OR 1=1

A login form that builds its SQL query by pasting your input into a string can be talked into authenticating you as someone else. Here I walk through turning a SQL error into a login bypass with a classic OR ‘1’=‘1’ payload, why it works at the query level, and how parameterised queries end the whole bug class.

November 12, 2026 · 4 min · 760 words · Akshit Kathuria

Stealing an Admin Session with XSS and an Out-of-Band Listener

A feedback form that reflects your input and an admin who visits the links you submit is everything you need to steal the admin’s session cookie. Here I chain an XSS payload with an out-of-band listener so the victim’s browser sends their cookie to me, and explain the admin-bot pattern and the defences that break it.

November 12, 2026 · 4 min · 815 words · Akshit Kathuria

Web Recon: Finding Secrets in Source, robots.txt, and Client-Side Storage

Developers keep hiding data in places the browser can read: HTML comments, robots.txt, hidden fields, and local storage. None of it is secret. Here I reassemble a flag split across the page source, a robots.txt disallow entry, and an inspected value, and explain why client-side is never a hiding place.

November 12, 2026 · 4 min · 653 words · Akshit Kathuria