What is the effective solution approach to achieve command execution when only file read/write permissions on an Exchange server are available?
The effective solution is to modify Exchange configuration by setting the MachineKey in web.config files (e.g., `%ExchangeInstallPath%\ClientAccess\ecp\web.config` or `%ExchangeInstallPath%\FrontEnd\HttpProxy\owa\web.config`). This allows command execution via .NET deserialization, similar to CVE-2020-0688, without needing system-level command execution rights. For more technical details, refer to Penetration Techniques - From Exchange File Read/Write Permissions to Command Execution.
Exchangefile read/writecommand execution.NET deserializationCVE-2020-0688MachineKeyweb.config