CVE-2022-4223

High

Description

The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. The utility is executed by the server to determine what PostgreSQL version it is from. Versions of pgAdmin prior to 6.17 failed to properly secure this API, which could allow an unauthenticated user to call it with a path of their choosing, such as a UNC path to a server they control on a Windows machine. This would cause an appropriately named executable in the target path to be executed by the pgAdmin server.

SeverityHigh
CVSS8.8
Exploit probability—
ProductPgadmin 4
PublishedDec 13, 2022
First seenDec 13, 2022

How to fix

Affected products

ProductAffected versionsFixed in
pgadmin pgadmin_4v < 6.176.17
fedoraproject fedora37—
pgadmin4PyPIv < 6.176.17

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.