CVE-2004-0851
CVSS2.1
发布时间 :2004-09-08 00:00:00
修订时间 :2016-10-17 22:49:31
NMCOPS    

[原文]The (1) write_list and (2) dump_curr_list functions in Net-Acct before 0.71 allows local users to overwrite arbitrary files via a symlink attack on temporary files.


[CNNVD]Net-Acct符号链接漏洞(CNNVD-200409-016)

        Net-Acct 0.71之前的版本的(1) write_list和(2) dump_curr_list函数存在漏洞。本地用户借助暂时文件的符号链接攻击覆盖任意文件。

- CVSS (基础分值)

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

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

cpe:/a:ulrich_callmeier:net-acct:0.7
cpe:/a:ulrich_callmeier:net-acct:0.71
cpe:/a:ulrich_callmeier:net-acct:0.6

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://exorsus.net/projects/net-acct/net-acct-notempfiles.patch
(VENDOR_ADVISORY)  CONFIRM  http://exorsus.net/projects/net-acct/net-acct-notempfiles.patch
http://marc.info/?l=bugtraq&m=109466910232385&w=2
(UNKNOWN)  BUGTRAQ  20040908 Insecure Temporary File Creation Vulnerability in Net-Acct
http://www.debian.org/security/2004/dsa-559
(VENDOR_ADVISORY)  DEBIAN  DSA-559
http://www.securityfocus.com/bid/11125
(VENDOR_ADVISORY)  BID  11125
http://xforce.iss.net/xforce/xfdb/17283
(VENDOR_ADVISORY)  XF  net-acct-tmp-symlink(17283)

- 漏洞信息

Net-Acct符号链接漏洞
低危 访问验证错误
2004-09-08 00:00:00 2005-10-20 00:00:00
本地  
        Net-Acct 0.71之前的版本的(1) write_list和(2) dump_curr_list函数存在漏洞。本地用户借助暂时文件的符号链接攻击覆盖任意文件。

- 公告与补丁

        Debian Linux has released an advisory (DSA 559-1) along with fixes dealing with this issue. Please see the referenced advisory for more information.
        The vendor has released a patch to address this issue:
        Ulrich Callmeier Net-Acct 0.6
        
        Ulrich Callmeier Net-Acct 0.7
        
        Ulrich Callmeier Net-Acct 0.71
        

- 漏洞信息 (F34604)

dsa-559.txt (PacketStormID:F34604)
2004-10-13 00:00:00
 
advisory,local
linux,debian
CVE-2004-0851
[点击下载]

Debian Security Advisory DSA 559-1 - Stefan Nordhausen has identified a local security hole in net-acct, a user-mode IP accounting daemon. Old and redundant code from some time way back in the past created a temporary file in an insecure fashion.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 559-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
October 6th, 2004                       http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : net-acct
Vulnerability  : insecure temporary file
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2004-0851
Debian Bug     : 270359

Stefan Nordhausen has identified a local security hole in net-acct, a
user-mode IP accounting daemon.  Old and redundant code from some time
way back in the past created a temporary file in an insecure fashion.

For the stable distribution (woody) this problem has been fixed in
version 0.71-5woody1.

For the unstable distribution (sid) this problem has been fixed in
version 0.71-7.

We recommend that you upgrade your net-acct 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/n/net-acct/net-acct_0.71-5woody1.dsc
      Size/MD5 checksum:      562 72c93549d6dd86d7365d206706ff9a62
    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1.diff.gz
      Size/MD5 checksum:     9950 ab1dd923a4e18d520793c34738d2a8f4
    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71.orig.tar.gz
      Size/MD5 checksum:    44741 87daae6d4b06144534205b3fc201c058

  Alpha architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_alpha.deb
      Size/MD5 checksum:    52922 339d98c59e34655dc8762e076251fbd3

  ARM architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_arm.deb
      Size/MD5 checksum:    50096 f7a21521634202264dacfae238716bf5

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_i386.deb
      Size/MD5 checksum:    49346 c90d2f7b3f777905c5f8f90f8edd6b57

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_ia64.deb
      Size/MD5 checksum:    58530 df761be43caec7fa543d37279c265afd

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_hppa.deb
      Size/MD5 checksum:    51702 145f469e3c2bfae125ff4e0a23729a0a

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_m68k.deb
      Size/MD5 checksum:    46882 e1dabe763136c5cfd0b04de8fd691fb7

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_mips.deb
      Size/MD5 checksum:    49332 7393517e4ac4f83e0fbc6efda5118a2f

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_mipsel.deb
      Size/MD5 checksum:    49380 60ae8a7d4c1265fb07adaaf6d49cbe2f

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_powerpc.deb
      Size/MD5 checksum:    49824 3442f397b0db858aa4bfb9e4d418a5f4

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_s390.deb
      Size/MD5 checksum:    47688 69c06b385a4ff25df34dd60052c88fc4

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/n/net-acct/net-acct_0.71-5woody1_sparc.deb
      Size/MD5 checksum:    51684 083a1078e261fd3621f37f17c8305885


  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)

iD8DBQFBY+dmW5ql+IAeqTIRAuOjAKCcFfAtJBrSdp8RoUiPHkvlmWU3GQCgjJdI
FwMrf2WeGJ47K7dtO5IwHfI=
=Lv9/
-----END PGP SIGNATURE-----

    

- 漏洞信息

9750
Net-Acct Insecure Temporary File Creation
Local Access Required Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

Net-Acct contains a flaw that may allow a local malicious user to perform a symlink attack using a temporary file (/tmp/nacctd.write.[pid]) created with the rite_list and dump_curr_list functions. The issue is triggered when a local malicious user creates a specially crafted temporary file and creates a symlink to an arbitrary file. It is possible that the flaw may allow arbitrary code execution resulting in a loss of integrity.

- 时间线

2004-09-07 Unknow
2004-09-07 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, the Net-Acct team has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

- 漏洞信息

Net-Acct Symbolic Link Vulnerability
Access Validation Error 11125
No Yes
2004-09-07 12:00:00 2009-07-12 07:06:00
Discovery of this vulnerability is credited to Stefan Nordhausen.

- 受影响的程序版本

Ulrich Callmeier Net-Acct 0.71
+ 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
Ulrich Callmeier Net-Acct 0.7
Ulrich Callmeier Net-Acct 0.6
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

- 漏洞讨论

Net-Acct is reportedly affected by a symbolic link vulnerability. This issue is due to a design error that fails to properly verify files prior to writing to them.

This issue will allow an attacker to overwrite arbitrary files. Reportedly, this issue could be leveraged to facilitate privilege escalation.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

Debian Linux has released an advisory (DSA 559-1) along with fixes dealing with this issue. Please see the referenced advisory for more information.

The vendor has released a patch to address this issue:


Ulrich Callmeier Net-Acct 0.6

Ulrich Callmeier Net-Acct 0.7

Ulrich Callmeier Net-Acct 0.71

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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