PostgreSQL Extension CREATE OR REPLACE RCE via Permissions Escalation
CVE-2022-2625 Published on August 18, 2022

A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.

Vendor Advisory NVD

Weakness Type

What is a Mass Assignment Vulnerability?

The software receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.

CVE-2022-2625 has been classified to as a Mass Assignment vulnerability or weakness.


Products Associated with CVE-2022-2625

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-2625 are published in these products:

 
 
 

Exploit Probability

EPSS
0.97%
Percentile
76.33%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.