CVE-2005-4178
CVSS6.5
发布时间 :2005-12-12 16:03:00
修订时间 :2011-03-07 21:27:48
NMCOPS    

[原文]Buffer overflow in Dropbear server before 0.47 allows authenticated users to execute arbitrary code via unspecified inputs that cause insufficient memory to be allocated due to an incorrect expression that does not enforce the proper order of operations.


[CNNVD]Matt Johnston Dropbear SSH Server远程缓冲区溢出漏洞(CNNVD-200512-220)

        Dropbear SSH Server是一款小型的Secure Shell服务器,适合嵌入式环境。
        Dropbear SSH Server 0.47之前版本中存在缓冲溢出漏洞。认证用户可借助导致内存分配不足的未明输入执行任意代码,内存分配不足则是由未执行适当操作命令的表达式引起的。

- CVSS (基础分值)

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

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

cpe:/a:matt_johnston:dropbear_ssh_server:0.44test1
cpe:/a:matt_johnston:dropbear_ssh_server:0.36
cpe:/a:matt_johnston:dropbear_ssh_server:0.34
cpe:/a:matt_johnston:dropbear_ssh_server:0.32
cpe:/a:matt_johnston:dropbear_ssh_server:0.29
cpe:/a:matt_johnston:dropbear_ssh_server:0.44test4
cpe:/a:matt_johnston:dropbear_ssh_server:0.44test2
cpe:/a:matt_johnston:dropbear_ssh_server:0.39
cpe:/a:matt_johnston:dropbear_ssh_server:0.41
cpe:/a:matt_johnston:dropbear_ssh_server:0.40
cpe:/a:matt_johnston:dropbear_ssh_server:0.28
cpe:/a:matt_johnston:dropbear_ssh_server:0.31
cpe:/a:matt_johnston:dropbear_ssh_server:0.46
cpe:/a:matt_johnston:dropbear_ssh_server:0.35
cpe:/a:matt_johnston:dropbear_ssh_server:0.30
cpe:/a:matt_johnston:dropbear_ssh_server:0.33
cpe:/a:matt_johnston:dropbear_ssh_server:0.38
cpe:/a:matt_johnston:dropbear_ssh_server:0.43
cpe:/a:matt_johnston:dropbear_ssh_server:0.45
cpe:/a:matt_johnston:dropbear_ssh_server:0.42
cpe:/a:matt_johnston:dropbear_ssh_server:0.37
cpe:/a:matt_johnston:dropbear_ssh_server:0.44test3
cpe:/a:matt_johnston:dropbear_ssh_server:0.44

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://matt.ucc.asn.au/dropbear/dropbear.html
(PATCH)  MISC  http://matt.ucc.asn.au/dropbear/dropbear.html
http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/2005q4/000312.html
(PATCH)  MLIST  [dropbear] 20051211 Dropbear 0.47 (and security fix)
http://www.vupen.com/english/advisories/2005/2962
(UNKNOWN)  VUPEN  ADV-2005-2962
http://www.securityfocus.com/bid/15923/
(UNKNOWN)  BID  15923
http://www.gentoo.org/security/en/glsa/glsa-200512-13.xml
(UNKNOWN)  GENTOO  GLSA-200512-13
http://www.debian.org/security/2005/dsa-923
(UNKNOWN)  DEBIAN  DSA-923
http://secunia.com/advisories/18142
(VENDOR_ADVISORY)  SECUNIA  18142
http://secunia.com/advisories/18109
(UNKNOWN)  SECUNIA  18109
http://secunia.com/advisories/18108
(VENDOR_ADVISORY)  SECUNIA  18108

- 漏洞信息

Matt Johnston Dropbear SSH Server远程缓冲区溢出漏洞
中危 缓冲区溢出
2005-12-12 00:00:00 2011-07-14 00:00:00
远程  
        Dropbear SSH Server是一款小型的Secure Shell服务器,适合嵌入式环境。
        Dropbear SSH Server 0.47之前版本中存在缓冲溢出漏洞。认证用户可借助导致内存分配不足的未明输入执行任意代码,内存分配不足则是由未执行适当操作命令的表达式引起的。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        http://matt.ucc.asn.au/dropbear/dropbear-0.47.tar.gz
        http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_alpha.deb

- 漏洞信息 (F42557)

Debian Linux Security Advisory 923-1 (PacketStormID:F42557)
2005-12-27 00:00:00
Debian  debian.org
advisory,overflow,arbitrary,root
linux,debian
CVE-2005-4178
[点击下载]

Debian Security Advisory DSA 923-1 - A buffer overflow has been discovered in dropbear, a lightweight SSH2 server and client, that may allow authenticated users to execute arbitrary code as the server user (usually root).

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 923-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
December 19th, 2005                     http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : dropbear
Vulnerability  : buffer overflow
Problem type   : local (remote)
Debian-specific: no
CVE ID         : CVE-2005-4178

A buffer overflow has been discovered in dropbear, a lightweight SSH2
server and client, that may allow authenticated users to execute
arbitrary code as the server user (usually root).

The old stable distribution (woody) does not contain dropbear packages.

For the stable distribution (sarge) this problem has been fixed in
version 0.45-2sarge0.

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

We recommend that you upgrade your dropbear 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.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0.dsc
      Size/MD5 checksum:      562 771c96890c39a12c47120ddd910d006e
    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0.diff.gz
      Size/MD5 checksum:     4319 c968be5d18aa754d7ee8811f75ecc852
    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45.orig.tar.gz
      Size/MD5 checksum:  1455970 29babade35e1d8a322e4726886473a84

  Alpha architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_alpha.deb
      Size/MD5 checksum:   281480 5629ae5d6fd265b3d102564c8a4d31cf

  AMD64 architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_amd64.deb
      Size/MD5 checksum:   231480 2aa8ed3a949b983bd638568d47bcc10c

  ARM architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_arm.deb
      Size/MD5 checksum:   200804 85c55cf59293bef6ea547240106288f6

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_i386.deb
      Size/MD5 checksum:   202040 57744bf60afc9a2a513e55942f99e049

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_ia64.deb
      Size/MD5 checksum:   314292 15cfb647be2679801b1a0ac34bd1b19b

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_hppa.deb
      Size/MD5 checksum:   231472 3110c908e587d7a8a0b93b520d240e06

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_m68k.deb
      Size/MD5 checksum:   181280 0cdbf4dee816ba3d296cccc8ba5bcb43

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_mips.deb
      Size/MD5 checksum:   244772 08ca3d67421ee4c71abc49426b79229b

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_mipsel.deb
      Size/MD5 checksum:   245768 50abc231c3074055a4dcb552425062de

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_powerpc.deb
      Size/MD5 checksum:   225898 4289b9460a9378969b4fdb120877dacd

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_s390.deb
      Size/MD5 checksum:   230878 403a282803b66481a0c34fc1be4bdda2

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/d/dropbear/dropbear_0.45-2sarge0_sparc.deb
      Size/MD5 checksum:   200704 22879b1b90f75ac8bfb48c489eccbf3b


  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)

iD8DBQFDpksgW5ql+IAeqTIRAon3AJ4gmW2R8emmvlQWeydnTUT9Yo18UQCgilc9
kwT9rMK8WxcTFrFRcIRVS0Q=
=4Nmd
-----END PGP SIGNATURE-----

    

- 漏洞信息

21847
Dropbear SSH Server svr_ses.childpidsize Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity Upgrade
Vendor Verified

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-12-11 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 0.47 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Dropbear SSH Server Remote Buffer Overflow Vulnerability
Boundary Condition Error 15923
Yes No
2005-12-19 12:00:00 2006-05-09 07:54:00
Reported by the vendor.

- 受影响的程序版本

Gentoo Linux
Dropbear SSH Server 0.47
Dropbear SSH Server 0.46
Dropbear SSH Server 0.45
+ 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
Dropbear SSH Server 0.44
Dropbear SSH Server 0.43
Dropbear SSH Server 0.42
Dropbear SSH Server 0.41
Dropbear SSH Server 0.40
Dropbear SSH Server 0.47

- 不受影响的程序版本

Dropbear SSH Server 0.47

- 漏洞讨论

Dropbear SSH Server is prone to a remote buffer-overflow vulnerability.

Specifically, the vulnerability presents itself when the application handles excessive string data supplied by an authenticated user.

A successful attack may facilitate arbitrary code execution. Exploitation of this vulnerability may allow an attacker to gain superuser access to the computer.

Dropbear SSH Server versions prior to 0.47 are affected.

- 漏洞利用


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

- 解决方案


The vendor has released Dropbear 0.47 to address this issue. Please see the referenced advisories for more information.


Dropbear SSH Server 0.40

Dropbear SSH Server 0.41

Dropbear SSH Server 0.42

Dropbear SSH Server 0.43

Dropbear SSH Server 0.44

Dropbear SSH Server 0.45

Dropbear SSH Server 0.46

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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