From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 4 Apr 2005 18:00:15 +0200
Subject: [NT] SQL Injection and Cross Site Scripting in MaxWebPortal
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20050404161226.CFC4E5809@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
SQL Injection and Cross Site Scripting in MaxWebPortal
------------------------------------------------------------------------
SUMMARY
" <http://www.maxwebportal.com/> MaxWebPortal is a web portal and online
community system which includes advanced features such as web-based
administration, poll, private/public events calendar, user customizable
color themes, classifieds, user control panel, online pager, link, file,
article, picture managers and much more."
Several security flaws have been discovered in MaxWebPortal, these flaws
can be exploited to compromise system's database integrity and to steal
session cookie by crafting a malicious script.
DETAILS
Vulnerable Systems:
* MaxWebPortal version 1.33
Cross Site Scripting:
In the page links_add_form.asp anyone can provide a URL banner such as:
javascript:alert(document.cookie). This banner will trigger a cross site
scripting whenever someone looks at the list of links.
SQL Injection:
An SQL injection is possible due improper filtering of user provided input
receive through the function Update_Events in events_functions.asp. More
specifically the parameter EVENT_ID passed within the POST is not properly
validated.
Workaround:
In events_functions.asp line 192 replace
chkstring(Request.Form("EVENT_ID"), "message") with:
if isnumber(Request.Form("EVENT_ID")) then
event_id=clng(Request.Form("EVENT_ID"))
else
response.end
ADDITIONAL INFORMATION
The information has been provided by <mailto:zinho@hackerscenter.com.>
Zinho.
The original article can be found at:
<http://www.hackerscenter.com/archive/view.asp?id=1807>
http://www.hackerscenter.com/archive/view.asp?id=1807
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.