Cross-site scripting vulnerability in Invision Power Board version 3.2.3

Cross-site scripting vulnerability in Invision Power Board version 3.2.3

Information

Name :  Cross-site scripting vulnerability in Invision Power Board version 3.2.3 Software :  Invision Power Board version 3.2.3 Vendor Homepage :  http://www.invisionpower.com Vulnerability Type :  Cross-site scripting Severity :  High Researcher :  Vasil A. xss@9y.com Advisory Reference :  NS-12-005

—————————————

Description

Invision Power Board (abbreviated IPB, IP.Board or IP Board) is an Internet forum software produced by Invision Power Services, Inc. It is written in PHP and primarily uses MySQL as a database management system, although support for other database engines is available.

While Invision Power Board is a commercially sold product, there is a large modding community and many of these modifications are free. In addition, many groups offer the download or design of free and paid skins.

—————————————

Details

IP Board is affected by a Cross-site scripting vulnerability in version 3.2.3.

Example PoC url is as follows :

http://example.com/forums/index.php?showforum=53″><script>with(document)alert(cookie)</script>

Additional notes:

1.If a forum contain sub-forums this vulnerability don’t exist.

2.Most of boards uses « Friendly Url style »,but the attack can be performed  by using « legacy URL style » in the query,e.g :

http://example.com/forum/index.php?showforum=2″><script>alert(/xss/.source)</script>

instead:

http://example.com/forum/index.php?/forum/2-example/

You can read the full article about Cross-site Scripting vulnerability from here:

—————————————

Cross-site Scripting Solution

The vendor issued patch for this vulnerability. Please see the references.

—————————————

Advisory Timeline

10/03/2012 – First contact: Sent the vulnerability details

12/03/2012 – Second contact: Ask for patch

14/03/2012 – Vulnerability Fixed

29/03/2012 – Vulnerability Released

—————————————

Credits

It has been discovered on testing of Netsparker, Web Application Security Scanner – http://www.mavitunasecurity.com/netsparker/

—————————————

References

MSL Advisory Link:

http://www.mavitunasecurity.com/cross-site-scripting-vulnerability-in-invision-power-board/

Netsparker Advisories: http://www.mavitunasecurity.com/netsparker-advisories/

—————————————

About Netsparker

Netsparker® can find and report security issues such as SQL Injection and Cross-site Scripting (XSS) in all web applications regardless of the platform and the technology they are built on. Netsparker’s unique detection and exploitation techniques allows it to be dead accurate in reporting hence it’s the first and the only False Positive Free web application security scanner.

Netsparker Advisories, <advisories@mavitunasecurity.com> Homepage, http://www.mavitunasecurity.com/netsparker-advisories/