CVE-2005-2277
CVSS10.0
发布时间 :2005-07-15 00:00:00
修订时间 :2016-10-17 23:25:56
NMCOPS    

[原文]Bluetooth FTP client (BTFTP) in Nokia Affix 2.1.2 and 3.2.0 allows remote attackers to execute arbitrary commands via shell metacharacters in the filename argument of a PUT command.


[CNNVD]Nokia Affix BTFTP 命令执行漏洞(CNNVD-200507-182)

        Affix是由Nokia研究中心开发的Linux蓝牙协议栈。
        Nokia Affix 2.1.2及3.2.0中的Bluetooth FTP客户端BTFTP存在命令执行漏洞。
        远程攻击者可通过在PUT命令的filename参数中使用shell元数据字符,执行任意命令。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:nokia:affix:3.2.0Nokia Affix 3.2.0
cpe:/a:nokia:affix:2.1.2Nokia Affix 2.1.2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://affix.sourceforge.net/affix_212_sec.patch
(UNKNOWN)  CONFIRM  http://affix.sourceforge.net/affix_212_sec.patch
http://affix.sourceforge.net/affix_320_sec.patch
(UNKNOWN)  CONFIRM  http://affix.sourceforge.net/affix_320_sec.patch
http://marc.info/?l=bugtraq&m=112119962704397&w=2
(UNKNOWN)  BUGTRAQ  20050712 MA[2005-0712b] - 'Nokia Affix Bluetooth btsrv/btobex poor use of system()
http://www.debian.org/security/2005/dsa-762
(UNKNOWN)  DEBIAN  DSA-762
http://www.digitalmunition.com/DMA%5B2005-0712b%5D.txt
(UNKNOWN)  MISC  http://www.digitalmunition.com/DMA[2005-0712b].txt
http://www.securityfocus.com/bid/14232
(UNKNOWN)  BID  14232

- 漏洞信息

Nokia Affix BTFTP 命令执行漏洞
危急 输入验证
2005-07-15 00:00:00 2005-10-20 00:00:00
远程  
        Affix是由Nokia研究中心开发的Linux蓝牙协议栈。
        Nokia Affix 2.1.2及3.2.0中的Bluetooth FTP客户端BTFTP存在命令执行漏洞。
        远程攻击者可通过在PUT命令的filename参数中使用shell元数据字符,执行任意命令。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        http://affix.sourceforge.net/

- 漏洞信息 (F38768)

Debian Linux Security Advisory 762-1 (PacketStormID:F38768)
2005-07-19 00:00:00
Debian  security.debian.org
advisory,protocol
linux,debian
CVE-2005-2250,CVE-2005-2277
[点击下载]

Debian Security Advisory DSA 762-1 - Kevin Finisterre discovered two problems in the Bluetooth FTP client from affix, user space utilities for the Affix Bluetooth protocol stack.

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

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

Package        : affix
Vulnerability  : several
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2005-2250 CAN-2005-2277
BugTraq ID     : 14230
Debian Bug     : 318327 318328

Kevin Finisterre discovered two problems in the Bluetooth FTP client
from affix, user space utilities for the Affix Bluetooth protocol
stack.  The Common Vulnerabilities and Exposures project identifies
the following vulnerabilities:

CAN-2005-2250

    A buffer overflow allows remote attackers to execute arbitrary
    code via a long filename in an OBEX file share.

CAN-2005-2277

    Missing input sanitising before executing shell commands allow an
    attacker to execute arbitrary commands as root.

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

For the stable distribution (sarge) these problems have been fixed in
version 2.1.1-2.

For the unstable distribution (sid) these problems have been fixed in
version 2.1.2-2.

We recommend that you upgrade your affix 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/a/affix/affix_2.1.1-2.dsc
      Size/MD5 checksum:      669 bb24e5747a984193075e7ad2cde94bd2
    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2.diff.gz
      Size/MD5 checksum:    81326 c1e434ed0667a4e0f60d6e8f431fbc11
    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1.orig.tar.gz
      Size/MD5 checksum:   415816 34af8e6b1d20d99d01427f7da5c777ef

  Alpha architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_alpha.deb
      Size/MD5 checksum:   103006 d897078ef26ac210835785a60f63ba40
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_alpha.deb
      Size/MD5 checksum:    93410 d606fe680c82300c17f821ab0238517d
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_alpha.deb
      Size/MD5 checksum:    75560 50dd674ab6f58b456152bd65232ef486

  ARM architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_arm.deb
      Size/MD5 checksum:    85840 47fe949ac3eaf11e40785d535df13de5
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_arm.deb
      Size/MD5 checksum:    69494 17cbdd22f998e972d6d3719509766f1c
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_arm.deb
      Size/MD5 checksum:    56790 a1f04650c5e0f086e95a3c90d87f0a14

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_i386.deb
      Size/MD5 checksum:    84860 7f5b869acb23ff4d03074e72c5848972
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_i386.deb
      Size/MD5 checksum:    63308 c6931e79eb3f8ab121a6211bcb09d71c
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_i386.deb
      Size/MD5 checksum:    59606 2b52f0d5ce8c700b50a2119c70e38330

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_ia64.deb
      Size/MD5 checksum:   122082 e674b494cc0738be0ca67fe58e6fd366
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_ia64.deb
      Size/MD5 checksum:    93876 40a4a3b972b76d84839b22ec0047a1de
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_ia64.deb
      Size/MD5 checksum:    83630 c5af3eee5c18f3783d306bfcf2e6a3cf

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_hppa.deb
      Size/MD5 checksum:    94884 f1fc0e6bd41671594f4ee434cad99505
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_hppa.deb
      Size/MD5 checksum:    76596 e1f3ed8b636875f9dfb744b71af2f172
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_hppa.deb
      Size/MD5 checksum:    68508 a3312999b8c7fea595e12a67b8d10640

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_m68k.deb
      Size/MD5 checksum:    79808 d2e87f6c2ccb4f8b47c863e0d487d80b
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_m68k.deb
      Size/MD5 checksum:    58412 b118a825ac9844a648fe576389b3900c
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_m68k.deb
      Size/MD5 checksum:    54900 6dea7ad75560dda0689e77b0325df561

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_mips.deb
      Size/MD5 checksum:    97384 c29b563a1f965492e4a50fe0f563ae67
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_mips.deb
      Size/MD5 checksum:    76390 f0cc63d8b1cecdf0dc2947800e2f2452
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_mips.deb
      Size/MD5 checksum:    61332 ecb60a17b182d2a2324f329c5a7564da

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_mipsel.deb
      Size/MD5 checksum:    97114 719915fc14b4892bc0f7bc5d5158cf46
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_mipsel.deb
      Size/MD5 checksum:    76264 af38e4dc83f10cce8d5cee6da728be1b
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_mipsel.deb
      Size/MD5 checksum:    60964 51af51daffb9106b7a882ac60ce603eb

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_powerpc.deb
      Size/MD5 checksum:    94696 b2ffdb13a801392080093183099f564d
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_powerpc.deb
      Size/MD5 checksum:    70040 3beda3ff644615921cb6f70670c0a712
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_powerpc.deb
      Size/MD5 checksum:    65412 a05f1b318e88ce0f152558ed6919632f

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_s390.deb
      Size/MD5 checksum:    92346 bbb62a4e6378d311414ee0740e94b712
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_s390.deb
      Size/MD5 checksum:    72978 364b0841f0806b6cfdf4f1b10b3d270b
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_s390.deb
      Size/MD5 checksum:    66764 41c5dad2e40c6771b6179b5567b39681

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/a/affix/affix_2.1.1-2_sparc.deb
      Size/MD5 checksum:    84660 021fa0ec494ff7066f79ef40475ad5dd
    http://security.debian.org/pool/updates/main/a/affix/libaffix-dev_2.1.1-2_sparc.deb
      Size/MD5 checksum:    66050 b450abbd6079f564c4c285eeec220434
    http://security.debian.org/pool/updates/main/a/affix/libaffix2_2.1.1-2_sparc.deb
      Size/MD5 checksum:    57714 e09e4599c7bfc96493d0d6185d8c0ca0


  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)

iD8DBQFC3LZJW5ql+IAeqTIRAvIJAKCfkBt30ujIJ1iquSTZi18Dbb4VPQCgu5Qb
wnDST7zQnsC5v/OrpYR2uGU=
=1V9D
-----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/
    

- 漏洞信息

17853
Affix btsrv Crafted Filename Arbitrary Shell Command Injection
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

Affix contains a flaw that may allow a malicious user to execute arbitrary commands with the rights of the btsrv server. The issue is triggered when the ftp put command is used with malicious parameters. It is possible that the flaw may allow remote code execution resulting in a loss of integrity.

- 时间线

2005-07-12 Unknow
2005-07-12 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, Carlos Chinea has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

- 漏洞信息

Nokia Affix BTSRV/BTOBEX Remote Command Execution Vulnerability
Input Validation Error 14232
Yes No
2005-07-12 12:00:00 2009-07-12 04:06:00
Discovery of this issue is credited to Kevin Finisterre.

- 受影响的程序版本

Nokia Affix 3.2
Nokia Affix 3.1
Nokia Affix 3.0
Nokia Affix 2.1.2
Nokia Affix 2.1.1
- 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
Nokia Affix 2.1
- 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 alpha
- Debian Linux 3.1
Nokia Affix 2.0.2
Nokia Affix 2.0.1
Nokia Affix 2.0
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

- 漏洞讨论

Nokia Affix btsrv/btobex are reported prone to a remote command execution vulnerability. The issue exists due to a lack of input sanitization that is performed before using attacker-controlled data in a 'system()' call.

Because the affected services run with superuser privileges, this issue may be exploited to fully compromise a target computer that is running the affected software.

- 漏洞利用

No exploit is required, the following example is available:

ftp&gt; put /etc/hosts `id`
Transfer started...
Transfer complete.
257 bytes sent in 0.9 secs (2855.56 B/s)
ftp&gt; ls
-rwdx 257 uid=0(root) gid=0(root) groups=0(root)
Command complete.

- 解决方案

Debian has released advisory DSA 762-1 to address this issue. Please see the attached advisory for details on obtaining and applying fixes.

Debian has released security advisory DSA 773-1 addressing several issues for their AMD64 port of the operating system. Please see the referenced advisory for further information.

The vendor has released patches:


Nokia Affix 2.1

Nokia Affix 2.1.1

Nokia Affix 2.1.2

Nokia Affix 3.2

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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