CVE-2004-0156
CVSS5.0
发布时间 :2004-06-01 00:00:00
修订时间 :2016-10-17 22:41:14
NMCOPS    

[原文]Format string vulnerabilities in the (1) die or (2) log_event functions for ssmtp before 2.50.6 allow remote mail relays to cause a denial of service and possibly execute arbitrary code.


[CNNVD]SSMTP邮件转送代理者多重格式化字符串漏洞(CNNVD-200406-027)

        ssmtp 2.50.6之前版本的(1)die或者(2)log_event函数存在格式化字符串漏洞。远程邮件继电器借助该漏洞导致服务拒绝和可能执行任意代码。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=108403772130855&w=2
(UNKNOWN)  BUGTRAQ  20040507 [OpenPKG-SA-2004.020] OpenPKG Security Advisory (ssmtp)
http://security.gentoo.org/glsa/glsa-200404-18.xml
(VENDOR_ADVISORY)  GENTOO  GLSA-200404-18
http://securitytracker.com/id?1009788
(UNKNOWN)  SECTRACK  1009788
http://www.debian.org/security/2004/dsa-485
(VENDOR_ADVISORY)  DEBIAN  DSA-485
http://www.securityfocus.com/bid/10150
(UNKNOWN)  BID  10150
http://xforce.iss.net/xforce/xfdb/15872
(UNKNOWN)  XF  ssmtp-die-logevent-format-string(15872)

- 漏洞信息

SSMTP邮件转送代理者多重格式化字符串漏洞
中危 格式化字符串
2004-06-01 00:00:00 2005-10-20 00:00:00
远程  
        ssmtp 2.50.6之前版本的(1)die或者(2)log_event函数存在格式化字符串漏洞。远程邮件继电器借助该漏洞导致服务拒绝和可能执行任意代码。

- 公告与补丁

        OpenPKG has released an advisory (OpenPKG-SA-2004.020) to address these issues. Please see the referenced advisory for more information.
        Debian has released an advisory DSA 485-1 to address these issues. Please see the referenced advisory for more information.
        Gentoo has released an advisory to provide updates that fix this issue. These updates may be applied with the following commands:
        # emerge sync
        # emerge -pv ">=net-mail/ssmtp-2.60.7"
        # emerge ">=net-mail/ssmtp-2.60.7"
        OpenPKG OpenPKG 2.0
        
        ssmtp ssmtp 2.50.6
        

- 漏洞信息 (F33092)

dsa-485.txt (PacketStormID:F33092)
2004-04-15 00:00:00
Matt Zimmerman  debian.org
advisory,remote,root,vulnerability
linux,debian
CVE-2004-0156
[点击下载]

Debian Security Advisory DSA 485-1 - Max Vozeler discovered two format string vulnerabilities in ssmtp, a simple mail transport agent. Untrusted values in the functions die() and log_event() were passed to printf-like functions as format strings. These vulnerabilities could potentially be exploited by a remote mail relay to gain the privileges of the ssmtp process (including potentially root).

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 485-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
April 14th, 2004                        http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : ssmtp
Vulnerability  : format string
Problem-Type   : remote
Debian-specific: no
CVE Ids        : CAN-2004-0156

Max Vozeler discovered two format string vulnerabilities in ssmtp, a
simple mail transport agent.  Untrusted values in the functions die()
and log_event() were passed to printf-like functions as format
strings.  These vulnerabilities could potentially be exploited by a
remote mail relay to gain the privileges of the ssmtp process
(including potentially root).

For the current stable distribution (woody) this problem will be fixed
in version 2.50.6.1.

For the unstable distribution (sid), this problem will be fixed soon.

We recommend that you update your ssmtp 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/s/ssmtp/ssmtp_2.50.6.1.dsc
      Size/MD5 checksum:      452 c36084c67873e0881794278c0be140c5
    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1.tar.gz
      Size/MD5 checksum:   139907 eb45734311f00894e6b135c8fafb7c9a

  Alpha architecture:

   http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_alpha.deb
      Size/MD5 checksum:    29388 9b7b4fb95fa15cb68dda2feb4750bd0d

  ARM architecture:

   http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_arm.deb
      Size/MD5 checksum:    27068 cce2793db67d3e2c15bdbf562b7d9701

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_i386.deb
      Size/MD5 checksum:    26288 ba0326f0d192bb059cb2b205a8a1420c

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_ia64.deb
      Size/MD5 checksum:    33312 3d44b78e280f79ce80bd9af6f2ee36c1

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_hppa.deb
      Size/MD5 checksum:    26742 74b56161785b972bf60b30a580b1b75f

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_m68k.deb
      Size/MD5 checksum:    25870 845aec84ff6a0bda0d41c9408aa6db35

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_mips.deb
      Size/MD5 checksum:    27346 fd8ffe053e266e1209dd821209e03051

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_mipsel.deb
      Size/MD5 checksum:    27340 7549f22f6bcf6c6adfd9caf1aac1f5da

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_powerpc.deb
      Size/MD5 checksum:    26182 5113c9871cae26e5cd24ca01dd5db30b

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_s390.deb
      Size/MD5 checksum:    26984 3a8dd685a65f9b4e84f1025168fdfa3a

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/s/ssmtp/ssmtp_2.50.6.1_sparc.deb
      Size/MD5 checksum:    29152 d4460c1db6fd727129a576329136866d

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

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

iD8DBQFAfd29ArxCt0PiXR4RAtJJAJ4pOMwG6xMEQp0/z95n89pO63Xc1wCeJACg
IJFAYiwttOFOl18oGMTC9HE=
=5kei
-----END PGP SIGNATURE-----
    

- 漏洞信息

5360
sSMTP die Format String
Local Access Required, Local / Remote, Context Dependent Input Manipulation
Loss of Integrity
Exploit Unknown

- 漏洞描述

A format string error exists in sSMTP. The program contains a number of format string vulnerabilities which can result in buffer overflows. With a specially crafted request, an attacker can potentially cause execution of code resulting in a loss of integrity.

- 时间线

2004-04-14 Unknow
Unknow Unknow

- 解决方案

Upgrade to version supplied by your vendor - if available. It is recommended to choose another mail program as sSMTP is not being maintained actively by the author.

- 相关参考

- 漏洞作者

- 漏洞信息

SSMTP Mail Transfer Agent Multiple Format String Vulnerabilities
Input Validation Error 10150
Yes No
2004-04-15 12:00:00 2009-07-12 04:06:00
Discovery is credited to Max Vozeler.

- 受影响的程序版本

ssmtp ssmtp 2.50.6
OpenPKG OpenPKG 2.0
OpenPKG OpenPKG 1.3
OpenPKG OpenPKG Current

- 漏洞讨论

It has been reported that ssmtp may be prone to multiple format string vulnerabilities that could allow a remote attacker to execute arbitrary code in the context of the vulnerable process. A successful attack may allow an attacker to gain root privileges.

- 漏洞利用

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;.

- 解决方案

OpenPKG has released an advisory (OpenPKG-SA-2004.020) to address these issues. Please see the referenced advisory for more information.

Debian has released an advisory DSA 485-1 to address these issues. Please see the referenced advisory for more information.

Gentoo has released an advisory to provide updates that fix this issue. These updates may be applied with the following commands:
# emerge sync
# emerge -pv ">=net-mail/ssmtp-2.60.7"
# emerge ">=net-mail/ssmtp-2.60.7"


OpenPKG OpenPKG 2.0

ssmtp ssmtp 2.50.6

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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