Rapid7 Vulnerability & Exploit Database

Flash "Rosetta" JSONP GET/POST Response Disclosure

Back to Search

Flash "Rosetta" JSONP GET/POST Response Disclosure

Disclosed
07/08/2014
Created
05/30/2018

Description

A website that serves a JSONP endpoint that accepts a custom alphanumeric callback of 1200 chars can be abused to serve an encoded swf payload that steals the contents of a same-domain URL. Flash < 14.0.0.145 is required. This module spins up a web server that, upon navigation from a user, attempts to abuse the specified JSONP endpoint URLs by stealing the response from GET requests to STEAL_URLS.

Author(s)

  • Michele Spagnuolo
  • joev <joev@metasploit.com>

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/gather/flash_rosetta_jsonp_url_disclosure
msf auxiliary(flash_rosetta_jsonp_url_disclosure) > show actions
    ...actions...
msf auxiliary(flash_rosetta_jsonp_url_disclosure) > set ACTION < action-name >
msf auxiliary(flash_rosetta_jsonp_url_disclosure) > show options
    ...show and set options...
msf auxiliary(flash_rosetta_jsonp_url_disclosure) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;