Skip to main content0xAdham

Command Palette

Search for a command to run...

WebVerse Labs — Redirect Run

Written by
Avatar of 0xAdham
0xAdham
Published on
--
WebVerse Labs — Redirect Run

Platform: WebVerse Labs Challenge: Redirect Run Category: Web Difficulty: Easy


The Quikpay landing page has a live demo shortlink sitting right on it:

Quikpay landing page with shortlink


Step 2 — Follow It In Burp

Visit the shortlink with Burp intercepting. The browser sees a "thanks for your purchase" page and moves on. Burp catches the 302 response before the redirect fires — and the body isn't empty.

Burp intercepting the 302 redirect


Step 3 — Read the Debug Comment

Buried in the 302 response body:

Flag visible in 302 response body

internal_ref is the flag. The TODO never got done.


Why It Works

3xx redirect responses have a body — browsers just don't render it. The dev team left a debug comment in the intermediate response assuming nobody would ever read it. Burp reads everything.


The Fix

  • Never embed sensitive data in redirect response bodies
  • Strip all debug comments before shipping to production
  • QA sign-off shouldn't be gated on leaving secrets in HTTP responses

The browser skipped right past it. Burp didn't.

0xAdham

Edit on GitHub
Last updated: --