GNU lsh Daemon 1.4 client_keyexchange.c heap-based overflow

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.6$0-$5k0.00

A vulnerability was found in GNU lsh Daemon 1.4. It has been rated as critical. This issue affects an unknown functionality of the file read_line.c/channel_commands.c/client_keyexchange.c. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The summary by CVE is:

lsh daemon (lshd) does not properly return from certain functions in (1) read_line.c, (2) channel_commands.c, or (3) client_keyexchange.c when long input is provided, which could allow remote attackers to execute arbitrary code via a heap-based buffer overflow attack.

The weakness was released 10/06/2003 by Carl Livitt as not defined posting (Bugtraq). The advisory is shared at marc.theaimsgroup.com. The identification of this vulnerability is CVE-2003-0826 since 09/19/2003. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known.

A public exploit has been developed in ANSI C. The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 18153 (Debian DSA-717-1 : lsh-utils - buffer overflow, typo), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 years after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 2372.

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

Productinfo

Vendor

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.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 18153
Nessus Name: Debian DSA-717-1 : lsh-utils - buffer overflow, typo
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53544
OpenVAS Name: Debian Security Advisory DSA 717-1 (lsh-utils)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

09/19/2003 🔍
09/19/2003 +0 days 🔍
09/19/2003 +0 days 🔍
09/24/2003 +5 days 🔍
10/06/2003 +12 days 🔍
10/06/2003 +0 days 🔍
04/27/2005 +569 days 🔍
04/28/2005 +1 days 🔍
08/14/2014 +3395 days 🔍
05/13/2019 +1733 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: marc.theaimsgroup.com
Researcher: Carl Livitt
Status: Not defined
Confirmation: 🔍

CVE: CVE-2003-0826 (🔍)
X-Force: 13245
Vulnerability Center: 2180 - Buffer Overflow in LSH Daemon Enables Arbitrary Code Execution, Critical
SecurityFocus: 8655 - LSH Remote Buffer Overflow Vulnerability

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 08/15/2014 01:08
Updated: 05/13/2019 11:00
Changes: 08/15/2014 01:08 (73), 05/13/2019 11:00 (8)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!