pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint
sosedoff pgweb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sosedoff pgweb |
| No fix yet |
Original description
pgweb through 0.17.0 leaves the POST /api/connect endpoint unguarded when connect-backend authorization is configured, allowing attackers to supply arbitrary database connection strings. Attackers can bypass the resource-to-database mapping by providing a custom session identifier and connection URL to access unauthorized databases and internal services.
From the CVE record · VulnCheck