Re:Abusing JSONP with Rosetta Flash
by eli on Tuesday July 08, 2014 @11:47AM
(#8005081)
The linked article demonstrates even just allowing attacker-controlled function name can allow an XSS hole!
[ Parent
| on HN ]
That's due to an extremely complex (albeit easy to exploit) SWF reflection attack.
JSONP itself, though yucky, should still be safe from XSS given a /-star-star-/ prefix and a validated callback parameter.
Re:Abusing JSONP with Rosetta Flash
by spacemanmatt on Tuesday July 08, 2014 @12:45PM
(#8005402)
> given a /-star-star-/ prefix and a validated callback parameter.
I think that is the "waiting to happen" part of my initial comment.