---
title: "9. PRTG Network monitor"
date: 2025-01-15
draft: false
---

Agentless network monitor software 
Monitor b/w usage uptime statistics, including routers switches servers + more 

Free version restricted to 100 sensors and monitor up to 20 hosts 
works with autodiscovery mode to scan areas of network + make device list
Gathers further info via ICMP SNMP WMI NetFlow etc 
Devices can comm with tool via REST API 
Runs entirely from AJAX based site but desktop app available for major OSes 

https://www.cvedetails.com/vulnerability-list/vendor_id-5034/product_id-35656/Paessler-Prtg-Network-Monitor.html
- 26 CVEs
- 4 have easy-to-find POCs
- 2 XSS
- 1 DOS
- 1 auth cmd inj 

Rare to see PRTG externally 

Example nmap: 
```shell-session
Starting Nmap 7.80 ( https://nmap.org ) at 2021-09-22 15:41 EDT
Stats: 0:00:00 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan
SYN Stealth Scan Timing: About 0.06% done
Nmap scan report for 10.129.201.50
Host is up (0.11s latency).
Not shown: 65492 closed ports, 24 filtered ports
Some closed ports may be reported as filtered due to --defeat-rst-ratelimit
PORT      STATE SERVICE       VERSION
80/tcp    open  http          Microsoft IIS httpd 10.0
135/tcp   open  msrpc         Microsoft Windows RPC
139/tcp   open  netbios-ssn   Microsoft Windows netbios-ssn
445/tcp   open  microsoft-ds?
3389/tcp  open  ms-wbt-server Microsoft Terminal Services
5357/tcp  open  http          Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
5985/tcp  open  http          Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
8000/tcp  open  ssl/http      Splunkd httpd
8080/tcp  open  http          Indy httpd 17.3.33.2830 (Paessler PRTG bandwidth monitor)
8089/tcp  open  ssl/http      Splunkd httpd
47001/tcp open  http          Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
49664/tcp open  msrpc         Microsoft Windows RPC
49665/tcp open  msrpc         Microsoft Windows RPC
49666/tcp open  msrpc         Microsoft Windows RPC
49667/tcp open  msrpc         Microsoft Windows RPC
49668/tcp open  msrpc         Microsoft Windows RPC
49669/tcp open  msrpc         Microsoft Windows RPC
49676/tcp open  msrpc         Microsoft Windows RPC
49677/tcp open  msrpc         Microsoft Windows RPC
Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
```

Typically found on 80, 443, and 8080. 
`Indy httpd 17.3.33.2830 (Paessler PRTG bandwidth monitor)` Note version number. https://nvd.nist.gov/vuln/detail/CVE-2018-9276 
Also shown in eyewitness. 
Default creds `prtgadmin:prtgadmin`
Nessus has plugin that detect presence of prtg 

Auth cmd inj blog: https://www.codewatch.org/blog/?p=453
When creating new notification `parameter` field is passed directly into a powershell script without any input sanitization 

Module goes over basic cmd injection vuln seen in above CVE. 
Create notification and in parameter field, enter a command. 

**Example PRTG RCE:**

![](/img/Pasted image 20250115222032.png)
![](/img/Pasted image 20250115222224.png)

![](/img/Pasted image 20250115222607.png)
(changed port from 4443 to 1337 because reasons, but this works fine after sending test notification)

in second pic above this one, after test.txt; add powershell -e revshell and we pop a shell babey 

![](/img/Pasted image 20250115222903.png)
