CVE-2024-2044

Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4

Critical · published March 7, 2024

Patch now

High probability of exploitation

CVSS calls it critical at 9.9. It sits in the 99.6th percentile for exploit probability.

CVSS v3.1
9.9
EPSS
79%
Percentile
99.6
In the wild
Unconfirmed
What it is

🚨 Hold on to your keyboards! A path-traversal vulnerability in pgAdmin versions 8.3 and earlier could let attackers pull a fast one, gaining code execution without even breaking a sweat! 🔥 Think of it like a delivery driver who blindly accepts any package that comes their way, not checking the contents. This flaw allows an attacker to sneak in malicious code disguised as a harmless package, leading to complete control over your system. If your server is running on Windows, an unauthenticated attacker could easily execute any command they desire. On POSIX/Linux systems, an authenticated attacker can upload their own harmful objects, also gaining full control—this could lead to data breaches, service disruptions, or worse!

Put simply

Think of it like a delivery driver who blindly accepts any package that comes their way, not checking the contents. This flaw allows an attacker to sneak in malicious code disguised as a harmless package, leading to complete control over your system. This vulnerability arises during the deserialization of user sessions, allowing attackers to manipulate the data and execute arbitrary code on the server, depending on the operating system and authentication status.

What to do

If your server is running on Windows, an unauthenticated attacker could easily execute any command they desire. On POSIX/Linux systems, an authenticated attacker can upload their own harmful objects, also gaining full control—this could lead to data breaches, service disruptions, or worse! Immediately update pgAdmin to the latest version beyond 8.3 to patch this critical vulnerability. For Linux users, ensure proper authentication checks are in place before allowing uploads. Regularly audit your session handling code for any other potential holes! You've got this! With these steps, you’ll keep your servers safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.79465 · 99.6th percentile
Published
2024-03-07T20:48Z
EPSS history
Timeline
  • 07 MAR 20:48Z
    Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4
    cvelistv5