RCE in Pgadmin 4
CVE-2023-5002
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H.
EPSS exploit prediction
EPSS: 0.018 (77.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.018 · change: +0.003
Affected products
- Pgadmin 4
- Fedoraproject Fedora — versions 37, 38
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- github.com/pgadmin-org/pgadmin4/issues/6763 (Patch, Issue Tracking)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
Frequently asked questions
- What is CVE-2023-5002?
- CVE-2023-5002 is a medium-severity vulnerability in Pgadmin 4, classified under OS Command Injection. CVSS score: 6.0/10. Published 2023-09-22.
- How severe is CVE-2023-5002?
- Medium severity. CVSS v3 base score is 6.0 out of 10.
- Is CVE-2023-5002 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.