Vulnerabilities > CVE-2004-0234 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Multiple stack-based buffer overflows in the get_header function in header.c for LHA 1.14, as used in products such as Barracuda Spam Firewall, allow remote attackers or local users to execute arbitrary code via long directory or file names in an LHA archive, which triggers the overflow when testing or extracting the archive.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Slackware Local Security Checks NASL id SLACKWARE_SSA_2004-125-01.NASL description New bin- packages are available for Slackware 8.1, 9.0, 9.1, and -current to fix buffer overflows and directory traversal vulnerabilities in the last seen 2020-06-01 modified 2020-06-02 plugin id 18762 published 2005-07-13 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/18762 title Slackware 8.1 / 9.0 / 9.1 / current : lha update in bin package (SSA:2004-125-01) NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_A2FFB6279C5311D893660020ED76EF5A.NASL description Ulf Harnhammar discovered several vulnerabilities in LHa for UNIX last seen 2020-06-01 modified 2020-06-02 plugin id 36391 published 2009-04-23 reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/36391 title FreeBSD : lha buffer overflows and path traversal issues (a2ffb627-9c53-11d8-9366-0020ed76ef5a) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-515.NASL description Two vulnerabilities were discovered in lha : - CAN-2004-0234 - Multiple stack-based buffer overflows in the get_header function in header.c for LHA 1.14 allow remote attackers or local users to execute arbitrary code via long directory or file names in an LHA archive, which triggers the overflow when testing or extracting the archive. - CAN-2004-0235 - Multiple directory traversal vulnerabilities in LHA 1.14 allow remote attackers or local users to create arbitrary files via an LHA archive containing filenames with (1) .. sequences or (2) absolute pathnames with double leading slashes ( last seen 2020-06-01 modified 2020-06-02 plugin id 15352 published 2004-09-29 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/15352 title Debian DSA-515-1 : lha - several vulnerabilities NASL family Fedora Local Security Checks NASL id FEDORA_2004-119.NASL description Ulf Harnhammar discovered two stack-based buffer overflows and two directory traversal flaws in LHA. An attacker could exploit the buffer overflows by creating a carefully crafted LHA archive in such a way that arbitrary code would be executed when the archive is tested or extracted by a victim. CVE-2004-0234. An attacker could exploit the directory traversal issues to create files as the victim outside of the expected directory. CVE-2004-0235. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 13697 published 2004-07-23 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/13697 title Fedora Core 1 : lha-1.14i-12.1 (2004-119) NASL family FreeBSD Local Security Checks NASL id FREEBSD_LHA_114_4.NASL description The following package needs to be updated: lha last seen 2016-09-26 modified 2004-07-06 plugin id 12561 published 2004-07-06 reporter Tenable source https://www.tenable.com/plugins/index.php?view=single&id=12561 title FreeBSD : lha buffer overflows and path traversal issues (90) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2004-178.NASL description An updated LHA package that fixes several security vulnerabilities is now available. LHA is an archiving and compression utility for LHarc format archives. Ulf Harnhammar discovered two stack-based buffer overflows and two directory traversal flaws in LHA. An attacker could exploit the buffer overflows by creating a carefully crafted LHA archive in such a way that arbitrary code would be executed when the archive is tested or extracted by a victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0234 to this issue. An attacker could exploit the directory traversal issues to create files as the victim outside of the expected directory. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0235 to this issue. Users of LHA should update to this updated package which contains backported patches not vulnerable to these issues. Red Hat would like to thank Ulf Harnhammar for disclosing and providing test cases and patches for these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 12491 published 2004-07-06 reporter This script is Copyright (C) 2004-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/12491 title RHEL 2.1 / 3 : lha (RHSA-2004:178) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200405-02.NASL description The remote host is affected by the vulnerability described in GLSA-200405-02 (Multiple vulnerabilities in LHa) Ulf Harnhammar found two stack overflows and two directory traversal vulnerabilities in LHa version 1.14 and 1.17. A stack overflow occurs when testing or extracting archives containing long file or directory names. Furthermore, LHa doesn last seen 2020-06-01 modified 2020-06-02 plugin id 14488 published 2004-08-30 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/14488 title GLSA-200405-02 : Multiple vulnerabilities in LHa
Oval
accepted 2004-07-12T12:00:00.000-04:00 class vulnerability contributors name Jay Beale organization Bastille Linux description Multiple stack-based buffer overflows in the get_header function in header.c for LHA 1.14, as used in products such as Barracuda Spam Firewall, allow remote attackers or local users to execute arbitrary code via long directory or file names in an LHA archive, which triggers the overflow when testing or extracting the archive. family unix id oval:org.mitre.oval:def:977 status accepted submitted 2004-06-10T12:00:00.000-04:00 title Multiple BO Vulnerabilities in LHA get_header Function version 4 accepted 2013-04-29T04:23:01.664-04:00 class vulnerability contributors name Aharon Chernin organization SCAP.com, LLC name Dragos Prisaca organization G2, Inc.
definition_extensions comment The operating system installed on the system is Red Hat Enterprise Linux 3 oval oval:org.mitre.oval:def:11782 comment CentOS Linux 3.x oval oval:org.mitre.oval:def:16651
description Multiple stack-based buffer overflows in the get_header function in header.c for LHA 1.14, as used in products such as Barracuda Spam Firewall, allow remote attackers or local users to execute arbitrary code via long directory or file names in an LHA archive, which triggers the overflow when testing or extracting the archive. family unix id oval:org.mitre.oval:def:9881 status accepted submitted 2010-07-09T03:56:16-04:00 title Multiple stack-based buffer overflows in the get_header function in header.c for LHA 1.14, as used in products such as Barracuda Spam Firewall, allow remote attackers or local users to execute arbitrary code via long directory or file names in an LHA archive, which triggers the overflow when testing or extracting the archive. version 26
Redhat
advisories |
| ||||||||
rpms |
|
Seebug
bulletinFamily | exploit |
description | No description provided by source. |
id | SSV:77805 |
last seen | 2017-11-19 |
modified | 2014-07-01 |
published | 2014-07-01 |
reporter | Root |
source | https://www.seebug.org/vuldb/ssvid-77805 |
title | LHA 1.x - Buffer Overflow/Directory Traversal Vulnerabilities |
References
- http://www.securityfocus.com/bid/10243
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-May/020776.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-May/020778.html
- http://www.debian.org/security/2004/dsa-515
- http://www.redhat.com/support/errata/RHSA-2004-178.html
- http://www.redhat.com/support/errata/RHSA-2004-179.html
- http://security.gentoo.org/glsa/glsa-200405-02.xml
- http://www.redhat.com/archives/fedora-announce-list/2004-May/msg00005.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000840
- http://archives.neohapsis.com/archives/bugtraq/2006-04/0059.html
- http://www.guay-leroux.com/projects/barracuda-advisory-LHA.txt
- http://www.osvdb.org/5753
- http://www.osvdb.org/5754
- http://securitytracker.com/id?1015866
- http://secunia.com/advisories/19514
- http://www.vupen.com/english/advisories/2006/1220
- https://bugzilla.fedora.us/show_bug.cgi?id=1833
- http://marc.info/?l=bugtraq&m=108422737918885&w=2
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16012
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9881
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A977