ncurses 6.0 tinfo/write_entry.c nc_write_entry 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.
6.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in ncurses 6.0. Affected by this issue is the function nc_write_entry of the file tinfo/write_entry.c. Performing a manipulation results in memory corruption. This vulnerability was named CVE-2017-16879. The attack needs to be approached locally. There is no available exploit. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in ncurses 6.0. This affects the function nc_write_entry of the file tinfo/write_entry.c. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.

The bug was discovered 11/08/2017. The weakness was presented 11/22/2017 (Website). It is possible to read the advisory at packetstormsecurity.com. This vulnerability is uniquely identified as CVE-2017-16879 since 11/17/2017. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 14 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 104993 (SUSE SLES11 Security Update : ncurses (SUSE-SU-2017:3183-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170513 (SUSE Enterprise Linux Security Update for ncurses (SUSE-SU-2017:3183-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (104993) and SecurityFocus (BID 99908†). See VDB-104367, VDB-105922, VDB-105923 and VDB-105924 for similar entries. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.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: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 104993
Nessus Name: SUSE SLES11 Security Update : ncurses (SUSE-SU-2017:3183-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

07/21/2017 🔍
11/08/2017 +110 days 🔍
11/17/2017 +9 days 🔍
11/22/2017 +5 days 🔍
11/22/2017 +0 days 🔍
11/23/2017 +1 days 🔍
12/01/2017 +8 days 🔍
12/04/2017 +3 days 🔍
01/11/2023 +1864 days 🔍

Sourcesinfo

Advisory: 145045
Researcher: IBM
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-16879 (🔍)
GCVE (CVE): GCVE-0-2017-16879
GCVE (VulDB): GCVE-100-109803
SecurityFocus: 99908 - IBM TRIRIGA Application Platform CVE-2017-1373 Unspecified Remote Privilege Escalation Vulnerability

See also: 🔍

Entryinfo

Created: 11/23/2017 07:42
Updated: 01/11/2023 09:22
Changes: 11/23/2017 07:42 (70), 12/09/2019 15:11 (6), 01/24/2021 23:03 (2), 01/11/2023 09:22 (3)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!