ActionScript Proof of Concept to perform cross-domain reads
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with OpenSecurityResearch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.txt
XDomainXploit.as
xdx.html

README.txt

Author: Gursev Singh Kalra (gursev.kalra@foundstone.com)

Bypassing Same Origin Policy with Flash and Insecure crossdomain.xml

Compiling and deploying the Proof of Concept ActionScript code
1. Download and install Apache Flex SDK. It comes with an ActionScript compiler.
2. Copy the ActionScript code to your local directory and name it XDomainXploit.as.
3. Change the values of readFrom and sendTo parameters to appropriate values as per your needs.
4. 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
5. Deploy the generated Swf and the provided HTML(xdm.html) files to enjoy the Flash goodness.