Hack Forums
Found XSS Vulnerable Site - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43)
+---- Thread: Found XSS Vulnerable Site (/showthread.php?tid=5573903)



Found XSS Vulnerable Site - The2G - Mar 13, 2017

Hi mates,

I recently found a XSS Vulnerable website, that allows me to execute JS code... Since I know JS is executed client-side and is no way to modify the server-side.

My first idea (what I just tried) was to upload an php payload to get remote shell. I created that payload with MSF. But can't execute it because can't upload it to the server. Any idea of what can I do, or if it is possible to upload that payload vía JS?


Thanks!


* - Hoodie+ - Mar 13, 2017

It's client side.

Try stealing cookies,, that's mostly it.


* - The2G - Mar 13, 2017

(Mar 13, 2017 07:35 AM)Hoodie+ Wrote:  It's client side.

Try stealing cookies,, that's mostly it.

Thanks! Would try it.


* - redlightrouter - Mar 13, 2017

Like you said Javascript is client-side. What you're wanting to accomplish is server-side.


* - The2G - Mar 14, 2017

(Mar 13, 2017 03:10 PM)redlightrouter Wrote:  Like you said Javascript is client-side. What you're wanting to accomplish is server-side.

So I guess first I need to somehow get access or upload my shell to the server... I think that need to read/learn a bit more 👍