CVE-1999-0757
CVSS2.1
发布时间 :2001-03-12 00:00:00
修订时间 :2008-09-05 16:17:54
NMCOES    

[原文]The ColdFusion CFCRYPT program for encrypting CFML templates has weak encryption, allowing attackers to decrypt the templates.


[CNNVD]Allaire ColdFusion CFCRYPT.EXE漏洞(CNNVD-200103-013)

        加密CFML模板的ColdFusion CFCRYPT程序有弱的加密。攻击者解密该模板。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/static/2208.php
(VENDOR_ADVISORY)  XF  coldfusion-encryption
http://www.allaire.com/handlers/index.cfm?ID=10969&Method=Full
(VENDOR_ADVISORY)  ALLAIRE  ASB99-08

- 漏洞信息

Allaire ColdFusion CFCRYPT.EXE漏洞
低危 设计错误
2001-03-12 00:00:00 2005-10-20 00:00:00
本地  
        加密CFML模板的ColdFusion CFCRYPT程序有弱的加密。攻击者解密该模板。

- 公告与补丁

        While SecurityFocus does not consider the following to be a sufficient solution, the Allaire Security Bulletin offers the following suggestion:
        (Quoted verbatim from ASB99-08)
        What Customers Should Do
        In general, people using CFRYPT.EXE to hide source code should recognize that there is the possibility of pages being illegally decrypted. Customers who are creating commercial applications for redistribution or sale should include a license agreement that clearly states users are not authorized to decrypt encrypted pages. Organizations using CFCRYPT.EXE to protect code internally should recognize the risk that decoding may pose and adjust accordingly.

- 漏洞信息 (19220)

Allaire ColdFusion Server <= 4.0.1 CFCRYPT.EXE Vulnerability (EDBID:19220)
windows local
1998-05-19 Verified
0 Matt Chapman
N/A [点击下载]
source: http://www.securityfocus.com/bid/275/info

A vulnerability in ColdFusion allows pages encrypted with the CFCRYPT.EXE utility to be decrypted.

ColdFusion supports the ability to "encrypt" the CFML templates in an application or component, using the CFCRYPT.EXE utility, so they can be redistributed or sold without exposing the source code to casual viewing. A program that decrypts ColdFusion's encryption has been discovered. This will in effect make the source code for all this propietary CFML applications available to those with access to their encrypted form. 

/* CFDECRYPT: Decrypt Cold Fusion templates encrypted with CFCRYPT
   Matt Chapman <matthewc@cse.unsw.edu.au>

     Usage: cfdecrypt <encrypted.cfm >decrypted.cfm

   Requires a DES encryption library to compile.
*/

#include <stdio.h>
#include "des.h"

int main(void)
{
	char *header = "Allaire Cold Fusion Template\012Header Size: ";
	char buffer[54];
	int headsize, outlen;
	int skip_header;
	int len, i;

	char *keystr = "Error: cannot open template file--\"%s\". Please, try again!\012\012";
	des_cblock key;
	des_cblock input; 
	des_cblock output;
	des_key_schedule schedule;

	if ((fread(buffer, 1, 54, stdin) < 54) || (memcmp(buffer, header, 42)))
	{
		fprintf(stderr, "File is not an encrypted template\n");
		return 1;
	}

	if (!memcmp(&buffer[42], "New Version", 11))
	{
		headsize = 69;
		skip_header = 1;
	}
	else
	{
		headsize = atoi(&buffer[42]);
		skip_header = 0;
	}

	if ((headsize < 54) || (fseek(stdin, headsize, SEEK_SET) < 0))
	{
		fprintf(stderr, "Error in file format\n");
		return 1;
	}

	des_string_to_key(keystr, &key);
	des_set_key(&key, schedule);
	outlen = 0;

	while ((len = fread(input, 1, 8, stdin)) == 8)
	{
		des_ecb_encrypt(&input, &output, schedule, 0);
		outlen += 8;
		i = 0;

		if (skip_header)
		{
			while (i < 8)
			{
				if (output[i++] == 0x1A)
				{
					skip_header = 0;
					break;
				}
			}
		}

		fwrite(output + i, 1, 8 - i, stdout);
	}

	for (i = 0; i < len; i++)
	{
		output[i] = input[i] ^ (outlen + i);
	}

	fwrite(output, 1, len, stdout);

	return 0;
}
		

- 漏洞信息

9565
ColdFusion CFCRYPT Program Template Encryption Weakness
Local Access Required Cryptographic, Information Disclosure
Loss of Confidentiality
Exploit Public

- 漏洞描述

Unknown or Incomplete

- 时间线

1999-05-19 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Allaire ColdFusion CFCRYPT.EXE Vulnerability
Design Error 275
No Yes
1998-05-19 12:00:00 2009-07-11 12:16:00
This vulnerability was publicized in Allaire Security Bulletin ASB99-08 on May 19, 1999 Exploit posted to Bugtraq by Matt Chapman <matthewc@cse.unsw.edu.au> July 24, 1999

- 受影响的程序版本

Allaire ColdFusion Server 4.0.1
Allaire ColdFusion Server 4.0
Allaire ColdFusion Server 3.1.2
Allaire ColdFusion Server 3.1.1
Allaire ColdFusion Server 3.1
Allaire ColdFusion Server 3.0.1
Allaire ColdFusion Server 3.0

- 漏洞讨论

A vulnerability in ColdFusion allows pages encrypted with the CFCRYPT.EXE utility to be decrypted.

ColdFusion supports the ability to "encrypt" the CFML templates in an application or component, using the CFCRYPT.EXE utility, so they can be redistributed or sold without exposing the source code to casual viewing. A program that decrypts ColdFusion's encryption has been discovered. This will in effect make the source code for all this propietary CFML applications available to those with access to their encrypted form.

- 漏洞利用

x

- 解决方案

While SecurityFocus does not consider the following to be a sufficient solution, the Allaire Security Bulletin offers the following suggestion:
(Quoted verbatim from ASB99-08)
What Customers Should Do
In general, people using CFRYPT.EXE to hide source code should recognize that there is the possibility of pages being illegally decrypted. Customers who are creating commercial applications for redistribution or sale should include a license agreement that clearly states users are not authorized to decrypt encrypted pages. Organizations using CFCRYPT.EXE to protect code internally should recognize the risk that decoding may pose and adjust accordingly.

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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