GNU ed up to 0.9 signal.c strip_escapes 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.
9.0$0-$5k0.00

Summaryinfo

A vulnerability was found in GNU ed up to 0.9. It has been classified as critical. This affects the function strip_escapes of the file signal.c. This manipulation causes memory corruption. The identification of this vulnerability is CVE-2008-3916. There is no exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in GNU ed up to 0.9. It has been declared as critical. Affected by this vulnerability is the function strip_escapes of the file signal.c. 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 summary by CVE is:

Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename. NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.

The bug was discovered 08/21/2008. The weakness was shared 09/04/2008 (Website). The advisory is shared at redhat.com. This vulnerability is known as CVE-2008-3916 since 09/04/2008. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

It is declared as proof-of-concept. 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 67757 (Oracle Linux 3 / 4 / 5 : ed (ELSA-2008-0946)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165174 (SUSE Security Update for Multiple Packages (SUSE-SR:2011:002)).

Upgrading to version 0.6 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (44643), Tenable (67757), SecurityFocus (BID 30815†), OSVDB (48045†) and Secunia (SA32349†). The entries VDB-48670, VDB-48522, VDB-48521 and VDB-48520 are related to this item. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.0

VulDB Base Score: 10.0
VulDB Temp Score: 9.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

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: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 67757
Nessus Name: Oracle Linux 3 / 4 / 5 : ed (ELSA-2008-0946)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 880172
OpenVAS Name: Centreon command_name Parameter Remote Command Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: ed 0.6

Timelineinfo

04/09/2008 🔍
08/21/2008 +134 days 🔍
08/21/2008 +0 days 🔍
08/25/2008 +4 days 🔍
09/04/2008 +10 days 🔍
09/04/2008 +0 days 🔍
09/04/2008 +0 days 🔍
09/28/2008 +24 days 🔍
10/21/2008 +23 days 🔍
07/12/2013 +1725 days 🔍
03/17/2015 +613 days 🔍
08/17/2019 +1614 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: redhat.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-3916 (🔍)
GCVE (CVE): GCVE-0-2008-3916
GCVE (VulDB): GCVE-100-43909

OVAL: 🔍

X-Force: 44643
SecurityFocus: 30815 - GNU ed File Processing 'strip_escapes()' Heap Overflow Vulnerability
Secunia: 32349
OSVDB: 48045 - CVE-2008-3916 - GNU - Buffer Overflow Issue
SecurityTracker: 1020734
Vulnerability Center: 19609 - GNU Ed Buffer Overflow Allows Arbitrary Code Execution, Medium
Vupen: ADV-2008-2642

See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 08/17/2019 17:09
Changes: 03/17/2015 16:11 (78), 08/17/2019 17:09 (12)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!