Vulnerabilities > CVE-2004-0234 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 0.0 - NONE
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

Part Description Count
Application
Clearswift
14
Application
F-Secure
26
Application
Tsugio_Okamoto
3
Application
Sgi
2
Application
Rarlab
1
Application
Winzip
1
Application
Stalker
1
Application
Redhat
1
OS
Redhat
1

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 familySlackware Local Security Checks
    NASL idSLACKWARE_SSA_2004-125-01.NASL
    descriptionNew 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 seen2020-06-01
    modified2020-06-02
    plugin id18762
    published2005-07-13
    reporterThis script is Copyright (C) 2005-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/18762
    titleSlackware 8.1 / 9.0 / 9.1 / current : lha update in bin package (SSA:2004-125-01)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_A2FFB6279C5311D893660020ED76EF5A.NASL
    descriptionUlf Harnhammar discovered several vulnerabilities in LHa for UNIX
    last seen2020-06-01
    modified2020-06-02
    plugin id36391
    published2009-04-23
    reporterThis script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/36391
    titleFreeBSD : lha buffer overflows and path traversal issues (a2ffb627-9c53-11d8-9366-0020ed76ef5a)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-515.NASL
    descriptionTwo 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 seen2020-06-01
    modified2020-06-02
    plugin id15352
    published2004-09-29
    reporterThis script is Copyright (C) 2004-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/15352
    titleDebian DSA-515-1 : lha - several vulnerabilities
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2004-119.NASL
    descriptionUlf 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 seen2020-06-01
    modified2020-06-02
    plugin id13697
    published2004-07-23
    reporterThis script is Copyright (C) 2004-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/13697
    titleFedora Core 1 : lha-1.14i-12.1 (2004-119)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_LHA_114_4.NASL
    descriptionThe following package needs to be updated: lha
    last seen2016-09-26
    modified2004-07-06
    plugin id12561
    published2004-07-06
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=12561
    titleFreeBSD : lha buffer overflows and path traversal issues (90)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2004-178.NASL
    descriptionAn 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 seen2020-06-01
    modified2020-06-02
    plugin id12491
    published2004-07-06
    reporterThis script is Copyright (C) 2004-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/12491
    titleRHEL 2.1 / 3 : lha (RHSA-2004:178)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-200405-02.NASL
    descriptionThe 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 seen2020-06-01
    modified2020-06-02
    plugin id14488
    published2004-08-30
    reporterThis script is Copyright (C) 2004-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/14488
    titleGLSA-200405-02 : Multiple vulnerabilities in LHa

Oval

  • accepted2004-07-12T12:00:00.000-04:00
    classvulnerability
    contributors
    nameJay Beale
    organizationBastille Linux
    descriptionMultiple 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.
    familyunix
    idoval:org.mitre.oval:def:977
    statusaccepted
    submitted2004-06-10T12:00:00.000-04:00
    titleMultiple BO Vulnerabilities in LHA get_header Function
    version4
  • accepted2013-04-29T04:23:01.664-04:00
    classvulnerability
    contributors
    • nameAharon Chernin
      organizationSCAP.com, LLC
    • nameDragos Prisaca
      organizationG2, Inc.
    definition_extensions
    • commentThe operating system installed on the system is Red Hat Enterprise Linux 3
      ovaloval:org.mitre.oval:def:11782
    • commentCentOS Linux 3.x
      ovaloval:org.mitre.oval:def:16651
    descriptionMultiple 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.
    familyunix
    idoval:org.mitre.oval:def:9881
    statusaccepted
    submitted2010-07-09T03:56:16-04:00
    titleMultiple 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.
    version26

Redhat

advisories
  • rhsa
    idRHSA-2004:178
  • rhsa
    idRHSA-2004:179
rpms
  • lha-0:1.14i-10.2
  • lha-debuginfo-0:1.14i-10.2

Seebug

bulletinFamilyexploit
descriptionNo description provided by source.
idSSV:77805
last seen2017-11-19
modified2014-07-01
published2014-07-01
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-77805
titleLHA 1.x - Buffer Overflow/Directory Traversal Vulnerabilities