CVE-2005-4536
CVSS2.1
发布时间 :2005-12-31 00:00:00
修订时间 :2011-03-07 21:28:27
NMCOPS    

[原文]Mail::Audit module in libmail-audit-perl 2.1-5, when logging is enabled without a default log file specified, uses predictable log filenames, which allows local users to overwrite arbitrary files via a symlink attack on the [PID]-audit.log temporary file.


[CNNVD]Mail-Audit不安全临时文件创建漏洞(CNNVD-200512-904)

        libmail-audit-perl 2.1-5中的Mail::Audit模块,在未指定默认的日志文件情况下,启用日志功能时,使用可预计的日志文件名,本地用户可以通过对[PID]-audit.log临时文件的symlink攻击来重写任意文件。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/24380
(UNKNOWN)  XF  perl-mail-audit-symlink(24380)
http://www.vupen.com/english/advisories/2006/0378
(UNKNOWN)  VUPEN  ADV-2006-0378
http://www.debian.org/security/2006/dsa-960
(VENDOR_ADVISORY)  DEBIAN  DSA-960
http://secunia.com/advisories/18656
(VENDOR_ADVISORY)  SECUNIA  18656
http://secunia.com/advisories/18652
(VENDOR_ADVISORY)  SECUNIA  18652
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344029
(UNKNOWN)  CONFIRM  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344029
http://www.securityfocus.com/bid/16434
(UNKNOWN)  BID  16434

- 漏洞信息

Mail-Audit不安全临时文件创建漏洞
低危 设计错误
2005-12-31 00:00:00 2006-02-03 00:00:00
本地  
        libmail-audit-perl 2.1-5中的Mail::Audit模块,在未指定默认的日志文件情况下,启用日志功能时,使用可预计的日志文件名,本地用户可以通过对[PID]-audit.log临时文件的symlink攻击来重写任意文件。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.1-5sarge1_all.deb

- 漏洞信息 (F43517)

Debian Linux Security Advisory 960-1 (PacketStormID:F43517)
2006-02-02 00:00:00
Debian  debian.org
advisory,perl
linux,debian
CVE-2005-4536
[点击下载]

Debian Security Advisory DSA-960-1 - Niko Tyni discovered that the Mail::Audit module, a Perl library for creating simple mail filters, logs to a temporary file with a predictable filename in an insecure fashion when logging is turned on, which is not the case by default.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 960-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 31st, 2006                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : libmail-audit-perl
Vulnerability  : insecure temporay file createion
Problem type   : local
Debian-specific: no
CVE ID         : CVE-2005-4536
Debian Bug     : 344029

Niko Tyni discovered that the Mail::Audit module, a Perl library for
creating simple mail filters, logs to a temporary file with a
predictable filename in an insecure fashion when logging is turned on,
which is not the case by default.

For the old stable distribution (woody) these problems have been fixed in
version 2.0-4woody1.

For the stable distribution (sarge) these problems have been fixed in
version 2.1-5sarge1.

For the unstable distribution (sid) these problems have been fixed in
version 2.1-5sarge1.

We recommend that you upgrade your libmail-audit-perl 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/libm/libmail-audit-perl/libmail-audit-perl_2.0-4woody1.dsc
      Size/MD5 checksum:      663 f1cc82dae98e2a7ae42e29e757797b41
    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.0-4woody1.diff.gz
      Size/MD5 checksum:     5548 64f85349649a968db3493fa8ba27aea1
    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.0.orig.tar.gz
      Size/MD5 checksum:    12526 3bc6043611f0fabdd856498e25bd48f6

  Architecture independent components:

    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.0-4woody1_all.deb
      Size/MD5 checksum:    29446 d7e0e9264e08f04777eb05f543956498
    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/mail-audit-tools_2.0-4woody1_all.deb
      Size/MD5 checksum:     8840 f97415f72fcf1806b18e9e059ae5c6e0


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.1-5sarge1.dsc
      Size/MD5 checksum:      786 766a0a1d409fb6a55d0fd28cfeb9139d
    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.1-5sarge1.diff.gz
      Size/MD5 checksum:     4227 48ed975c7c87db86bcafde084cde94a5
    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.1.orig.tar.gz
      Size/MD5 checksum:    21669 b52b1142fa9ed7d847c531186f913ea6

  Architecture independent components:

    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/libmail-audit-perl_2.1-5sarge1_all.deb
      Size/MD5 checksum:    41836 38128df51141ba4bd495f3d698629b52
    http://security.debian.org/pool/updates/main/libm/libmail-audit-perl/mail-audit-tools_2.1-5sarge1_all.deb
      Size/MD5 checksum:    12176 1d898a6a9f2a40cad0416d5b107df3bd


  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.4.2 (GNU/Linux)

iD8DBQFD3ziMW5ql+IAeqTIRAhWbAJ9TIV09mVk/cctpxkCIeTqmFC8PrQCfTN3y
m05zhJ1hxUem+gIZsybGOtw=
=HCnP
-----END PGP SIGNATURE-----

    

- 漏洞信息

22814
Mail::Audit Log File Symlink Arbitrary File Overwrite
Local Access Required Race Condition
Vendor Verified

- 漏洞描述

Unknown or Incomplete

- 时间线

2006-01-31 2005-12-19
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Mail-Audit Insecure Temporary File Creation Vulnerability
Design Error 16434
No Yes
2006-01-31 12:00:00 2006-12-13 04:03:00
Discovered by Niko Tyni.

- 受影响的程序版本

Mail-Audit Mail-Audit 2.1
Mail-Audit Mail-Audit 2.0
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

- 漏洞讨论

Mail-Audit creates temporary files in an insecure manner. This issue arises only when logging has been enabled.

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.


Mail-Audit 2.1 and prior versions are considered vulnerable.

- 漏洞利用


An exploit is not required.

- 解决方案


Please see the referenced vendor advisories for more information and fixes.

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


Mail-Audit Mail-Audit 2.1

Mail-Audit Mail-Audit 2.0

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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