Skip to main content
Mallory
CriticalCISA KEVExploited in the wildPublic exploit

Unauthenticated arbitrary file upload RCE in SmarterTools SmarterMail

IdentifiersCVE-2025-52691CWE-434· Unrestricted Upload of File with…

CVE-2025-52691 is a critical unrestricted file upload vulnerability in SmarterTools SmarterMail. The issue affects SmarterMail Build 9406 and earlier and allows an unauthenticated remote attacker to submit a crafted HTTP/HTTPS upload request that writes arbitrary files to attacker-chosen locations on the mail server filesystem. The available reporting indicates the root cause is improper validation of uploaded files, destination paths, and content, enabling dangerous file types to be placed anywhere on the server. Because files can be written to executable or web-accessible locations, exploitation can lead directly to remote code execution with the privileges of the SmarterMail service. Public reporting also notes observed abuse to deploy low-sophistication web shells and suspected malware loaders.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows full arbitrary file write on the SmarterMail server by an unauthenticated attacker. This can be used to place web shells, scripts, binaries, or malicious libraries and achieve immediate remote code execution in the security context of the SmarterMail service. Downstream impact can include compromise of stored email, contacts, calendars, shared documents, credential and token theft, persistence, lateral movement into connected backend systems, and potential ransomware deployment. The vulnerability has been reported as actively exploited in the wild and was added to CISA KEV.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict network exposure to the SmarterMail instance, limit access to trusted management networks or VPNs, and deploy compensating controls such as WAF rules to detect/block suspicious upload requests. Disable or constrain vulnerable upload functionality if operationally feasible. Conduct threat hunting for web shells, unauthorized file writes, and persistence artifacts, and isolate affected servers if exploitation is suspected. Because exploitation is unauthenticated and trivial per reporting, mitigation should be treated only as temporary until upgrade is completed.

Remediation

Patch, then assume compromise.

Upgrade SmarterMail to a fixed release. The provided content states the vulnerability is fixed in SmarterMail Build 9413, with later builds also recommended; Build 9483 is specifically mentioned as a preferred updated version in late-2025 reporting. Organizations should prioritize patching any instance running Build 9406 or earlier. After patching, review the server for indicators of compromise, including unexpected files in web roots, service directories, startup locations, or other writable paths, and rotate credentials/tokens if compromise is suspected or confirmed.
PUBLIC EXPLOITS

Exploits

7 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (7 hidden).

VALID 7 / 14 TOTALView more in app
CVE-2025-52691-pocMaturityPoCVerified exploit

Repository is a Python proof-of-concept exploit set for CVE-2025-52691 affecting SmarterMail, described as an unauthenticated arbitrary file upload via path traversal leading to RCE. It contains 4 files: (1) README.md documenting usage and vulnerable endpoints; (2) check.py, a scanner that probes a fixed list of upload endpoints by POSTing multipart data and flags endpoints as potentially vulnerable based on HTTP status codes and response content; (3) exploit.py, a reusable exploitation library plus a multi-host runner that reads targets from hosts.txt by default, attempts three upload techniques (multipart form fields with path/folder/directory set to ../wwwroot/, raw POST with X-Filename/X-Path headers, and JSON with base64 content and path ../wwwroot/), then verifies the webshell by requesting common locations and executing whoami; and (4) pwn.py, a CLI exploit tool that similarly uploads an ASPX webshell and supports single-command execution (-c) or an interactive shell (-i). The payload is an ASPX (C#) webshell that runs cmd.exe /c <cmd> and returns stdout in <pre> tags. Primary network targets are SmarterMail upload endpoints: /api/upload, /api/v1/upload, /Interface/Frmx/UploadFile.aspx, /MRS/Upload.ashx, and /Services/Upload.ashx; the exploit attempts to write into ../wwwroot/ and then access the uploaded shell at /<shell>.aspx and a few alternate paths.

rimbadirgantaraDisclosed Jan 11, 2026pythonaspx (embedded C# in strings)network (unauthenticated arbitrary file upload via path traversal leading to RCE)
CVE-2025-52691-PoC-SmarterMail-authentication-bypass-exploit-WT-2026-0001MaturityPoCVerified exploit

Repository purpose: an end-to-end exploit toolchain targeting SmarterTools SmarterMail by chaining an authentication bypass (WT-2026-0001) with an RCE primitive associated with CVE-2025-52691/Volume Mounts functionality to obtain a SYSTEM-level reverse shell. Core capabilities (exploit chain): - Phase 1 (Auth bypass): Sends a POST to /api/v1/auth/force-reset-password with IsSysAdmin=true and a dummy OldPassword to reset the admin password without prior authentication. - Phase 2 (Admin login): Logs in via /api/v1/auth/login using the newly set credentials to obtain an authenticated session/token (implementation details are partially truncated in provided content, but README/config indicate this flow). - Phase 3 (RCE): Uses the authenticated context to create a command-type Volume Mount via POST /api/v1/settings/volume-mounts, embedding a Windows cmd.exe/PowerShell reverse shell one-liner that connects back to the attacker. Payload: A PowerShell TCP reverse shell template (cmd.exe /c powershell -nop -c ...) parameterized by attacker IP/port, intended to provide interactive command execution on the target. Repository structure: - exploit.py: Main Python exploit (requests-based). Handles target URL construction, disables TLS verification, performs the multi-phase attack, and supports CLI args for target host/port, attacker IP/port, admin username, and new password. Includes virtualenv python discovery. - run_exploit.sh: Operator-friendly runner that validates dependencies (python3, nc, curl), checks target reachability, starts a netcat listener, and launches exploit.py with provided/auto parameters; includes cleanup logic. - config/default_config.json and config/user_config.json: Store defaults for ports, credentials, user-agent, retry behavior, endpoint paths, reverse-shell template, and known SmarterMail installation paths for version/build targeting. - setup_venv.sh, activate_exploit.sh, deactivate_exploit.sh: Convenience scripts to create/activate/deactivate a Python virtual environment and install requirements. - requirements.txt: Python dependencies (requests, urllib3, colorama). Notable operational details: - Network-centric exploit; no local privilege escalation components. - TLS certificate verification is disabled (session.verify=False), easing exploitation of HTTPS deployments with self-signed certs. - Default assumptions: SmarterMail reachable on port 9998; reverse shell listener commonly on 4444. Sanity: This is not merely a detector; it is designed to change credentials and execute a reverse-shell payload. No obvious signs of being a fake exploit were observed in the provided files.

ninjazan420Disclosed Jan 23, 2026pythonbashnetwork
CVE-2025-52691MaturityPoCVerified exploit

This repository provides a working exploit for CVE-2025-52691, a critical unauthenticated arbitrary file upload vulnerability in SmarterMail (build 9406 and earlier). The exploit is implemented in Python (exploit.py) and automates the process of uploading an ASPX webshell to the server's webroot directory using several known unauthenticated upload endpoints. The script supports multiple upload techniques (multipart, raw, JSON) and attempts to place the shell in a location accessible via HTTP. Once uploaded, the shell allows the attacker to execute arbitrary system commands on the target server. The repository includes a README.md with technical details, usage instructions, and remediation advice, as well as a requirements.txt listing Python dependencies. The main attack vector is network-based, targeting exposed HTTP endpoints on vulnerable SmarterMail servers. The exploit is operational and provides a real, functional payload (ASPX webshell) for remote code execution.

hilwa24Disclosed Dec 31, 2025pythonnetwork
CVE-2025-52691-pocMaturityPoCVerified exploit

This repository provides a full proof-of-concept (POC) exploit for CVE-2025-52691, a critical unauthenticated arbitrary file upload vulnerability in SmarterMail. The vulnerability allows an attacker to upload an ASPX webshell to the web root of the target server via several exposed upload endpoints, leading to remote code execution (RCE) with no authentication required. The repository contains four files: - README.md: Detailed documentation, usage instructions, and technical background. - check.py: A scanner that checks if a target is vulnerable by probing known upload endpoints and attempting file uploads. - exploit.py: A reusable Python library and script that automates the exploitation process, uploads the webshell, and allows command execution. - pwn.py: A user-friendly exploit tool that uploads the webshell and provides both single-command and interactive shell access. The exploit targets the following endpoints: /api/upload, /api/v1/upload, /Interface/Frmx/UploadFile.aspx, /MRS/Upload.ashx, and /Services/Upload.ashx. The attack is performed over the network and does not require authentication. The payload is a minimal ASPX webshell that executes arbitrary system commands via the 'cmd' query parameter. The exploit scripts support multiple upload techniques (multipart form, raw POST, JSON with base64) to maximize the chance of success. Overall, the repository is well-structured, operational, and provides both detection and exploitation capabilities for CVE-2025-52691 against SmarterMail servers.

sajjadsiamDisclosed Dec 30, 2025pythonaspxnetwork
CVE-2025-52691-POCMaturityPoCVerified exploit

This repository provides a full proof-of-concept (POC) exploit for CVE-2025-52691, a critical unauthenticated arbitrary file upload vulnerability in SmarterMail. The vulnerability allows an attacker to upload an ASPX webshell to the web root of the target server via several exposed upload endpoints, leading to remote code execution (RCE) with no authentication required. The repository contains four files: - README.md: Detailed documentation, usage instructions, and technical background. - check.py: A scanner that checks if a target is vulnerable by probing known upload endpoints and attempting file uploads. - exploit.py: A reusable Python library and script that automates the exploitation process, uploads the webshell, and allows command execution. - pwn.py: A user-friendly exploit tool that uploads the webshell and provides both single-command and interactive shell access. The exploit targets the following endpoints: /api/upload, /api/v1/upload, /Interface/Frmx/UploadFile.aspx, /MRS/Upload.ashx, and /Services/Upload.ashx. The attack is performed over the network and does not require authentication. The payload is a minimal ASPX webshell that executes arbitrary system commands via the 'cmd' query parameter. The exploit scripts support multiple upload techniques (multipart form, raw POST, JSON with base64) to maximize the chance of success. Overall, the repository is well-structured, operational, and provides both detection and exploitation capabilities for CVE-2025-52691 against SmarterMail servers.

sajjadsiamDisclosed Dec 30, 2025pythonaspxnetwork
CVE-2025-52691-APT-PoCMaturityPoCVerified exploit

This repository contains a single Python exploit script (exploit-poc.py) and a detailed README.md for CVE-2025-52691, a critical unauthenticated arbitrary file upload vulnerability in SmarterTools SmarterMail. The exploit targets multiple known upload endpoints on the SmarterMail web interface, attempting to upload an obfuscated, password-protected ASPX web shell. Once uploaded, the shell allows remote code execution via PowerShell commands, supports file exfiltration, persistence (via scheduled tasks), interactive shell sessions, and cleanup of the shell to reduce forensic traces. The script includes features for stealth (random user agents, delays), proxy support, batch exploitation, and detailed logging. The exploit is operational and suitable for advanced penetration testing and red teaming. The only code file is exploit-poc.py, written in Python, and it is the main entry point. No hardcoded IPs or domains are present; the attacker supplies the target URL(s) at runtime. All endpoints referenced are relative to the target SmarterMail server.

DeathShotXDDisclosed Dec 30, 2025pythonnetwork
CVE-2025-52691MaturityPoCVerified exploit

This repository contains a working exploit for CVE-2025-52691, a critical unauthenticated arbitrary file upload vulnerability in SmarterMail (Build 9406 and earlier). The exploit is implemented in Python (exploit.py) and is accompanied by a detailed README.md. The exploit targets several known upload endpoints (e.g., /api/upload, /api/v1/upload, /Interface/Frmx/UploadFile.aspx, /MRS/Upload.ashx, /Services/Upload.ashx) and attempts to upload an ASPX webshell to the webroot directory using path traversal (../wwwroot/). Once uploaded, the shell can be accessed via HTTP and allows arbitrary command execution as the IIS user. The exploit supports command execution directly from the command line and includes a check-only mode to verify target reachability. The code is operational, with a hardcoded payload and multiple upload techniques (multipart, raw, JSON). The repository is well-structured, with clear usage instructions and mitigation advice in the README.

yt2wDisclosed Dec 29, 2025pythonnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
SmartertoolsSmartermailapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence6

Every observed campaign linking this CVE to a named adversary.

Associated malware6

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity95

Community discussion across Reddit, Mastodon, and other social sources.