Lucene search

K
osvGoogleOSV:GHSA-CR8C-972V-RMP3
HistoryMar 17, 2022 - 12:00 a.m.

pgAdmin 4 Path Traversal vulnerability

2022-03-1700:00:24
Google
osv.dev
10
pgadmin 4
path traversal
vulnerability
file uploads
user interface
csrf token
session cookie
operating system user

EPSS

0.001

Percentile

26.9%

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.

EPSS

0.001

Percentile

26.9%