Users login

Create an account »

JOIN XATRIX

Users login

Home » Security Advisories» Conectiva » Buffer overflow and directory traversal vulnerabilities

Buffer overflow and directory traversal vulnerabilities

Ulf Härnhammar discovered a buffer overflow and a directory traversal vulnerability in the lha utility. Both vulnerabilities can be exploited by an attacker with the use of specially crafted LHarc archives. When processed by lha, these files may cause it to execute arbitrary code (exploiting the buffer overflow vulnerability), or overwrite arbitrary files if the user unpacking the malicious archive has sufficient filesystem permissions to do so (exploiting the directory traversal vulnerability).

  • Vendor: Conectiva
  • Vendor ID: CLA-2004:840
  • Date: May 06, 2004


CONECTIVA LINUX SECURITY ANNOUNCEMENT
- --------------------------------------------------------------------------

PACKAGE : lha
SUMMARY : Buffer overflow and directory traversal vulnerabilities
DATE : 2004-05-06 18:20:00
ID : CLA-2004:840
RELEVANT
RELEASES : 8, 9

- -------------------------------------------------------------------------

DESCRIPTION
Lha is an archiving and compression utility for LHarc format
archives.

Ulf Härnhammar discovered a buffer overflow[1] and a directory
traversal [2]vulnerability in the lha utility. Both vulnerabilities
can be exploited by an attacker with the use of specially crafted
LHarc archives. When processed by lha, these files may cause it to
execute arbitrary code (exploiting the buffer overflow vulnerability)
or overwrite arbitrary files if the user unpacking the malicious
archive has sufficient filesystem permissions to do so (exploiting
the directory traversal vulnerability).

This update fixes both issues.


SOLUTION
All users of the lha utility should upgrade.


REFERENCES:
1 .http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0234
2 .http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0235


UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/8/RPMS/lha-1.14i-2U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/SRPMS/lha-1.14i-2U80_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/lha-1.14i-8382U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/lha-1.14i-8382U90_1cl.src.rpm


ADDITIONAL INSTRUCTIONS
The apt tool can be used to perform RPM packages upgrades:

- run: apt-get update
- after that, execute: apt-get upgrade

Detailed instructions regarding the use of apt and upgrade examples
can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en

- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en

- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en

- -------------------------------------------------------------------------
Copyright (c) 2004 Conectiva Inc.
http://www.conectiva.com

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »