CVE-2022-4223
pgAdmin Remote Command Execution Vulnerability
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.
INFO
Published Date :
Dec. 13, 2022, 4:15 p.m.
Last Modified :
Nov. 7, 2023, 3:57 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-4223 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2022-4223
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-4223
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Batchfile Makefile Python HTML CSS Shell JavaScript Mako PLpgSQL
这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目
HTML
一个漏洞POC知识库 目前数量 1000+
poc
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-4223
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-4223
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/ [No types assigned] Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/ -
Reanalysis by [email protected]
Jun. 27, 2023
Action Type Old Value New Value Added CWE NIST CWE-862 -
Initial Analysis by [email protected]
Dec. 19, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/pgadmin-org/pgadmin4/issues/5593 No Types Assigned https://github.com/pgadmin-org/pgadmin4/issues/5593 Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/ Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:postgresql:pgadmin:*:*:*:*:*:*:*:* versions up to (excluding) 6.17 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 18, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-4223
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-4223
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.58 }} 0.01%
score
0.87416
percentile