CVE-2024-4317
PostgreSQL Authorize View Arbitrary Statistics reads
Description
Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.
INFO
Published Date :
May 14, 2024, 3:43 p.m.
Last Modified :
Nov. 21, 2024, 9:42 a.m.
Source :
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
1.6
Public PoC/Exploit Available at Github
CVE-2024-4317 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-4317
.
URL | Resource |
---|---|
https://www.postgresql.org/support/security/CVE-2024-4317/ | |
https://www.postgresql.org/support/security/CVE-2024-4317/ |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Fluentbit container image built as small as possible with security in mind
docker-image dockerfile fluent-bit
Dockerfile
RDBMS that can work with applications written for Microsoft SQL Server
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-4317
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-4317
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://www.postgresql.org/support/security/CVE-2024-4317/ -
CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
May. 14, 2024
Action Type Old Value New Value Added Description Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected. Added Reference PostgreSQL https://www.postgresql.org/support/security/CVE-2024-4317/ [No types assigned] Added CWE PostgreSQL CWE-862 Added CVSS V3.1 PostgreSQL AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-4317
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-4317
weaknesses.