CVE-2005-0107
CVSS7.5
发布时间 :2005-02-25 00:00:00
修订时间 :2008-09-05 16:45:20
NMCOPS    

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


[CNNVD]bsmtpd远程命令注入漏洞(CNNVD-200502-097)

        BSMTP是一种用于UUCP环境下批量发送邮件的工具。
        BSMTP在处理用户请求参数时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上执行任意命令。
        BSMTP的bsmtpd没有正确过滤用户请求参数可能包含的带有Shell转义符的系统命令,攻击者可以通过在输入参数中插入恶意命令以bsmtpd的权限执行。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.debian.org/security/2005/dsa-690
(VENDOR_ADVISORY)  DEBIAN  DSA-690

- 漏洞信息

bsmtpd远程命令注入漏洞
高危 输入验证
2005-02-25 00:00:00 2005-10-20 00:00:00
远程  
        BSMTP是一种用于UUCP环境下批量发送邮件的工具。
        BSMTP在处理用户请求参数时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上执行任意命令。
        BSMTP的bsmtpd没有正确过滤用户请求参数可能包含的带有Shell转义符的系统命令,攻击者可以通过在输入参数中插入恶意命令以bsmtpd的权限执行。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        bsmtpd bsmtpd 2.3
        Debian bsmtpd_2.3pl8b-12woody1_alpha.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_alpha.deb
        Debian bsmtpd_2.3pl8b-12woody1_arm.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_arm.deb
        Debian bsmtpd_2.3pl8b-12woody1_hppa.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_hppa.deb
        Debian bsmtpd_2.3pl8b-12woody1_i386.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_i386.deb
        Debian bsmtpd_2.3pl8b-12woody1_ia64.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_ia64.deb
        Debian bsmtpd_2.3pl8b-12woody1_m68k.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_m68k.deb
        Debian bsmtpd_2.3pl8b-12woody1_mips.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_mips.deb
        Debian bsmtpd_2.3pl8b-12woody1_mipsel.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_mipsel.deb
        Debian bsmtpd_2.3pl8b-12woody1_powerpc.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_powerpc.deb
        Debian bsmtpd_2.3pl8b-12woody1_s390.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_s390.deb
        Debian bsmtpd_2.3pl8b-12woody1_sparc.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-1 2woody1_sparc.deb

- 漏洞信息 (F36342)

dsa-690.txt (PacketStormID:F36342)
2005-02-28 00:00:00
 
advisory,arbitrary
linux,debian
CVE-2005-0107
[点击下载]

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.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 690-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
February 25th, 2005                     http://www.debian.org/security/faq
- --------------------------------------------------------------------------

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:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1.dsc
      Size/MD5 checksum:      580 a52f31e37ed84f6c77334d42b285d327
    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1.diff.gz
      Size/MD5 checksum:    16757 25feec8311fd898c59a187c048876331
    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b.orig.tar.gz
      Size/MD5 checksum:    21212 d474faf9252f6ba381a57bb2f1aaf48d

  Alpha architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_alpha.deb
      Size/MD5 checksum:    34626 7e8281efce33079aa51426283369e1fd

  ARM architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_arm.deb
      Size/MD5 checksum:    32010 4d74ca73f494c8d6babf2c58b100b06b

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_i386.deb
      Size/MD5 checksum:    30210 22fa9205cfd747abf64a1974efc25900

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_ia64.deb
      Size/MD5 checksum:    39420 ebe934e628a84dd653b7f3f5c8d3db50

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_hppa.deb
      Size/MD5 checksum:    33990 9b9252f3347b7e26e6057b655f6dfe1f

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_m68k.deb
      Size/MD5 checksum:    29404 1cd6143691b6f8c30d899e9a05db1be4

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_mips.deb
      Size/MD5 checksum:    32212 902f889f98881692e24c5cac80ac2046

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_mipsel.deb
      Size/MD5 checksum:    32270 8df7c0f9206a297352fe27ec2ed7aa10

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_powerpc.deb
      Size/MD5 checksum:    32036 05b57cae1bd29bae629836608ba6c6e1

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_s390.deb
      Size/MD5 checksum:    31982 25e56d69999ad2023e97952dd64a6471

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/b/bsmtpd/bsmtpd_2.3pl8b-12woody1_sparc.deb
      Size/MD5 checksum:    34962 f29ca8fd647fe459e173f1ed68b80d49


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

iD8DBQFCHzcsW5ql+IAeqTIRArF4AJ9RXxIdumRgeOLZbz1RgZU4Mmg8mQCdEWEG
W0A+5cqPZSEVlvS+SxVDj4M=
=0yzO
-----END PGP SIGNATURE-----

    

- 漏洞信息

14246
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: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

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

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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