hackXpert labs
All labs › Clickjacking

🖱 Clickjacking

Frame the target, borrow the victim's clicks. One page here is protected and one is not - diff the headers.

2 labs and targetsfree accountlesson included
How misconfiguration actually works — taught by The XSS Rat

What it is

Nothing here is a coding mistake. A wildcard CORS origin, a CSP with unsafe-inline, a Host header the app trusts, an open redirect - each is a setting that someone chose, and each one is a lever for a bigger bug rather than a finding on its own.

How I attack it

  1. Read the response headers before you touch anything. The misconfiguration is usually sitting in plain sight.
  2. For CORS, test with a weird origin and watch whether it is reflected along with credentials.
  3. For an open redirect, ask what trusts that domain: OAuth flows, password reset links, SSO callbacks.
  4. Chain it. An open redirect plus an OAuth flow is account takeover; a weak CSP plus a sink is XSS.

Learn it from The XSS Rat

Free reference reading

The set 2

Unsafe page

No framing protection. Build the overlay and prove the click lands.

Safe page

The same page done right. Compare the response headers.

Nothing matches thatClear the filter to see everything again.