Vulnerabilities > CVE-2004-0235 - Buffer Overflow/Directory Traversal vulnerability in Multiple LHA

047910
CVSS 6.4 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
NONE

Summary

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 ("//absolute/path").

Vulnerable Configurations

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

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

  • accepted2013-04-29T04:05:25.234-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 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 ("//absolute/path").
    familyunix
    idoval:org.mitre.oval:def:10409
    statusaccepted
    submitted2010-07-09T03:56:16-04:00
    titleMultiple 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 ("//absolute/path").
    version26
  • accepted2004-07-12T12:00:00.000-04:00
    classvulnerability
    contributors
    nameJay Beale
    organizationBastille Linux
    descriptionMultiple 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 ("//absolute/path").
    familyunix
    idoval:org.mitre.oval:def:978
    statusaccepted
    submitted2004-06-10T12:00:00.000-04:00
    titleMultiple Directory Traversal Vulnerabilities in LHA
    version4

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