Pgwatch2 DBs to Monitor Exposure Scanner

This scanner targets the Pgwatch2 web dashboard endpoint to detect misconfigurations that allow unauthenticated access to sensitive database monitoring data.

Short Info


Level

High

Single Scan

Single Scan

Can be used by

Asset Owner

Estimated Time

10 seconds

Time Interval

15 days 17 hours

Scan only one

URL

Toolbox

Pgwatch2 is an open-source database monitoring tool used by database administrators and IT teams to track performance metrics, query statistics, and health indicators of PostgreSQL databases. It provides real-time dashboards and alerts to help maintain database stability and efficiency. Organizations with large database infrastructures rely on it for proactive monitoring and troubleshooting. Proper configuration is essential to secure the monitoring environment.

The exposure vulnerability arises when the Pgwatch2 dashboard is accessible without authentication due to misconfigured access controls or network settings. This can happen if the dashboard is exposed to the internet or internal networks without proper restrictions. Attackers can exploit this to view sensitive database metrics and configurations.

Specifically, the vulnerability targets the Pgwatch2 web interface, typically hosted on a default port like 8080 or 3000. The scanner checks if the dashboard is accessible without authentication, revealing endpoints such as /dbs or /metrics that list monitored databases and their performance data.

If exploited, an attacker can gain unauthorized visibility into database performance, query patterns, and system health, which can be used to plan further attacks. This exposure can lead to data breaches, service disruption, or compliance violations, especially in regulated environments.

Get started to protecting your digital assets