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

Critical Nessus Plugin ID 37618


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


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.

- 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)


Update the affected package.

See Also

Plugin Details

Severity: Critical

ID: 37618

File Name: freebsd_pkg_273cc1a30d6b11d98a8a000c41e2cdad.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2009/04/23

Modified: 2013/06/21

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 9.5

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

Temporal Vector: CVSS2#E:F/RL:U/RC:ND

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: 2004/09/23

Vulnerability Publication Date: 2004/05/17

Reference Information

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

BID: 10354