Is it possible to get a flash src after a redirect or an element inside an embed/object/iframe tag (cross-domain)?

The URL example.com/auth will automatically redirect the user (HTTP 302) to example.com/signed_in.SWF?token=SENSITIVE.

Is it possible for an attacker to steal the token, using javascript or flash, in the following example? How?

<!DOCT… Continue reading Is it possible to get a flash src after a redirect or an element inside an embed/object/iframe tag (cross-domain)?

How is the same origin policy causing my PoC to fail when I don’t need to read return data?

I’m performing an authorized vulnerability analysis on a custom web service and have discovered a CSRF vulnerability.

Due to there not being form tokens coupled with the service not checking for the origin header I believed I could forge … Continue reading How is the same origin policy causing my PoC to fail when I don’t need to read return data?

How are Ajax requests vulnerable to CSRF attacks if the Same-origin policy is applied?

What I know about CSRF is that a malicious website tricks a normal user into issuing a request to a trusted website using a form.

I understand that is possible because we can post forms to different domains. However, I see posts of Stacko… Continue reading How are Ajax requests vulnerable to CSRF attacks if the Same-origin policy is applied?

In which ways could a javascript making a cross domain HEAD request be a threat?

I was just reading this answer to the question Why is the same origin policy so important?

Basically, when you try to make an XMLHttpRequest to a different
domain, the browser will do one of two things:

If it’s a GET or POST request whic… Continue reading In which ways could a javascript making a cross domain HEAD request be a threat?