JSONP attack explained

preview_player
Показать описание
Hacking-Lab exercise

LiveCD
Рекомендации по теме
Комментарии
Автор

Very interesting video. Thanks for sharing.

Got a question, though. Why is it possible to retrieve the JavaScript contents from the JSONP endpoint, even though CORS ACAO header is present and properly configured? Shouldn't this dynamic JS loading be blocked by SOP, or are there any exceptions to specific Content-Types that are allowed through SOP?

machne
Автор

Thank you for covering this topic. So even if we load the script using <script src=""> and server has ACAO header whitelisted with a domain, wouldn't that block the request? i understand JSONP endpoint would respond with a function but does that still gets processed even though ACAO header is there? Is it only true for a file which responds with i guess.

testaccount
Автор

We need to host the request catcher too right ??

marvelmaniac_