Re:Executing non-alphanumeric JavaScript without parentheses
by posterboy on Friday July 15, 2016 @12:06PM
(#12101951)
what's the use case? Circumventing code insertion filters?
[ Parent
| on HN ]
Re:Executing non-alphanumeric JavaScript without parentheses
by jerf on Friday July 15, 2016 @12:39PM
(#12102202)
Yes, and dually, demonstrating to people that their code insertion filters are inadequate. You may know better, but there's still a lot of people in the real world who try to "sanitize" Javascript with thing like "Remove all ()[]'";" and think they're security masters whose code is unassailable.
That last bit isn't snark; it's my personal experience.
As mentioned in the article, there are filters in the real world that will be penetrated by this.
Re:Executing non-alphanumeric JavaScript without parentheses
by albinowax_ on Friday July 15, 2016 @12:33PM
(#12102160)
Pretty much - the first paragraph links to an example of this technique being used to exploit Uber's developer documentation - http://blog.portswigger.net/2016/04/adapting-angularjs-paylo...