A tool for manipulating SWF files, leveraging zlib to craft alphanumeric-only valid SWF files in order to allow CSRF with SOP bypass thanks to JSONP abuse.
Go ActionScript Python
Failed to load latest commit information.
PoC Initial commit. Jul 8, 2014
adler32_fuzzer go fmt Dec 30, 2014
adler32_mod go fmt Dec 30, 2014
charset go fmt Dec 30, 2014
flashFile go fmt Dec 30, 2014
huffman Fix divide by zero Feb 6, 2015
utils go fmt Dec 30, 2014
zlibStream go fmt Dec 30, 2014
.gitignore Initial commit. Jul 8, 2014
CREDITS Added license headers. Nov 2, 2014
LICENSE Added Apache 2 License Nov 2, 2014
README.md Update README.md to use the new poc.miki.it domain. Aug 29, 2016
rosettaflash.go go fmt Dec 30, 2014


Rosetta Flash (CVE-2014-4671)

Adobe Flash Player before and 14.x before on Windows and OS X and before on Linux, Adobe AIR before on Android, Adobe AIR SDK before, and Adobe AIR SDK & Compiler before do not properly restrict the SWF file format, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks against JSONP endpoints, and obtain sensitive information, via a crafted OBJECT element with SWF content satisfying the character-set requirements of a callback API.

Slides: https://poc.miki.it/RosettaFlash/RosettaFlash.pdf

Writeup: https://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/

Contact me: https://miki.it/contact

Build instructions

To get the code:

$ go get github.com/mikispag/rosettaflash

Then, get into $GOPATH/github.com/mikispag/rosettaflash and use the go build command to compile.