News for hackers. Stuff that matters.
Re:Anatomy of a Subtle JSON Vulnerability by waynep on Wednesday November 26, 2008 @07:24PM (#378233)
JSON is not insecure, technically it's the browser here.
Re:Anatomy of a Subtle JSON Vulnerability by teej on Friday November 21, 2008 @12:36AM (#371546)
Subtle? It's called Cross-Site Scripting and it's pretty well known. Hell, the Wikipedia entry (http://en.wikipedia.org/wiki/Cross-site_scripting#Cookie_sec...) even has some tips on how to secure against this particular case.
Re:Anatomy of a Subtle JSON Vulnerability by chrisbroadfoot on Friday November 21, 2008 @01:22AM (#371591)
Actually, this is CSRF (and it's pretty smart - smarter than your average XSS attack).
Re:Anatomy of a Subtle JSON Vulnerability by blasdel on Friday November 21, 2008 @04:43AM (#371732)
script src-ing the JSON document is pretty clever.

It could be totally stopped by using a nonce in a header. You should already have implemented a nonce system for form submissions anyway.