#VU93851 Arbitrary file upload in pgAdmin - CVE-2024-3116


| Updated: 2024-08-28

Vulnerability identifier: #VU93851

Vulnerability 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

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
pgAdmin
Web applications / Remote management & hosting panels

Vendor: PlanGenius Admin

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


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.


Latest bulletins with this vulnerability