CVE-2005-2661
CVSS7.5
发布时间 :2005-10-14 06:02:00
修订时间 :2011-03-07 21:24:50
NMCOPS    

[原文]Format string vulnerability in the ParseBannerAndCapability function in main.c for up-imapproxy 1.2.3 and 1.2.4 allows remote IMAP servers to execute arbitrary code via format string specifiers in a banner or capability line.


[CNNVD]Up IMAPproxy 格式化字符串漏洞(CNNVD-200510-093)

        ImapProxy 是一个和webmail配合使用的IMAP缓存代理服务器。
        up-imapproxy 1.2.3和1.2.4的main.c中的ParseBannerAndCapability函数存在格式化字符串漏洞。远程IMAP服务器可以借助banner或capability line中的格式化字符串说明符执行任意代码。

- CVSS (基础分值)

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

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

cpe:/a:up-imapproxy:up-imapproxy:1.2.4
cpe:/a:up-imapproxy:up-imapproxy:1.2.3

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.debian.org/security/2005/dsa-852
(VENDOR_ADVISORY)  DEBIAN  DSA-852
http://www.vupen.com/english/advisories/2005/2015
(UNKNOWN)  VUPEN  ADV-2005-2015
http://www.vupen.com/english/advisories/2005/2014
(UNKNOWN)  VUPEN  ADV-2005-2014
http://www.securityfocus.com/bid/15048
(UNKNOWN)  BID  15048
http://secunia.com/advisories/17100/
(VENDOR_ADVISORY)  SECUNIA  17100
http://www.gentoo.org/security/en/glsa/glsa-200603-04.xml
(UNKNOWN)  GENTOO  GLSA-200603-04
http://securityreason.com/securityalert/547
(UNKNOWN)  SREASON  547
http://secunia.com/advisories/19113
(UNKNOWN)  SECUNIA  19113
http://secunia.com/advisories/17120
(UNKNOWN)  SECUNIA  17120

- 漏洞信息

Up IMAPproxy 格式化字符串漏洞
高危 格式化字符串
2005-10-14 00:00:00 2005-10-20 00:00:00
远程  
        ImapProxy 是一个和webmail配合使用的IMAP缓存代理服务器。
        up-imapproxy 1.2.3和1.2.4的main.c中的ParseBannerAndCapability函数存在格式化字符串漏洞。远程IMAP服务器可以借助banner或capability line中的格式化字符串说明符执行任意代码。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        up-imapproxy up-imapproxy 1.2.3
        Debian imapproxy_1.2.3-1sarge1_alpha.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_alpha.deb
        Debian imapproxy_1.2.3-1sarge1_amd64.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_amd64.deb
        Debian imapproxy_1.2.3-1sarge1_arm.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_arm.deb
        Debian imapproxy_1.2.3-1sarge1_hppa.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_hppa.deb
        Debian imapproxy_1.2.3-1sarge1_i386.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_i386.deb
        Debian imapproxy_1.2.3-1sarge1_ia64.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_ia64.deb
        Debian imapproxy_1.2.3-1sarge1_m68k.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_m68k.deb
        Debian imapproxy_1.2.3-1sarge1_mips.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_mips.deb
        Debian imapproxy_1.2.3-1sarge1_mipsel.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_mipsel.deb
        Debian imapproxy_1.2.3-1sarge1_powerpc.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_powerpc.deb
        Debian imapproxy_1.2.3-1sarge1_sparc.deb
        Debian GNU/Linux 3.1 alias sarge
        http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_sparc.deb

- 漏洞信息 (F40557)

Debian Linux Security Advisory 852-1 (PacketStormID:F40557)
2005-10-11 00:00:00
Debian  security.debian.org
advisory,remote,arbitrary,vulnerability,imap,protocol
linux,debian
CVE-2005-2661
[点击下载]

Debian Security Advisory DSA 852-1 - Steve Kemp discovered two format string vulnerabilities in up-imapproxy, an IMAP protocol proxy, which may lead remote attackers to the execution of arbitrary code.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 852-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
October 9th, 2005                       http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : up-imapproxy
Vulnerability  : format string vulnerability
Problem type   : remote
Debian-specific: no
CVE ID         : CAN-2005-2661

Steve Kemp discovered two format string vulnerabilities in
up-imapproxy, an IMAP protocol proxy, which may lead remote attackers
to the execution of arbitrary code.

The old stable distribution (woody) is not affected by these problems.

For the stable distribution (sarge) this problem has been fixed in
version 1.2.3-1sarge1.

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

We recommend that you upgrade your imapproxy 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/u/up-imapproxy/up-imapproxy_1.2.3-1sarge1.dsc
      Size/MD5 checksum:      682 78dba7c28705cb90254b789abe2cc3a1
    http://security.debian.org/pool/updates/main/u/up-imapproxy/up-imapproxy_1.2.3-1sarge1.diff.gz
      Size/MD5 checksum:     7902 6e7e65e2e30c13f335e63ef7f0f48a25
    http://security.debian.org/pool/updates/main/u/up-imapproxy/up-imapproxy_1.2.3.orig.tar.gz
      Size/MD5 checksum:   122991 ad4dafd1417903feb1e09ec569ff1ad5

  Alpha architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_alpha.deb
      Size/MD5 checksum:    54064 67b3d4d2ac2e723937470e69ba2d25a3

  AMD64 architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_amd64.deb
      Size/MD5 checksum:    50824 d6b14cb566d18868646a4f3bdd3c5104

  ARM architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_arm.deb
      Size/MD5 checksum:    49412 471d5f7d34c4ceea4b74918fe106645f

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_i386.deb
      Size/MD5 checksum:    49214 bd66a0d4f2de5e2fa33172a278cc417e

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_ia64.deb
      Size/MD5 checksum:    60708 4fd07ac2f2a2bed4d2d26dc7285b8f10

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_hppa.deb
      Size/MD5 checksum:    52104 815ce032df02d514b69736b8e8d96252

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_m68k.deb
      Size/MD5 checksum:    45480 6e9ee814ec65b0c76638ce2925bd4333

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_mips.deb
      Size/MD5 checksum:    50688 51b9b737a702aa0c997ca7536e4a99f5

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_mipsel.deb
      Size/MD5 checksum:    50808 6591b56e82523af03d3d3a5361fa30f9

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_powerpc.deb
      Size/MD5 checksum:    52096 87ec6e99203a2390e89c66f713875ef3

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_s390.deb
      Size/MD5 checksum:    49916 94e2c29d3fc612f21cb26b8d32ca4bd3

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/u/up-imapproxy/imapproxy_1.2.3-1sarge1_sparc.deb
      Size/MD5 checksum:    48326 d6795267e5b6f2263ad6538e8da70a14


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

iD8DBQFDSM3SW5ql+IAeqTIRAkX0AJ4ouO+dT+G9eOME1AJKITJ2lLxY2wCfZbSm
WAmyGd5dcaWA0m4SKV4ytFk=
=k8ve
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
    

- 漏洞信息

19918
up-imapproxy ParseBannerAndCapability() Function Format String
Local / Remote, Context Dependent Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-10-09 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Up-IMAPProxy Multiple Unspecified Remote Format String Vulnerabilities
Input Validation Error 15048
Yes No
2005-10-10 12:00:00 2009-07-12 05:07:00
Discovery is credited to Steve Kemp.

- 受影响的程序版本

up-imapproxy up-imapproxy 1.2.4
up-imapproxy up-imapproxy 1.2.3
+ 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
Gentoo Linux

- 漏洞讨论

up-IMAPProxy is reported prone to multiple unspecified remote format-string vulnerabilities.

Successful exploitation could cause the application to crash or to execute arbitrary code in the context of the application.

Specific details of these issues are not currently known. This BID will be updated when further information becomes available.

- 漏洞利用

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

A proof of concept example is available:

- 解决方案


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

Please see the referenced advisories for more information and fixes.


up-imapproxy up-imapproxy 1.2.3

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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