Author: Gursev Singh Kalra ([email protected])
Bypassing Same Origin Policy with Flash and Insecure crossdomain.xml
Compiling and deploying the Proof of Concept ActionScript code
- Download and install Apache Flex SDK. It comes with an ActionScript compiler.
- Copy the ActionScript code to your local directory and name it XDomainXploit.as.
- Change the values of readFrom and sendTo parameters to appropriate values as per your needs.
- Compile the code with the mxmlc compiler to a Flash file by running the following command. The mxmlc compiler is shipped with Apache Flex.
mxmlc XDomainXploit.as
- Deploy the generated Swf and the provided HTML(xdm.html) files to enjoy the Flash goodness.