CVE-2012-0868
PostgreSQL CRLF Injection Vulnerability
Description
CRLF injection vulnerability in pg_dump in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 allows user-assisted remote attackers to execute arbitrary SQL commands via a crafted file containing object names with newlines, which are inserted into an SQL script that is used when the database is restored.
INFO
Published Date :
July 18, 2012, 11:55 p.m.
Last Modified :
April 11, 2025, 12:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | MEDIUM | [email protected] |
Solution
- Upgrade PostgreSQL to a patched version.
- Apply vendor-supplied updates.
Public PoC/Exploit Available at Github
CVE-2012-0868 has a 10 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-2012-0868
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2012-0868
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-2012-0868
weaknesses.
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).
None
None
None
None
None
None
None
Уязвимости и атаки на информационные системы
None
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2012-0868
vulnerability anywhere in the article.

-
CybersecurityNews
Critical PostgreSQL Vulnerabilities Allow Arbitrary Code Injection During Restoration
The PostgreSQL Global Development Group has issued emergency security updates across all supported versions to address three critical vulnerabilities that could allow attackers to execute arbitrary co ... Read more

-
Daily CyberSecurity
PostgreSQL Issues Urgent Security Fixes for High-Severity RCE Flaws in Core Utilities
The PostgreSQL Global Development Group has announced a major security update affecting all supported versions of the world’s most advanced open-source relational database. The update applies to Postg ... Read more
The following table lists the changes that have been made to the
CVE-2012-0868
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 http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 Added Reference http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html Added Reference http://rhn.redhat.com/errata/RHSA-2012-0677.html Added Reference http://rhn.redhat.com/errata/RHSA-2012-0678.html Added Reference http://secunia.com/advisories/49272 Added Reference http://secunia.com/advisories/49273 Added Reference http://www.debian.org/security/2012/dsa-2418 Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2012:026 Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2012:027 Added Reference http://www.postgresql.org/about/news/1377/ Added Reference http://www.postgresql.org/docs/8.3/static/release-8-3-18.html Added Reference http://www.postgresql.org/docs/8.4/static/release-8-4-11.html Added Reference http://www.postgresql.org/docs/9.0/static/release-9-0-7.html Added Reference http://www.postgresql.org/docs/9.1/static/release-9-1-3.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Dec. 08, 2016
Action Type Old Value New Value Added Reference http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 19, 2012
Action Type Old Value New Value
Vulnerability Scoring Details
Base CVSS Score: 6.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
4.01 }} -1.28%
score
0.87988
percentile