4.3
MEDIUM
CVE-2012-0867
PostgreSQL SSL Certificate Common Name Truncation
Description

PostgreSQL 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 truncates the common name to only 32 characters when verifying SSL certificates, which allows remote attackers to spoof connections when the host name is exactly 32 characters.

INFO

Published Date :

July 18, 2012, 11:55 p.m.

Last Modified :

Dec. 7, 2016, 7:56 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.9

Exploitability Score :

8.6
Public PoC/Exploit Available at Github

CVE-2012-0867 has a 7 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2012-0867 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat enterprise_linux_desktop
3 Redhat enterprise_linux_server
4 Redhat enterprise_linux_workstation
5 Redhat enterprise_linux_server_aus
6 Redhat enterprise_linux_server_eus
7 Redhat enterprise_linux_hpc_node
8 Redhat desktop_workstation
1 Debian debian_linux
1 Postgresql postgresql
1 Opensuse_project opensuse
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-0867.

URL Resource
http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-0678.html Third Party Advisory
http://secunia.com/advisories/49273
http://www.debian.org/security/2012/dsa-2418 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2012:026 Broken Link
http://www.postgresql.org/about/news/1377/ Vendor Advisory
http://www.postgresql.org/docs/8.4/static/release-8-4-11.html Release Notes Vendor Advisory
http://www.postgresql.org/docs/9.0/static/release-9-0-7.html Release Notes Vendor Advisory
http://www.postgresql.org/docs/9.1/static/release-9-1-3.html Release Notes Vendor Advisory

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

Updated: 7 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 10, 2024, 12:15 p.m. This repo has been linked 170 different CVEs too.

None

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 9, 2023, 12:16 p.m. This repo has been linked 170 different CVEs too.

None

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : June 30, 2023, 4:18 p.m. This repo has been linked 170 different CVEs too.

None

Updated: 1 year, 6 months ago
1 stars 0 fork 0 watcher
Born at : April 10, 2023, 5:46 p.m. This repo has been linked 170 different CVEs too.

Уязвимости и атаки на информационные системы

Updated: 8 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 24, 2023, 8:20 a.m. This repo has been linked 170 different CVEs too.

None

Updated: 1 year, 7 months ago
0 stars 2 fork 2 watcher
Born at : March 12, 2023, 3:01 a.m. This repo has been linked 170 different CVEs too.

None

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2023, 5:42 p.m. This repo has been linked 173 different CVEs too.

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-0867 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2012-0867 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 [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Dec. 07, 2016

    Action Type Old Value New Value
    Changed CPE Configuration Configuration 1 OR *cpe:2.3:a:postgresql:postgresql:8.4.5:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.1:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.6:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.10:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.8:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.9:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.2:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.3:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.7:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.4:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:postgresql:postgresql:9.0:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.1:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.2:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.3:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.4:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.5:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.6:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:a:postgresql:postgresql:9.1:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.1.2:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.1.1:*:*:*:*:*:*:* Configuration 1 OR *cpe:2.3:o:opensuse_project:opensuse:12.2:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:postgresql:postgresql:8.4.5:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.1:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.6:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.10:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.8:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.9:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.2:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.3:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.7:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:8.4.4:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:a:postgresql:postgresql:9.0:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.1:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.2:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.3:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.4:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.5:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.0.6:*:*:*:*:*:*:* Configuration 4 OR *cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* Configuration 5 OR *cpe:2.3:o:redhat:enterprise_linux_server_aus:6.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:6.2.z:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:5.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:desktop_workstation:5:*:*:*:*:*:*:* Configuration 6 OR *cpe:2.3:a:postgresql:postgresql:9.1:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.1.2:*:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:9.1.1:*:*:*:*:*:*:*
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2012-0678.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2012-0678.html Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2012/dsa-2418 No Types Assigned http://www.debian.org/security/2012/dsa-2418 Third Party Advisory
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2012:026 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2012:026 Broken Link
    Changed Reference Type http://www.postgresql.org/docs/8.4/static/release-8-4-11.html No Types Assigned http://www.postgresql.org/docs/8.4/static/release-8-4-11.html Release Notes, Vendor Advisory
    Changed Reference Type http://www.postgresql.org/docs/9.0/static/release-9-0-7.html No Types Assigned http://www.postgresql.org/docs/9.0/static/release-9-0-7.html Release Notes, Vendor Advisory
    Changed Reference Type http://www.postgresql.org/docs/9.1/static/release-9-1-3.html No Types Assigned http://www.postgresql.org/docs/9.1/static/release-9-1-3.html Release Notes, Vendor Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html No Types Assigned http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html Third Party Advisory
    Removed CWE CWE-16
    Added CWE CWE-20
    Added CWE CWE-295
  • Initial Analysis by [email protected]

    Jul. 19, 2012

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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-0867 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-0867 weaknesses.

CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-8: Buffer Overflow in an API Call Buffer Overflow in an API Call CAPEC-9: Buffer Overflow in Local Command-Line Utilities Buffer Overflow in Local Command-Line Utilities CAPEC-10: Buffer Overflow via Environment Variables Buffer Overflow via Environment Variables CAPEC-13: Subverting Environment Variable Values Subverting Environment Variable Values CAPEC-14: Client-side Injection-induced Buffer Overflow Client-side Injection-induced Buffer Overflow CAPEC-22: Exploiting Trust in Client Exploiting Trust in Client CAPEC-23: File Content Injection File Content Injection CAPEC-24: Filter Failure through Buffer Overflow Filter Failure through Buffer Overflow CAPEC-28: Fuzzing Fuzzing CAPEC-31: Accessing/Intercepting/Modifying HTTP Cookies Accessing/Intercepting/Modifying HTTP Cookies CAPEC-42: MIME Conversion MIME Conversion CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-46: Overflow Variables and Tags Overflow Variables and Tags CAPEC-47: Buffer Overflow via Parameter Expansion Buffer Overflow via Parameter Expansion CAPEC-52: Embedding NULL Bytes Embedding NULL Bytes CAPEC-53: Postfix, Null Terminate, and Backslash Postfix, Null Terminate, and Backslash CAPEC-63: Cross-Site Scripting (XSS) Cross-Site Scripting (XSS) CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-67: String Format Overflow in syslog() String Format Overflow in syslog() CAPEC-71: Using Unicode Encoding to Bypass Validation Logic Using Unicode Encoding to Bypass Validation Logic CAPEC-72: URL Encoding URL Encoding CAPEC-73: User-Controlled Filename User-Controlled Filename CAPEC-78: Using Escaped Slashes in Alternate Encoding Using Escaped Slashes in Alternate Encoding CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic Using UTF-8 Encoding to Bypass Validation Logic CAPEC-81: Web Server Logs Tampering Web Server Logs Tampering CAPEC-83: XPath Injection XPath Injection CAPEC-85: AJAX Footprinting AJAX Footprinting CAPEC-88: OS Command Injection OS Command Injection CAPEC-101: Server Side Include (SSI) Injection Server Side Include (SSI) Injection CAPEC-104: Cross Zone Scripting Cross Zone Scripting CAPEC-108: Command Line Execution through SQL Injection Command Line Execution through SQL Injection CAPEC-109: Object Relational Mapping Injection Object Relational Mapping Injection CAPEC-110: SQL Injection through SOAP Parameter Tampering SQL Injection through SOAP Parameter Tampering CAPEC-120: Double Encoding Double Encoding CAPEC-135: Format String Injection Format String Injection CAPEC-136: LDAP Injection LDAP Injection CAPEC-153: Input Data Manipulation Input Data Manipulation CAPEC-182: Flash Injection Flash Injection CAPEC-209: XSS Using MIME Type Mismatch XSS Using MIME Type Mismatch CAPEC-230: Serialized Data with Nested Payloads Serialized Data with Nested Payloads CAPEC-231: Oversized Serialized Data Payloads Oversized Serialized Data Payloads CAPEC-250: XML Injection XML Injection CAPEC-261: Fuzzing for garnering other adjacent user/sensitive data Fuzzing for garnering other adjacent user/sensitive data CAPEC-267: Leverage Alternate Encoding Leverage Alternate Encoding CAPEC-473: Signature Spoof Signature Spoof CAPEC-588: DOM-Based XSS DOM-Based XSS CAPEC-664: Server Side Request Forgery Server Side Request Forgery CAPEC-459: Creating a Rogue Certification Authority Certificate Creating a Rogue Certification Authority Certificate CAPEC-475: Signature Spoofing by Improper Validation Signature Spoofing by Improper Validation
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.48 }} 0.00%

score

0.72028

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability