Exploit database

Vulnerability

CVE-2019-7214

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

SmarterTools SmarterMail 16.x before build 6985 allows deserialization of untrusted data. An unauthenticated attacker could run commands on the server when port 17001 was remotely accessible. This port is not accessible remotely by default after applying the Build 6985 patch.

CVE Program

Exploit source choices

5 sources
SmarterTools SmarterMail less than build 6985 - .NET Deserialization Remote Code Execution
MSF-windows--http--smartermail_rceMetasploitWindows / remote

This module exploits a vulnerability in the SmarterTools SmarterMail software for version numbers <= 16.x or for build numbers < 6985. The vulnerable versions and builds expose three .NET remoting endpoints on port 17001, namely /Servers, /Mail and /Spool. For example, a typical installation of SmarterMail Build 6970 will have the /Servers endpoint exposed to the public at tcp://0.0.0.0:17001/Servers, where serialized .NET commands can be sent through a TCP socket connection. The three endpoints perform deserialization of untrusted data (CVE-2019-7214), allowing an attacker to send arbitrary commands to be deserialized and executed. This module exploits this vulnerability to perform .NET deserialization attacks, allowing remote code execution for any unauthenticated user under the context of the SYSTEM account. Successful exploitation results in full administrative control of the target server under the NT AUTHORITY\SYSTEM account. This vulnerability was patched in Build 6985, where the 17001 port is no longer publicly accessible, although it can be accessible locally at 127.0.0.1:17001. Hence, this would still allow for a privilege escalation vector if the server is compromised as a low-privileged user.

2019-04-17smartermail_rce.rb
drew-alleman/cve-2019-7214
GH-93fcc4287ee66c9ccc688be07aff5bb9GitHubUnofficial GitHub source

Python3 Rewrite of SmarterMail < Build 6985 Remote Code Execution found by 1F98D (CVE-2019-7214) POC

2025-03-072 files · 4 stars
devzspy/cve-2019-7214
GH-2cadfc267e72be5891b1ed8f797971a8GitHubUnofficial GitHub source

Collection of PoCs created for SmarterMail < Build 6985 RCE

2020-12-202 files · 2 stars
andyfeili/-cve-2019-7214
GH-876874681d39cccf1f3cf9b1d0f66ed5GitHubUnofficial GitHub source

andyfeili/-cve-2019-7214 source repository

2021-03-011 file · 1 stars