xss site hacking in non-presistent fashion

Discuss the many weaknesses of browser security and ways to mitigate the threat

xss site hacking in non-presistent fashion

Post by mediafan on Sun Jan 16, 2011 7:14 am
([msg=52242]see xss site hacking in non-presistent fashion[/msg])

i have a website which i know is xss vulnerable. To me it looks like it is non-persistent type vulnerable because the injection happens at url level and not at any forms/button/link action level. Further more this vulnerability exists at the main login page right at the page where user/passwd text box are located.

Now i want to steal victim browser credentials / cookies. But there is a twist in my scenario as since the attack happens before login how em suppose to get the session cookie? and secondly is there a code available which would let me write / inject my own form box (with my own input/username/password input box) for data-entry.

From there when the user enter his credentials and click login ; these credentials would be sent on my server-file do i have write some kind of parser for url filtering and then later save it to the file on my server?

in order to keep the noise level low; em thinking when the user hits the fake login button he would be shown a pop-up box which says something (Server error please refresh the page) on this the whole attack history would be gone and he would be presented with the original page. For victim it would be something like a server glitch .....

Em i on the right path....please guide me guys..and let me know if such a code exists (In my scenario above)...
New User
New User
Posts: 2
Joined: Sun Jan 16, 2011 6:49 am
Blog: View Blog (0)

Re: xss site hacking in non-presistent fashion

Post by sanddbox on Sun Jan 16, 2011 3:08 pm
([msg=52249]see Re: xss site hacking in non-presistent fashion[/msg])

You've made it clear that your intentions are obviously illegal, so I'm locking the thread.

The one thing I will say is that obviously some form of phishing would be used.

HTS User Composition:
95% Male
4.98% Female
.01% Monica
.01% Goat
User avatar
Posts: 2344
Joined: Sat Jul 04, 2009 5:20 pm
Blog: View Blog (0)

Return to Web

Who is online

Users browsing this forum: No registered users and 0 guests