Rapid7 Vulnerability & Exploit Database

Umbraco CMS Remote Command Execution

Back to Search

Umbraco CMS Remote Command Execution



This module can be used to execute a payload on Umbraco CMS 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 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.


  • Toby Clarke
  • juan vazquez <juan.vazquez@metasploit.com>




Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/http/umbraco_upload_aspx
msf exploit(umbraco_upload_aspx) > show targets
msf exploit(umbraco_upload_aspx) > set TARGET < target-id >
msf exploit(umbraco_upload_aspx) > show options
    ...show and set options...
msf exploit(umbraco_upload_aspx) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security