CVE-2023-5002

Medium

Description

A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. Versions of pgAdmin prior to 7.6 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.

SeverityMedium
CVSS6.0
Exploit probability—
ProductPgadmin 4
PublishedSep 22, 2023
First seenSep 22, 2023

How to fix

Update
  • pgadmin pgadmin_47.7 or later
  • pgadmin47.7 or later

Affected products

ProductAffected versionsFixed in
pgadmin pgadmin_4v < 7.77.7
fedoraproject fedora37, 38—
pgadmin4PyPIv < 7.77.7

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.