SmarterTools SmarterMail File Edit API Directory Traversal Remote Code Execution Vulnerability
The FileStorageController class in SmarterMail did not properly validate a user-supplied path before using it in file operations. An authenticated remote attacker could exploit this to execute arbitrary code as SYSTEM.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of SmarterTools SmarterMail. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the file edit API passed a user-supplied path to file operations without validating or restricting it to an allowed directory.
Impact
An authenticated attacker could execute arbitrary code on the server with SYSTEM privileges.
What the attacker needed
Valid authenticated account
The fix
The vendor fixed the flaw in SmarterMail Build 9735.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some parts of a web application take a file path from the user and then read or write that file. If the program does not check the path carefully, an attacker can point it at a different location than intended. Here that let a logged-in attacker run their own commands on the server with the highest Windows privileges.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.