Medium OSCP Web Hacking XSS cookies Session Hijacking

XSS Session Hijacking

Vulnerability: Stored XSS in the support-ticket body (rendered server-side without output encoding) opened by a privileged staff reviewer whose session cookie is not HttpOnly, with a bonus reflected XSS in the catalog search box. Objective: Inject a stored XSS payload into a support ticket, host your own malicious JavaScript, steal the reviewing staff member's session cookie when their bot opens the ticket, reuse the cookie to reach the Support Staff console, and read the flag. Student portal: t.okafor / Quillbyte-Student-2026

getting_started.sh

# 1. Extract the archive you just downloaded — on your own box, not a server.

you@host:~$ unzip xss-session-hijacking.zip && cd xss-session-hijacking

# 2. Boot the vulnerable machine. It prints the IP it was assigned.

you@host:~$ sudo bash deploy.sh xss-session-hijacking.tar

# 3. Point your tools at that IP. Ctrl+C here tears it back down when you're done.

Rating —
Downloads 1
Published Nov 20, 2026
Log in to download

Don't have an account? Sign up free

Learn more

Read the theory behind this lab before diving in.

Submit flags

Log in to submit flags and track your progress.

Comments (0)

Log in to join the discussion.

No comments yet. Be the first to ask something.