Temporary Advertisements:
Ad
Ad
Ad
Need help solving Redis Command Line Injection
by finesse - Monday March 16, 2026 at 06:25 AM
#1
All the files are given here. For the love of god, I cant figure out how to do it..

If u face any errors downloading the files, please let me know

[URL unfurl="true"]https://mega.nz/folder/Du4GlbgA#40y2CwCAWwsi3ZJhRJ1plg[/URL]
Reply
#2
The challenge: Web app lets you upload files and have a headless Chrome bot visit them. The flag is encrypted with a random key, and the key is set as a cookie on the bot. There’s a /flag?secret=<guess> endpoint that returns the flag if you guess the secret correctly (uses Redis GETDEL so it’s consumed on use).

The CSP:

<span>default</span>-src <span>'self'</span> <span>'unsafe-inline'</span><br>script-src <span>'none'</span><br>

Also X-Content-Type-Options: nosniff and Chrome policy blocks all external URLs — only https://web is allowed.

What I’ve tried so far:
  1. multipart/x-mixed-replace — uploaded a file with that content-type, part 1 innocent HTML, part 2 with &lt;script&gt; stealing the flag. Hoping Chrome doesn’t re-apply CSP to pushed parts. No luck.
  2. &lt;object data="data:text/html;base64,...&gt; — embedded JS payload in a data URL inside object tag. CSP still blocks it.
  3. &lt;iframe srcdoc="&lt;script&gt;..."&gt; — tried srcdoc iframe. Also blocked.
  4. SVG + foreignObject + data iframe — nested layers hoping to break CSP inheritance. Nope.
  5. CSS oracle — this actually works! Using body[secret^="XX"] { background-image: url(/flag?secret=consume) } I can get 1 bit per bot visit. But the secret changes every visit so I can’t binary search across visits.
What I’m stuck on:
  • Need to either get JS to execute despite script-src 'none' OR extract the full 32-char hex secret in a single bot visit using only CSS
  • CSS can make GET requests via background-image but can’t concatenate attribute values into URLs
  • /flag uses GETDEL so only ONE call can return the flag
Reply
#3
thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HOTMAIL COMBO LEECHER V2 GUI wockstock111 4 862 Sep 28, 2026, 07:12 PM
Last Post: maculele
  Tool For Generator (Credit Cards) By Me LeakMannn 22 3,386 Sep 28, 2026, 01:24 AM
Last Post: apachino00044
  Making $100K+ daily - Crypto Drainers Bleuxy 242 25,120 Sep 23, 2026, 03:36 AM
Last Post: dustywokeupp
  SpecterInsight 6.0.0⚡Free Cross-Platform .NET C2 | Evasion Pipeline | ELK Analytics✅ FrostVector0 3 2,970 Aug 10, 2026, 04:20 AM
Last Post: FrostVector0
  Invicti Professional v26.5.0 Cracked FrostVector0 11 4,711 Aug 10, 2026, 04:19 AM
Last Post: FrostVector0

Forum Jump:


 Users browsing this forum: 1 Guest(s)