发布时间 :2006-01-24 21:03:00
修订时间 :2011-03-07 21:29:36

[原文]Buffer overflow in Library of Assorted Spiffy Things (LibAST) 0.6.1 and earlier, as used in Eterm and possibly other software, allows local users to execute arbitrary code as the utmp user via a long -X command line argument (alternative configuration file name).

[CNNVD]Eterm LibAST Library缓冲区溢出漏洞(CNNVD-200601-305)

        Library of Assorted Spiffy Things (LibAST) 0.6.1及更早版本中的缓冲区溢出漏洞(用在Eterm和可能的其他软件中),可让本地用户通过长-X命令行参数(备用配置文件名)作为utmp用户执行任意代码。

- CVSS (基础分值)

CVSS分值: 4.6 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)


- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  BUGTRAQ  20060123 [ Rosiello Security ] Eterm-LibAST Advisory
(VENDOR_ADVISORY)  BUGTRAQ  20060125 Rosiello Security - Eterm-LibAST Advisory
(UNKNOWN)  VUPEN  ADV-2006-0314
(UNKNOWN)  BID  16350
(UNKNOWN)  BUGTRAQ  20060123 LibAST 0.7 Release Fixes Security Vulnerability
(UNKNOWN)  XF  eterm-libast-filename-bo(24303)

- 漏洞信息

Eterm LibAST Library缓冲区溢出漏洞
中危 缓冲区溢出
2006-01-24 00:00:00 2006-01-31 00:00:00
        Library of Assorted Spiffy Things (LibAST) 0.6.1及更早版本中的缓冲区溢出漏洞(用在Eterm和可能的其他软件中),可让本地用户通过长-X命令行参数(备用配置文件名)作为utmp用户执行任意代码。

- 公告与补丁

        LibAST LibAST 0.6
        Debian libast2-dev_0.6-0pre2003010606sarge1_alpha.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_alpha.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_amd64.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_amd64.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_arm.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_arm.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_hppa.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_hppa.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_i386.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_i386.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_ia64.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_ia64.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_m68k.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_m68k.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_mips.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_mips.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_mipsel.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_mipsel.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_powerpc.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_powerpc.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_s390.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_s390.deb
        Debian libast2-dev_0.6-0pre2003010606sarge1_sparc.deb
        Debian GNU/Linux 3.1 alias sarge .6-0pre2003010606sarge1_sparc.deb
        Debian libast2_0.6-0pre2003010606sarge1_alpha.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_alpha.deb
        Debian libast2_0.6-0pre2003010606sarge1_amd64.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_amd64.deb
        Debian libast2_0.6-0pre2003010606sarge1_arm.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_arm.deb
        Debian libast2_0.6-0pre2003010606sarge1_hppa.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_hppa.deb
        Debian libast2_0.6-0pre2003010606sarge1_i386.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_i386.deb
        Debian libast2_0.6-0pre2003010606sarge1_ia64.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_ia64.deb
        Debian libast2_0.6-0pre2003010606sarge1_m68k.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_m68k.deb
        Debian libast2_0.6-0pre2003010606sarge1_mips.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_mips.deb
        Debian libast2_0.6-0pre2003010606sarge1_mipsel.deb
        Debian GNU/Linux 3.1 alias sarge pre2003010606sarge1_mipsel.deb
        Debian libast2_0.6-0pre2003010606sarge1_powe

- 漏洞信息

LibAST conf_find_file() Configuration Filename Processing Overflow
Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2006-01-23 2006-01-15
Unknow Unknow

- 解决方案

Upgrade to version 0.7 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Eterm LibAST Library Local Buffer Overflow Vulnerability
Boundary Condition Error 16350
No Yes
2006-01-23 12:00:00 2006-12-13 08:13:00
Discovered by Johnny Mast from Rosiello Security.

- 受影响的程序版本

Mandriva Linux Mandrake 2006.0 x86_64
Mandriva Linux Mandrake 2006.0
LibAST LibAST 0.6.1
LibAST LibAST 0.6
LibAST LibAST 0.5
LibAST LibAST 0.4
Gentoo Linux
Debian Linux 3.1 sparc
Debian Linux 3.1 s/390
Debian Linux 3.1 ppc
Debian Linux 3.1 mipsel
Debian Linux 3.1 mips
Debian Linux 3.1 m68k
Debian Linux 3.1 ia-64
Debian Linux 3.1 ia-32
Debian Linux 3.1 hppa
Debian Linux 3.1 arm
Debian Linux 3.1 amd64
Debian Linux 3.1 alpha
Debian Linux 3.1
Debian Linux 3.0 sparc
Debian Linux 3.0 s/390
Debian Linux 3.0 ppc
Debian Linux 3.0 mipsel
Debian Linux 3.0 mips
Debian Linux 3.0 m68k
Debian Linux 3.0 ia-64
Debian Linux 3.0 ia-32
Debian Linux 3.0 hppa
Debian Linux 3.0 arm
Debian Linux 3.0 alpha
Debian Linux 3.0

- 漏洞讨论

Eterm LibAST library is prone to a local buffer-overflow vulnerability.

An attacker can trigger this issue by supplying a long filename through the '-X' option of Eterm. A successful attack can corrupt memory and facilitate arbitrary code execution with the privileges of the 'utmp' user.

LibAST versions 0.6.1 and prior are vulnerable to this issue.

Note that other applications using the affected library may be vulnerable as well.

- 漏洞利用

Exploit code is available.

- 解决方案

LibAST 0.7 has been released to address this issue. Please see the referenced vendor advisories for further information.

LibAST LibAST 0.6

LibAST LibAST 0.5

LibAST LibAST 0.4

LibAST LibAST 0.6.1

- 相关参考