FreeBSD : lha -- numerous vulnerabilities when extracting archives (273cc1a3-0d6b-11d9-8a8a-000c41e2cdad)

critical Nessus Plugin ID 37618

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Source code reviews of lha by Lukasz Wojtow, Thomas Biege, and others uncovered a number of vulnerabilities affecting lha :

- Buffer overflows when handling archives and filenames.
(CVE-2004-0694)

- Possible command execution via shell meta-characters when built with NOMKDIR. (CVE-2004-0745)

- Buffer overflow resulting in arbitrary code execution when handling long pathnames in LHZ archives. (CVE-2004-0769)

- Buffer overflow in the extract_one. (CVE-2004-0771)

Solution

Update the affected package.

See Also

https://marc.info/?l=bugtraq&m=108464470103227

https://marc.info/?l=bugtraq&m=108668791510153

https://bugs.gentoo.org/show_bug.cgi?id=51285

http://www.nessus.org/u?5675a199

http://www.nessus.org/u?7bf1a98a

Plugin Details

Severity: Critical

ID: 37618

File Name: freebsd_pkg_273cc1a30d6b11d98a8a000c41e2cdad.nasl

Version: 1.17

Type: local

Published: 4/23/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 9.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:lha, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/23/2004

Vulnerability Publication Date: 5/17/2004

Reference Information

CVE: CVE-2004-0694, CVE-2004-0745, CVE-2004-0769, CVE-2004-0771

BID: 10354