4 ms·
I'd never seen a good XSS hack up close but our beta got hit pretty hard by a viral XSS. It automatically added everyone as a friend and then non-destructively
by tonystubblebine 19y ago
I'd never seen a good XSS hack up close but our beta got hit pretty hard by a viral XSS. It automatically added everyone as a friend and then non-destructively inserted itself into your profile. What scared me most was that the javascript was so readable and looked like something I could write. I saved it:
http://www.stubbleblog.com/foocamp_xss_hack.js.txt http://www.stubbleblog.com/foocamp_xss_hack.js.txt
If you're programming in rails I'd recommend sanitize_params:
http://code.google.com/p/sanitizeparams/ http://code.google.com/p/sanitizeparams/