CVE-2004-1000
CVSS2.1
发布时间 :2004-01-10 00:00:00
修订时间 :2008-09-05 16:40:02
NMCOPS    

[原文]lintian 1.23 and earlier removes the working directory even if it was not created by lintian, which may allow local users to delete arbitrary files or directories via a symlink attack.


[CNNVD]Debian Liantia安全临时文件漏洞 Debian Liantia不安全临时文件漏洞(CNNVD-200401-027)

        lintian 1.23及其早期版本删除不管是不是被lintian创建的工作目录。本地用户可以通过符号链接攻击删除任意文件或目录。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/18808
(VENDOR_ADVISORY)  XF  lintian-symlink(18808)
http://secunia.com/advisories/13771
(UNKNOWN)  SECUNIA  13771

- 漏洞信息

Debian Liantia安全临时文件漏洞 Debian Liantia不安全临时文件漏洞
低危 访问验证错误
2004-01-10 00:00:00 2005-10-20 00:00:00
本地  
        lintian 1.23及其早期版本删除不管是不是被lintian创建的工作目录。本地用户可以通过符号链接攻击删除任意文件或目录。

- 公告与补丁

        Debian has released advisory DSA 630-1 to provide updates that address this issue.
        Debian lintian 1.2 0.17.1
        

- 漏洞信息 (F35653)

dsa-630.txt (PacketStormID:F35653)
2005-01-11 00:00:00
 
advisory
linux,debian
CVE-2004-1000
[点击下载]

Debian Security Advisory 630-1 - Jeroen van Wolffelaar discovered a problem in lintian, the Debian package checker. The program removes the working directory even if it was not created at program start, removing an unrelated file or directory a malicious user inserted via a symlink attack.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 630-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 10th, 2005                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : lintian
Vulnerability  : insecure temporary directory
Problem-Type   : local
Debian-specific: yes
CVE ID         : CAN-2004-1000
Debian Bug     : 286681

Jeroen van Wolffelaar discovered a problem in lintian, the Debian
package checker.  The program removes the working directory even if it
wasn't created at program start, removing an unrelated file or
directory a malicious user inserted via a symlink attack.

For the stable distribution (woody) this problem has been fixed in
version 1.20.17.1.

For the unstable distribution (sid) this problem has been fixed in
version 1.23.6.

We recommend that you upgrade your lintian package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/l/lintian/lintian_1.20.17.1.dsc
      Size/MD5 checksum:      505 03d54a4d67f1c784cbee0fdac29fd9d6
    http://security.debian.org/pool/updates/main/l/lintian/lintian_1.20.17.1.tar.gz
      Size/MD5 checksum:   198277 886c05fe72a348ca3db23856c59bf8af

  Architecture independent components:

    http://security.debian.org/pool/updates/main/l/lintian/lintian_1.20.17.1_all.deb
      Size/MD5 checksum:   171384 bc968e0eeebad128e743d716e4bc10e7


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB4kg3W5ql+IAeqTIRAlBlAKCJsr+mnfrpvTopHaazkXJHYbuIwACgshD5
bT+2113w6otPFfB9cmE+5IU=
=ImS0
-----END PGP SIGNATURE-----

    

- 漏洞信息

12786
Debian lintian Symlink Arbitrary File Delete
Local Access Required Race Condition
Loss of Integrity
Exploit Unknown

- 漏洞描述

Lintian contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered via a symlink attack in which the program removes the working directory even if it wasn't created at program start, removing an unrelated file or directory an attacker inserted. This flaw may lead to a loss of integrity.

- 时间线

2005-01-10 Unknow
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

Debian Liantian Insecure Temporary File Vulnerability
Access Validation Error 12202
No Yes
2005-01-10 12:00:00 2009-07-12 09:27:00
Discovery is credited to Jeroen van Wolffelaar.

- 受影响的程序版本

Debian lintian 1.2 0.17.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

- 漏洞讨论

The Debian lintian program creates temporary files in an insecure manner. A local attacker could exploit this condition to launch symbolic link attacks to cause arbitrary files to be deleted in the context of the user running the program.

- 漏洞利用

There is no exploit required.

- 解决方案

Debian has released advisory DSA 630-1 to provide updates that address this issue.


Debian lintian 1.2 0.17.1

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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