(Slackware Issues Fix) lha Buffer Overflows Let Remote Users Create Malicious Archives to Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1010067 |
|
SecurityTracker URL: http://securitytracker.com/id/1010067
|
|
CVE Reference:
CAN-2004-0234, CAN-2004-0235
(Links to External Site)
|
Date: May 5 2004
|
Impact:
Execution of arbitrary code via network, Modification of system information, Modification of user information, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
|
Description:
Several vulnerabilities were reported in the 'lha' LHarc archive processor. A remote user can create a malicious archive that will execute arbitrary code or write files to other directories on the system.
Red Hat reported that there are two stack buffer overflows and two directory traversal flaws in LHA.
A remote user can create a specially crafted LHA archive that, when loaded by the target user, will execute arbitrary code on the target user's system.
A remote user can also create a specially crafted LHA archive that, when expanded by the target user, will create files on the target user's system in a location outside of the current directory.
Ulf Harnhammar is credited with discovering these flaws.
|
Impact:
A remote user can create an archive that, when processed by a target user, will execute arbitrary code on the target user's system with the privileges of the target user or will create files on the target user's system that are located outside of the expected directory.
|
Solution:
Slackware has released a fix.
Updated package for Slackware 8.1:
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/bin-8.3.0-i386-3.tgz
Updated package for Slackware 9.0:
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/bin-8.5.0-i386-2.tgz
Updated package for Slackware 9.1:
ftp://ftp.slackware.com/pub/slackware/slackware-9.1/patches/packages/bin-8.5.0-i486-2.tgz
Updated package for Slackware -current:
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/a/bin-9.0.0-i486-2.tgz
The MD5 signatures are:
Slackware 8.1 package:
3384ae4bc983d18ee003a8e2445b7879 bin-8.3.0-i386-3.tgz
Slackware 9.0 package:
809e3c75d913a39e886f3a38a41e36f3 bin-8.5.0-i386-2.tgz
Slackware 9.1 package:
3db010726fafe7112ff509bd6c1c2909 bin-8.5.0-i486-2.tgz
Slackware -current package:
572f9835f4e2833688482ce866a7b7d4 bin-9.0.0-i486-2.tgz
|
Cause:
Access control error, Boundary error, Input validation error
|
Underlying OS:
Linux (Slackware)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Tue, 4 May 2004 16:34:52 -0700 (PDT)
Subject: [slackware-security] lha update in bin package (SSA:2004-125-01)
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[slackware-security] lha update in bin package (SSA:2004-125-01)
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 'lha'
archive utility. Sites using 'lha' should upgrade to the new bin package
right away.
More details about these issues may be found in the Common
Vulnerabilities and Exposures (CVE) database:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0234
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0235
Here are the details from the Slackware 9.1 ChangeLog:
+--------------------------+
Tue May 4 13:11:26 PDT 2004
patches/packages/bin-8.5.0-i486-2.tgz: Fixed buffer overflows and
directory traversal vulnerabilities in the 'lha' archive utility. Sites
using 'lha' should upgrade to the new bin package right away.
For more details, see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0234
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0235
(* Security fix *)
+--------------------------+
Where to find the new packages:
+-----------------------------+
Updated package for Slackware 8.1:
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/bin-8.3.0-i386-3.tgz
Updated package for Slackware 9.0:
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/bin-8.5.0-i386-2.tgz
Updated package for Slackware 9.1:
ftp://ftp.slackware.com/pub/slackware/slackware-9.1/patches/packages/bin-8.5.0-i486-2.tgz
Updated package for Slackware -current:
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/a/bin-9.0.0-i486-2.tgz
MD5 signatures:
+-------------+
Slackware 8.1 package:
3384ae4bc983d18ee003a8e2445b7879 bin-8.3.0-i386-3.tgz
Slackware 9.0 package:
809e3c75d913a39e886f3a38a41e36f3 bin-8.5.0-i386-2.tgz
Slackware 9.1 package:
3db010726fafe7112ff509bd6c1c2909 bin-8.5.0-i486-2.tgz
Slackware -current package:
572f9835f4e2833688482ce866a7b7d4 bin-9.0.0-i486-2.tgz
Installation instructions:
+------------------------+
Upgrade the package as root:
# upgradepkg bin-8.5.0-i486-2.tgz
+-----+
Slackware Linux Security Team
http://slackware.com/gpg-key
security@slackware.com
+------------------------------------------------------------------------+
| To leave the slackware-security mailing list: |
+------------------------------------------------------------------------+
| Send an email to majordomo@slackware.com with this text in the body of |
| the email message: |
| |
| unsubscribe slackware-security |
| |
| You will get a confirmation message back containing instructions to |
| complete the process. Please do not reply to this email address. |
+------------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAmBuHakRjwEAQIjMRAjBnAJ0YJKyv6/q+duyniBcILNPWomCyigCeP6yK
JSlynouNaINFEec88PLNns4=
=5O8G
-----END PGP SIGNATURE-----
|
|