About two weeks ago I was uploading something to skitch.com and saw an inline button. So being a security person myself, I decided to try some XSS on their fields. 1, 2, 3, 4 tries done, I was able to load some of my javascript from a remote host and the nice thing is that this was a public URL. So for fun I sent the URL to a few friends. What that script was really doing was taking their cookies, writing to a file on my server and sending them back to the main page of skitch. So basically what people told me was that the link didn’t work, they were sent to the main page. In the meantime I was finishing my PoC by editing my cookie with their cookies. After about 10 minutes I had changed their first name and last name.
Ok this is a trivial remote code injection / theft and sensitive data access/loss attack, but what I wanted to say in this post is the speed of answer and resolution from the skitch team. After putting a nice little security audit/report and sending it to them, I got an answer from them about an hour later saying thanks for all this and they had fixed the problem. They even thanked me for telling them and said, I quote:
As a security precaution, we have also changed our “masterkey”
that is the basis of all session-id-generation and keys for
automated logins, as well as invalidated all existing sessions
to make sure no user already compromised by such an exploit
are compromised for future logins.As we’re constantly fighting against XSS-attacks, being a site
driven by user content, humble humans still fail at times, and
we would love and welcome any future bugreports you might be
able to come up with revealing similiar problems in our code!
Fairplay to Skitch.com and it’s team. This is very responsive, open minded and nice at the same time. Well done
You can leave a response, or trackback from your own site.
Thank you very much. You are right, we need many more companies to start answering like this. This is also something we started trying to get going in the PHP Security Consortium a few years ago.
We like to blog about things we're passionate about. We love PHP, MySQL, CouchDB, Linux, Apache - web development standards. We also like writing about building web apps and working with web technology.
You can email us on freedom@echolibre.com
Eamon Leonard - @EamonLeonard
David Coallier - @DavidCoallier
Helgi Þormar Þorbjörnsson - @h
J.D Fitz.Gerald - @jdfitzgerald
Noah Slater - @nslater
Court Ewing - @courtewing
(2)
(5)
(2)
(4)
(3)
(5)
(2)
(1)
(35)
(1)
(3)
(1)
(1)
(28)
(12)
(1)
(2)
(2)
(3)
(1)
(1)
(3)
(1)
(1)
(15)
(1)
(5)
(6)
(6)
(1)
(21)
(3)
(1)
(2)
(2)
(1)
(5)
(3)
(1)
(2)
(3)
(1)
(3)
(4)
Well spotted Dave, we need more of this kind of response to security reports so that curious developers can feel free to help out and not be labeled hackers.