Title has Rediff, what else is it going to be ? Yet another bug in their app. This time, the app is in their Chat Application. Background of the application is … they invite some celebrity or counsellor or some expert in some field and enable them chat with the usual rediff junta.
Now, the app, doesn’t allow any two users to login with same username (even if you juggle with uppercase and lowercase). Well, Wow rediff. +1 for you.
Uhmm okay. Let me login as SRK for now. Now, this is the app.
Now, the bug … You can see that, there are already few guys chatting there and I can type my question in a box on the bottom right corner. If you clearly see, thats a frame. Now, let me open that frame in a new tab.
Now, see the URL, my username is in the query. Of course, doing that is so reddity. Now, let me change that to some other name, uhmmm say Aftab.
Note from the first image that there is already another user named logged in with id “AFTAB”. Now, Of course, you can post any message with his ID and make him wonder when did he do that.
Thats my message on top telling those guys that I’m not Aftab and the chat is NOT now, but tomorrow. Thats the story. Login and post as any user in one and only Rediff Live Chat. I didn’t want to check the possibilities of XSS there as there are few other people logged in and I don’t want to annoy them with my tests. Any way, rediff, I don’t expect you to fix the bug as … You didn’t really fix one of the bugs I reported TWO long years before. Come on, you must be kidding me. That’s your damn shopping portal.
There is a rule #0 for every web developer. Never trust the end user, always sanitize the content and that’s some thing I don’t know why rediff developers never do.