Pgweb - Unauthenticated Database Access
Pgweb has no authentication unless both --auth-user and --auth-pass are set. When it is started with a database connection string (--url or PGWEB_DATABASE_URL, as in the official Docker example), the server opens the PostgreSQL connection at startup and every API request runs on that connection. An unauthenticated GET /api/connection returns the connected database, the PostgreSQL role, the server version and internal addresses, and the same access lets anyone browse every table and run arbitrary SQL through /api/query with the privileges of the configured role.
PoC 已收录Pgweb
CVSS—