This module exploits an authenticated command injection vulnerability in the SonicWall SMA 100 series web interface. Exploitation results in command execution as root. The affected versions are: - 10.2.1.2-24sv and below - 10.2.0.8-37sv and below - 9.0.0.11-31sv and below
Linux
x86
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/sonicwall_cve_2021_20039
msf exploit(sonicwall_cve_2021_20039) > show targets
...targets...
msf exploit(sonicwall_cve_2021_20039) > set TARGET < target-id >
msf exploit(sonicwall_cve_2021_20039) > show options
...show and set options...
msf exploit(sonicwall_cve_2021_20039) > 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