SmarterMail Admin Password-Reset Authentication Bypass (CVE-2026-23760)
by MaxMnMl (PoC write-up); original finding by watchTowr Labs · 2026-07-05
- Severity
- Critical
- CVE
- CVE-2026-23760
- Category
- web
- Affected product
- SmarterTools SmarterMail
- Affected versions
- Versions prior to build 9511
- Disclosed
- 2026-07-05
- Patch status
- patched
Tags
Archive entry
intelseclab/poc-archiveMetadata
| Field | Value |
|---|---|
| Date Added | 2026-07-05 |
| Last Updated | 2026-01 |
| Author / Researcher | MaxMnMl (PoC write-up); original finding by watchTowr Labs |
| CVE / Advisory | CVE-2026-23760 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.3 (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) |
| Status | PoC |
| Tags | smartermail, authentication-bypass, password-reset, account-takeover, rce, email-server, watchtowr |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | SmarterTools SmarterMail |
| Versions Affected | Versions prior to build 9511 |
| Language / Platform | HTTP/REST API (.NET-based mail server, Windows) |
| Authentication Required | No |
| Network Access Required | Yes |
Summary
SmarterMail’s force-reset-password API endpoint accepts anonymous requests and never validates the caller’s existing password or a reset token before changing the password of a system administrator account. By POSTing a JSON body that names an existing admin username and flags IsSysAdmin as true, an unauthenticated attacker can overwrite that account’s password outright. The only prerequisite is knowing (or guessing) a valid administrator username, which is often predictable (e.g. admin). Once authenticated as system administrator, the attacker can abuse SmarterMail’s built-in “Volume Mounts” feature to execute arbitrary operating-system commands, escalating a pure authentication bypass into full remote code execution on the host.
Vulnerability Details
Root Cause
The /api/v1/auth/force-reset-password endpoint is missing an authorization/ownership check — it trusts the Username/IsSysAdmin fields in the request body instead of verifying the caller already holds a valid session, old password, or reset token for that account.
Attack Vector
- Identify a target SmarterMail instance (Shodan/FOFA:
title='SmarterMail'/html:'SmarterMail'). - Determine or guess the system administrator’s username (commonly
admin). - Send an unauthenticated POST to
/api/v1/auth/force-reset-passwordwithIsSysAdmin: trueand a new password of the attacker’s choosing. - Log in with the new admin credentials.
- Navigate to Settings -> Volume Mounts, create a volume, and place an arbitrary OS command in the “Volume Mount Command” field; the command runs on save.
Impact
Unauthenticated, network-based takeover of the SmarterMail system administrator account, with a direct escalation path to full remote code execution on the underlying host.
Environment / Lab Setup
Target: SmarterTools SmarterMail build < 9511 (default install, port 9998 admin API)
Attacker: curl / any HTTP client capable of sending a raw POST request
Proof of Concept
PoC Script
See
poc-request.httpin this folder.
| |
Sends the unauthenticated password-reset request for the named admin account; a success: true, resultCode: 200 JSON response confirms the password was overwritten and the attacker can now log in as system administrator.
Detection & Indicators of Compromise
POST /api/v1/auth/force-reset-password 200 - <unauthenticated session>
Signs of compromise:
- Unexpected password-reset events on the system administrator account with no corresponding user-initiated reset request.
- New or modified “Volume Mounts” entries containing shell commands rather than legitimate mount paths.
- Admin logins from unfamiliar source IPs immediately following a force-reset-password call.
Remediation
| Action | Detail |
|---|---|
| Primary fix | Upgrade to SmarterMail build 9511 (Jan 15, 2026) or later, ideally build 9518 (Jan 22, 2026) |
| Interim mitigation | Restrict network access to the SmarterMail admin API (port 9998) to trusted management networks/VPN and monitor for anomalous force-reset-password calls until patched |
References
Notes
Mirrored from https://github.com/MaxMnMl/smartermail-CVE-2026-23760-poc on 2026-07-05.