Rapid7 Vulnerability & Exploit Database

SonicWALL GMS 6 Arbitrary File Upload

Back to Search

SonicWALL GMS 6 Arbitrary File Upload



This module exploits a code execution flaw in SonicWALL GMS. It exploits two vulnerabilities in order to get its objective. An authentication bypass in the Web Administration interface allows to abuse the "appliance" application and upload an arbitrary payload embedded in a JSP. The module has been tested successfully on SonicWALL GMS 6.0.6017 over Windows 2003 SP2 and SonicWALL GMS 6.0.6022 Virtual Appliance (Linux). On the Virtual Appliance the linux meterpreter hasn't run successfully while testing, shell payload has been used.


  • Nikolas Sotiriu
  • Redsadic <julian.vilas@gmail.com>
  • juan vazquez <juan.vazquez@metasploit.com>




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 exploit/multi/http/sonicwall_gms_upload
msf exploit(sonicwall_gms_upload) > show targets
msf exploit(sonicwall_gms_upload) > set TARGET < target-id >
msf exploit(sonicwall_gms_upload) > show options
    ...show and set options...
msf exploit(sonicwall_gms_upload) > exploit

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