PostgreSQL up to 9.0.18/9.1.14/9.2.9/9.3.5/9.4.0 to_char memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.1$0-$5k0.00

A vulnerability has been found in PostgreSQL up to 9.0.18/9.1.14/9.2.9/9.3.5/9.4.0 (Database Software) and classified as problematic. Affected by this vulnerability is the function to_char. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was disclosed 02/05/2015 by Bruce Momjian as News ID 1569 as confirmed news (Website). The advisory is shared at postgresql.org. This vulnerability is known as CVE-2015-0241 since 11/18/2014. The attack can be launched remotely. The successful exploitation requires a single authentication. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 81193 (FreeBSD : PostgreSQL -- multiple buffer overflows and memory issues (3b40bf2c-ad83-11e4-a2b2-0026551a22dc)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350210 (Amazon Linux Security Advisory for postgresql92: ALAS-2015-492).

Upgrading to version 9.0.19, 9.1.15, 9.2.10, 9.3.6 or 9.4.1 eliminates this vulnerability. The news contains the following remark:

This vulnerability was fixed on non-Windows platforms in the prior update releases.

The vulnerability is also documented in the databases at X-Force (100777) and Tenable (81193).

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.1

VulDB Base Score: 6.3
VulDB Temp Score: 5.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 81193
Nessus Name: FreeBSD : PostgreSQL -- multiple buffer overflows and memory issues (3b40bf2c-ad83-11e4-a2b2-0026551a22dc)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: ALAS-2015-503
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PostgreSQL 9.0.19/9.1.15/9.2.10/9.3.6/9.4.1

Timelineinfo

11/18/2014 🔍
02/05/2015 +79 days 🔍
02/05/2015 +0 days 🔍
02/11/2015 +6 days 🔍
02/11/2015 +0 days 🔍
09/16/2015 +217 days 🔍
09/17/2015 +1 days 🔍
03/09/2022 +2365 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: News ID 1569
Researcher: Bruce Momjian
Status: Confirmed

CVE: CVE-2015-0241 (🔍)
OVAL: 🔍

X-Force: 100777 - PostgreSQL to_char buffer overflow, Medium Risk
SecurityTracker: 1031742
Vulnerability Center: 52641 - PostgreSQL Remote Code Execution due to Processing a Crafted Timestamp Formatting Template, Medium
SecurityFocus: 72540 - PostgreSQL 'to_char()' Function Buffer Overflow Vulnerability

Entryinfo

Created: 02/11/2015 09:05 AM
Updated: 03/09/2022 02:26 AM
Changes: 02/11/2015 09:05 AM (67), 12/23/2017 01:14 PM (8), 03/09/2022 02:11 AM (2), 03/09/2022 02:19 AM (18), 03/09/2022 02:26 AM (1)
Complete: 🔍
Cache ID: 100:55B:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!