ncurses 6.0 tinfo/write_entry.c nc_write_entry memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
07/21/2017 🔍11/08/2017 🔍
11/17/2017 🔍
11/22/2017 🔍
11/22/2017 🔍
11/23/2017 🔍
12/01/2017 🔍
12/04/2017 🔍
01/11/2023 🔍
Sources
Advisory: 145045Researcher: 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: 🔍
Entry
Created: 11/23/2017 07:42Updated: 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.
No comments yet. Languages: en.
Please log in to comment.