rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
33.97k stars 13.94k forks source link

Add in Exploit for CVE-2023-1671 - Pre-Auth RCE in Sophos Web Appliance < 4.3.10.4 #17962

Open gwillcox-r7 opened 1 year ago

gwillcox-r7 commented 1 year ago

Summary

Preauth RCE in Sophos Web Appliance prior to 4.3.10.4 allows attackers to easily gain control over vulnerable devices.

Basic example

POC: https://github.com/W01fh4cker/CVE-2023-1671-POC or https://github.com/ohnonoyesyes/CVE-2023-1671. Writeup: https://vulncheck.com/blog/cve-2023-1671-analysis

Motivation

Preauth RCE in a decently popular product. Caveats are as listed below:

h00die commented 1 year ago

https://www.exploit-db.com/exploits/51396

errorxyz commented 10 months ago

Hi I would like to work on this issue, but I couldn't get to run the vulnerable software linked here, it'd be helpful if @wvu could provide the vulnerable software link

wvu commented 10 months ago

Pretty sure that's where I got it from.

errorxyz commented 10 months ago

How did you set it up? I downloaded all the swa proxy files into a directory and used VMware workstation player(website says we can use workstation for testing purposes instead of esx) to open the .ovf file but it raised a duplicate interfaceID error while loading it up. Searching for the error online didnt seem to help much.