发布时间 :2005-02-25 00:00:00
修订时间 :2008-09-05 16:45:20

[原文]bsmtpd 2.3 and earlier does not properly sanitize e-mail addresses, which allows remote attackers to execute arbitrary commands.



- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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


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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源

- 漏洞信息

高危 输入验证
2005-02-25 00:00:00 2005-10-20 00:00:00

- 公告与补丁

        bsmtpd bsmtpd 2.3
        Debian bsmtpd_2.3pl8b-12woody1_alpha.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_alpha.deb
        Debian bsmtpd_2.3pl8b-12woody1_arm.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_arm.deb
        Debian bsmtpd_2.3pl8b-12woody1_hppa.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_hppa.deb
        Debian bsmtpd_2.3pl8b-12woody1_i386.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_i386.deb
        Debian bsmtpd_2.3pl8b-12woody1_ia64.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_ia64.deb
        Debian bsmtpd_2.3pl8b-12woody1_m68k.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_m68k.deb
        Debian bsmtpd_2.3pl8b-12woody1_mips.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_mips.deb
        Debian bsmtpd_2.3pl8b-12woody1_mipsel.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_mipsel.deb
        Debian bsmtpd_2.3pl8b-12woody1_powerpc.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_powerpc.deb
        Debian bsmtpd_2.3pl8b-12woody1_s390.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_s390.deb
        Debian bsmtpd_2.3pl8b-12woody1_sparc.deb
        Debian GNU/Linux 3.0 alias woody 2woody1_sparc.deb

- 漏洞信息 (F36342)

dsa-690.txt (PacketStormID:F36342)
2005-02-28 00:00:00

Debian Security Advisory 690-1 - Bastian Blank found a vulnerability in bsmtpd, a batched SMTP mailer for sendmail and postfix. Unsanitized addresses can cause the execution of arbitrary commands during alleged mail delivery.

Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 690-1                                        Martin Schulze
February 25th, 2005           
- --------------------------------------------------------------------------

Package        : bsmtpd
Vulnerability  : missing input sanitising
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2005-0107

Bastian Blank a vulnerability in bsmtpd, a batched SMTP mailer for
sendmail and postfix.  Unsanitised addresses can cause the execution
of arbitrary commands during alleged mail delivery.

For the stable distribution (woody) this problem has been fixed in
version 2.3pl8b-12woody1.

For the unstable distribution (sid) this problem has been fixed in
version 2.3pl8b-16.

We recommend that you upgrade your bsmtpd 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:
      Size/MD5 checksum:      580 a52f31e37ed84f6c77334d42b285d327
      Size/MD5 checksum:    16757 25feec8311fd898c59a187c048876331
      Size/MD5 checksum:    21212 d474faf9252f6ba381a57bb2f1aaf48d

  Alpha architecture:
      Size/MD5 checksum:    34626 7e8281efce33079aa51426283369e1fd

  ARM architecture:
      Size/MD5 checksum:    32010 4d74ca73f494c8d6babf2c58b100b06b

  Intel IA-32 architecture:
      Size/MD5 checksum:    30210 22fa9205cfd747abf64a1974efc25900

  Intel IA-64 architecture:
      Size/MD5 checksum:    39420 ebe934e628a84dd653b7f3f5c8d3db50

  HP Precision architecture:
      Size/MD5 checksum:    33990 9b9252f3347b7e26e6057b655f6dfe1f

  Motorola 680x0 architecture:
      Size/MD5 checksum:    29404 1cd6143691b6f8c30d899e9a05db1be4

  Big endian MIPS architecture:
      Size/MD5 checksum:    32212 902f889f98881692e24c5cac80ac2046

  Little endian MIPS architecture:
      Size/MD5 checksum:    32270 8df7c0f9206a297352fe27ec2ed7aa10

  PowerPC architecture:
      Size/MD5 checksum:    32036 05b57cae1bd29bae629836608ba6c6e1

  IBM S/390 architecture:
      Size/MD5 checksum:    31982 25e56d69999ad2023e97952dd64a6471

  Sun Sparc architecture:
      Size/MD5 checksum:    34962 f29ca8fd647fe459e173f1ed68b80d49

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

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list:
Package info: `apt-cache show <pkg>' and<pkg>

Version: GnuPG v1.4.0 (GNU/Linux)



- 漏洞信息

bsmtpd Malformed Address Arbitrary Command Injection

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-02-25 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

BSMTPD Remote Arbitrary Command Execution Vulnerability
Input Validation Error 12661
Yes No
2005-02-25 12:00:00 2009-07-12 10:56:00
Bastian Blank is credited with the discovery of this vulnerability.

- 受影响的程序版本

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
bsmtpd bsmtpd 2.3

- 漏洞讨论

The bsmtpd daemon is reported prone to a remote arbitrary command execution vulnerability.

A remote attacker may exploit his condition to execute arbitrary shell commands in the context of the affected bsmtpd daemon.

- 漏洞利用

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: &lt;;.

- 解决方案

Debian has released an advisory (DSA 690-1) and fixes to address this vulnerability. Please see the referenced advisory for further details regarding obtaining and applying an appropriate update.

bsmtpd bsmtpd 2.3

- 相关参考