module
Umbraco CMS Remote Command Execution
Disclosed | Created |
---|---|
Jun 28, 2012 | May 30, 2018 |
Disclosed
Jun 28, 2012
Created
May 30, 2018
Description
This module can be used to execute a payload on Umbraco CMS 4.7.0.378.
The payload is uploaded as an ASPX script by sending a specially crafted
SOAP request to codeEditorSave.asmx, which permits unauthorized file upload
via the SaveDLRScript operation. SaveDLRScript is also subject to a path
traversal vulnerability, allowing code to be placed into the web-accessible
/umbraco/ directory.
The module writes, executes and then overwrites an ASPX script; note that
though the script content is removed, the file remains on the target. Automatic
cleanup of the file is intended if a meterpreter payload is used.
This module has been tested successfully on Umbraco CMS 4.7.0.378 on a Windows
7 32-bit SP1. In this scenario, the "IIS APPPOOL\ASP.NET v4.0" user must have
write permissions on the Windows Temp folder.
The payload is uploaded as an ASPX script by sending a specially crafted
SOAP request to codeEditorSave.asmx, which permits unauthorized file upload
via the SaveDLRScript operation. SaveDLRScript is also subject to a path
traversal vulnerability, allowing code to be placed into the web-accessible
/umbraco/ directory.
The module writes, executes and then overwrites an ASPX script; note that
though the script content is removed, the file remains on the target. Automatic
cleanup of the file is intended if a meterpreter payload is used.
This module has been tested successfully on Umbraco CMS 4.7.0.378 on a Windows
7 32-bit SP1. In this scenario, the "IIS APPPOOL\ASP.NET v4.0" user must have
write permissions on the Windows Temp folder.
Authors
Toby Clarke
juan vazquez juan.vazquez@metasploit.com
juan vazquez juan.vazquez@metasploit.com
Platform
Windows
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.