CVE-2022-0959
PgAdmin CSRF File Upload Vulnerability
Description
A malicious, but authorised and authenticated user can construct an HTTP request using their existing CSRF token and session cookie to manually upload files to any location that the operating system user account under which pgAdmin is running has permission to write.
INFO
Published Date :
March 16, 2022, 3:15 p.m.
Last Modified :
June 27, 2023, 4:39 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.8
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-0959
.
URL | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=2063759 | Issue Tracking Third Party Advisory |
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).
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-0959
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-0959
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 -
Reanalysis by [email protected]
Jun. 27, 2023
Action Type Old Value New Value Added CWE NIST CWE-22 -
Initial Analysis by [email protected]
Mar. 28, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2063759 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2063759 Issue Tracking, Third Party Advisory Added CWE NIST CWE-434 Added CPE Configuration OR *cpe:2.3:a:postgresql:pgadmin_4:*:*:*:*:*:*:*:* versions up to (excluding) 6.7 -
CVE Modified by [email protected]
Mar. 23, 2022
Action Type Old Value New Value Changed Description When run in server mode, pgAdmin 4 allows users to store files on the server under individual storage directories. Files such as SQL scripts may be uploaded through the user interface. The URI to which upload requests are made fails to validate the upload path to prevent path traversal techniques being used to store files outside of the storage directory. A malicious, but authorised and authenticated user can construct an HTTP request using their existing CSRF token and session cookie to manually upload files to any location that the operating system user account under which pgAdmin is running has permission to write. A malicious, but authorised and authenticated user can construct an HTTP request using their existing CSRF token and session cookie to manually upload files to any location that the operating system user account under which pgAdmin is running has permission to write. Added CWE Red Hat, Inc. CWE-434
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-0959
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-0959
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.01%
score
0.25591
percentile