Ravens PHP Scripts

Invision Power Board Multiple Vulnerabilities
Date: Wednesday, September 03, 2008 @ 17:42:19 CEST
Topic: Security


SECUNIA ADVISORY ID: SA31683

VERIFY ADVISORY: http://secunia.com/advisories/31683/

CRITICAL: Moderately critical

IMPACT: Hijacking, Manipulation of data, Exposure of sensitive information, System access.

SOFTWARE: Invision Power Board 2.x - http://secunia.com/product/3705/

DESCRIPTION: DarkFig has reported some vulnerabilities in Invision Power Board (IP.Board), which can be exploited by malicious users to disclose sensitive information and compromise a vulnerable system, and by malicious people to conduct SQL injection attacks.



1) Input passed to the "name" parameter through index.php to action_public/xmlout.php (when "act" is set to "xmlout" and "do" to "check-display-name") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) The problem is that the administrator's session ID is included in the "Referer" HTTP header when selecting "Switch between standard and rich text editor" and the user has configured a picture URL. This can potentially be exploited to hijack the administrator's session.

3) Input passed as language data is not properly sanitised before being stored. This can be exploited to execute arbitrary PHP code, when e.g. importing a language file.

Successful exploitation of this vulnerability requires that the victim has valid administrator credentials. The vulnerabilities are reported in all 2.2.x versions and all 2.3.x versions to and including 2.3.5.

SOLUTION: Apply the vendor's official patch, which fixes vulnerability #1: http://forums.invisionpower.com/index.php?showtopic=276512. Do not select "Switch between standard and rich text editor". Do not import untrusted language files.

PROVIDED AND/OR DISCOVERED BY: DarkFig

ORIGINAL ADVISORY:
http://acid-root.new.fr/?0:18
http://acid-root.new.fr/?1:35






This article comes from Ravens PHP Scripts
http://www.ravenphpscripts.com

The URL for this story is:
http://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=3436