SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   TheWebForum Vendors:   thewebforum.net
TheWebForum Input Validation Holes Permit SQL Injection and Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1015450
SecurityTracker URL:  http://securitytracker.com/id/1015450
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Jan 6 2006
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 1.2.1
Description:   A vulnerability was reported in TheWebForum. A remote user can inject SQL commands and conduct cross-site scripting attacks.

The software does not properly validate user-supplied input. If magic_quotes_gpc is disabled, a remote user can supply a specially crafted parameter value to execute SQL commands on the underlying database.

The 'username' parameter in 'login.php' is affected. A remote user can exploit this to bypass authentication.

The 'register.php' script does not properly filter HTML code from user-supplied input in the 'www' parameter before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the TheWebForum software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Aliaksandr Hartsuyeu discovered this vulnerability.

The original advisory is available at:

http://evuln.com/vulns/17/summary.html

Impact:   A remote user can execute SQL commands on the underlying database. This can be exploited to bypass authentication.

A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the TheWebForum software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Solution:   No solution was available at the time of this entry.
Vendor URL:  sourceforge.net/projects/twf/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [eVuln] TheWebForum Script Insertion and Authentication Bypass

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)

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC