LHA metacharacter command execution

lha-metacharacter-command-execution (17198) The risk level is classified as HighHigh Risk

Description:

LHA creates a directory with shell metacharacters within the name, the attacker could execute arbitrary code on the system.


Consequences:

Gain Access

Remedy:

For Red Hat Linux:
Upgrade to the latest lha package, as listed below. Refer to RHSA-2004:323-09 and RHSA-2004:440-04 for more information. See References.

Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 1.14i-10.4.x86_64 or later
Red Hat Enterprise Linux AS (v. 2.1), ES (v. 2.1), WS (v. 2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 1.00-17.3 or later

For Gentoo Linux:
Upgrade to the latest version of lha (114i-r4 or later), as listed in GLSA 200409-13. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • Gentoo Linux
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 AW
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 AS
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • Tsugio Okamoto LHA 1.14 and prior

Reported:

Sep 01, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page