
Exploit for SmarterMail unauthenticated arbitrary file upload leading to remote code execution via ASPX webshell deployment.
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 |
-t, --timeout | Request timeout | 30 |
--check-only | Only check if alive | off |
requests
For authorized security testing only.