module

pgAdmin Binary Path API RCE

Disclosed
2024-03-28
Created
2024-08-28

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.