PHP WEB CHAT Input Validation Flaws Let Remote Users Conduct Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1006382 |
|
CVE Reference: GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Mar 26 2003
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 2.0
|
Description: An input validation vulnerability was reported in PHP WEB CHAT. A remote user can conduct cross-site scripting attacks.
It is reported that the register.php, login.php, and profile.php scripts do not properly filter HTML code from user-supplied input.
A remote user can reportedly 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 vulnerable PHP WEB CHAT 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.
Some demonstration exploit URLs are provided:
http://[victim]/chat_dir/register.php?register=yes&userna
me=OverG&email=<scr*pt>alert%20("Test!")</scr*pt>&email1=<scr*
http://[victim]/chat_dir/login.php?option=lostpasswd&username=OverG
http://[victim]/chat_dir/profile.
php?username=OverG
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
PHP WEB CHAT 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.
[Editor's note: It appears that the software is no longer generally available from Web Drive Limited.]
|
Vendor URL: www.webscriptworld.com/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: "Over_G" <overg@mail.ru>
|
Message History:
None.
|
Source Message Contents
|
Date: Tue, 25 Mar 2003 12:11:24 +0300
From: "Over_G" <overg@mail.ru>
Subject: CSS in PHP WEB CHAT
|
Product: PHP WEB CHAT
Version: 2.0
OffSite: http://www.webscriptworld.com
Problem: Cross Site Scripting
--------------------------------------------
Actions:
1)Register
http://[victim]/chat_dir/register.php?register=yes&username=OverG&email=<scr*pt>alert%2 0("Test!")</scr*pt>&email1=<scr*pt>alert%20("Test!")</scr*pt>
2)To return the lost password and CSS is carried out (email)
http://[victim]/chat_dir/login.php?option=lostpasswd&username=OverG
3)View profile (email1)
http://[victim]/chat_dir/profile.php?username=OverG
Contacts: www.overg.com www.dwcgr0up.com
irc.zaingandol.org #DWC
ogprog@ukr.net
Best regards, Over G[DWC Gr0up]
P.S. Sorry for my English :)
|
|