Arbitrary file upload in Pgadmin 4
CVE-2022-0959
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.
Vulnerability class: Unrestricted File Upload
EPSS: 0.010 (58.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Pgadmin Pgadmin_4
- N/a Pgadmin — versions pgadmin 6.7
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Third Party Advisory, x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2022-0959?
- CVE-2022-0959 is a medium-severity vulnerability in Pgadmin 4, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 6.5/10. Published 2022-03-16.
- How severe is CVE-2022-0959?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2022-0959 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.