CVE-2005-2918
CVSS5.0
发布时间 :2005-09-15 16:03:00
修订时间 :2016-10-17 23:31:37
NMCOPS    

[原文]The open_cmd_tube function in mount.c for gtkdiskfree 1.9.3 and earlier allows local users to overwrite arbitrary files via a symlink attack on the gtkdiskfree temporary file.


[CNNVD]GTKDiskFree以不安全方式创建临时文件漏洞(CNNVD-200509-140)

        GtkDiskFree是用于显示加载文件系统上空闲空间的程序,还可以显示文件系统类型等其他信息。
        gtkdiskfree 1.9.3及更早的版本中,open_cmd_tube函数可能允许本地用户通过临时文件的symlink攻击去覆盖任意的文件。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2918
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-2918
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200509-140
(官方数据源) CNNVD

- 其它链接及资源

http://bugs.gentoo.org/show_bug.cgi?id=104565
(VENDOR_ADVISORY)  CONFIRM  http://bugs.gentoo.org/show_bug.cgi?id=104565
http://marc.info/?l=bugtraq&m=112680706715109&w=2
(UNKNOWN)  BUGTRAQ  20050915 gtkdiskfree insecure temporary file creation
http://www.debian.org/security/2005/dsa-822
(UNKNOWN)  DEBIAN  DSA-822
http://www.gentoo.org/security/en/glsa/glsa-200510-01.xml
(UNKNOWN)  GENTOO  GLSA-200510-01
http://www.zataz.net/adviso/gtkdiskfree-09052005.txt
(VENDOR_ADVISORY)  MISC  http://www.zataz.net/adviso/gtkdiskfree-09052005.txt

- 漏洞信息

GTKDiskFree以不安全方式创建临时文件漏洞
中危 设计错误
2005-09-15 00:00:00 2005-10-20 00:00:00
本地  
        GtkDiskFree是用于显示加载文件系统上空闲空间的程序,还可以显示文件系统类型等其他信息。
        gtkdiskfree 1.9.3及更早的版本中,open_cmd_tube函数可能允许本地用户通过临时文件的symlink攻击去覆盖任意的文件。

- 公告与补丁

        暂无数据

- 漏洞信息 (F40436)

Gentoo Linux Security Advisory 200510-1 (PacketStormID:F40436)
2005-10-06 00:00:00
Gentoo  security.gentoo.org
advisory
linux,gentoo
CVE-2005-2918
[点击下载]

Gentoo Linux Security Advisory GLSA 200510-01 - Eric Romang discovered that gtkdiskfree insecurely creates a predictable temporary file to handle command output. Versions less than 1.9.3-r1 are affected.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200510-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: gtkdiskfree: Insecure temporary file creation
      Date: October 03, 2005
      Bugs: #104565
        ID: 200510-01

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

Synopsis
========

gtkdiskfree is vulnerable to symlink attacks, potentially allowing a
local user to overwrite arbitrary files.

Background
==========

gtkdiskfree is a GTK-based GUI to show free disk space.

Affected packages
=================

    -------------------------------------------------------------------
     Package                /  Vulnerable  /                Unaffected
    -------------------------------------------------------------------
  1  app-admin/gtkdiskfree     < 1.9.3-r1                  >= 1.9.3-r1

Description
===========

Eric Romang discovered that gtkdiskfree insecurely creates a
predictable temporary file to handle command output.

Impact
======

A local attacker could create a symbolic link in the temporary files
directory, pointing to a valid file somewhere on the filesystem. When
gtkdiskfree is executed, this would result in the file being
overwritten with the rights of the user running the application.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All gtkdiskfree users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-admin/gtkdiskfree-1.9.3-r1"

References
==========

  [ 1 ] CAN-2005-2918
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2918
  [ 2 ] Original Advisory
        http://www.zataz.net/adviso/gtkdiskfree-09052005.txt

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200510-01.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

    

- 漏洞信息 (F40357)

Debian Linux Security Advisory 822-1 (PacketStormID:F40357)
2005-10-04 00:00:00
Debian  security.debian.org
advisory
linux,debian
CVE-2005-2918
[点击下载]

Debian Security Advisory DSA 822-1 - Eric Romang discovered that gtkdiskfree, a GNOME program that shows free and used space on filesystems, creates a temporary file in an insecure fashion.

- 漏洞信息

19487
GtkDiskFree /tmp/gtkdiskfree Symlink Arbitrary File Overwrite
Local Access Required Race Condition
Vendor Verified

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-09-15 2005-09-02
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

GTKDiskFree Insecure Temporary File Creation Vulnerability
Design Error 14849
No Yes
2005-09-15 12:00:00 2009-07-12 05:06:00
Eric Romang (eromang@zataz.net - ZATAZ Audit) is credited with the discovery of this vulnerability.

- 受影响的程序版本

GtkDiskFree GtkDiskFree 1.9.3
+ 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
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

- 漏洞讨论

GtkDiskFree creates temporary files in an insecure manner. The issue exists in the 'src/mount.c' file.

Exploitation would most likely result in loss of data or a denial of service if critical files are overwritten in the attack. Other attacks may be possible as well.

- 漏洞利用

No exploit is required.

- 解决方案

Debian has released advisory DSA 822-1 to address this issue. Please see the attached advisory for details on obtaining and applying fixes.

Gentoo has released security advisory GLSA 200510-01 addressing this issue. Gentoo recommends all gtkdiskfree users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/gtkdiskfree-1.9.3-r1"

---
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.


GtkDiskFree GtkDiskFree 1.9.3

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站