Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1jcjhjLTk3MnYtcm1wM80zQA

pgAdmin 4 Path Traversal vulnerability

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.

Permalink: https://github.com/advisories/GHSA-cr8c-972v-rmp3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jcjhjLTk3MnYtcm1wM80zQA
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: 10 months ago


CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Identifiers: GHSA-cr8c-972v-rmp3, CVE-2022-0959
References: Repository: https://github.com/pgadmin-org/pgadmin4
Blast Radius: 11.1

Affected Packages

pypi:pgadmin4
Dependent packages: 1
Dependent repositories: 51
Downloads: 12,766 last month
Affected Version Ranges: < 6.7
Fixed in: 6.7
All affected versions:
All unaffected versions: