Rapid7

module

pgAdmin Binary Path API RCE

Disclosed
Mar 28, 2024
Created
Aug 28, 2024

Description

pgAdmin vulnerability through the validate binary path API. This vulnerability
allows attackers to execute arbitrary code on the server hosting PGAdmin,
posing a severe risk to the database management system's integrity and the security of the underlying data.

Tested on pgAdmin 8.4 on Windows 10 both authenticated and unauthenticated.

Authors

M.Selim Karahan
Mustafa Mutlu
Ayoub Mokhtar

Platform

Windows

Architectures

x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/http/pgadmin_binary_path_api
msf exploit(pgadmin_binary_path_api) > show targets
...targets...
msf exploit(pgadmin_binary_path_api) > set TARGET < target-id >
msf exploit(pgadmin_binary_path_api) > show options
...show and set options...
msf exploit(pgadmin_binary_path_api) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.