Remote code execution in pgAdmin



| Updated: 2024-08-28
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-3116
CWE-ID CWE-434
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
pgAdmin
Web applications / Remote management & hosting panels

Vendor PlanGenius Admin

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Arbitrary file upload

EUVDB-ID: #VU93851

Risk: Medium

CVSSv4.0: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Green]

CVE-ID: CVE-2024-3116

CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type

Exploit availability: Yes

Description

The vulnerability allows a remote user to compromise vulnerable system.

The vulnerability exists due to insufficient validation of file during file upload. A remote user can upload a malicious binary and execute it on the server.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

pgAdmin: 7.0 - 8.4

CPE2.3 External links

https://github.com/pgadmin-org/pgadmin4/issues/7326
https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98
https://ayoubmokhtar.com/post/remote_code_execution_pgadmin_8.4-cve-2024-3116/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###