XOOPS Input Validation Flaws in 'viewpmsg.php' and 'user.php' Permit Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1022641 |
|
SecurityTracker URL: http://securitytracker.com/id/1022641
|
|
CVE Reference:
CVE-2009-2783
(Links to External Site)
|
Updated: Aug 20 2009
|
Original Entry Date: Jul 31 2009
|
Impact:
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): 2.3.3, possilby others
|
Description:
A vulnerability was reported in XOOPS. A remote user can conduct cross-site scripting attacks.
Two scripts do not properly filter HTML code from user-supplied input before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the XOOPS software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
The 'op' parameter of 'viewpmsg.php' and the query string of 'user.php' are affected.
Some demonstration exploit URLs are provided:
http://[target]/xoops-2.3.3/htdocs/modules/pm/viewpmsg.php?op='"><script>alert('vulnerable')</script><link
id='
http://[target]/xoops-2.3.3/htdocs/modules/profile/user.php?"><script>alert('vulnerable')</script>
The vendor was notified on June 15, 2009.
The original advisory is available at:
http://www.senseofsecurity.com.au/advisories/SOS-09-005.pdf
Sense of Security reported this vulnerability.
|
Impact:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the XOOPS software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
|
Solution:
The vendor has issued a source code fix, available via SVN.
|
Vendor URL: www.xoops.org/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Fri, 31 Jul 2009 16:05:46 +1000
Subject: XOOPS Multiple Cross-Site Scripting Vulnerabilities - Security Advisory - SOS-09-005
|
XOOPS Multiple Cross-Site Scripting Vulnerabilities - Security Advisory -
SOS-09-005
Release Date. 31-Jul-2009
Vendor Notification Date. 15-Jun-2009
Product. XOOPS
Platform. Independent
Affected versions. 2.3.3 (verified), possibly others
Severity Rating. Medium
Impact. Cookie/credential theft, impersonation, loss of confidentiality
Attack Vector. Remote
Solution Status. Vendor patch
CVE reference. Not yet assigned
Details.
XOOPS is a content management system written in PHP. During an application
penetration test Sense of Security identified that Input passed to the "op"
parameter of viewpmsg.php, and in the query string of user.php are
vulnerable to Cross-Site Scripting vulnerabilities. This occurred as a
result of the application not properly filtering HTML tags which allowed
malicious JavaScript to be embedded. When input is incorrectly validated and
not properly sanitised and then displayed in a web page, attackers can trick
users into viewing the web page and causing malicious code to be executed.
Proof of Concept.
http://IP/xoops-2.3.3/htdocs/modules/pm/viewpmsg.php?op='"><script>alert('vulnerable')</script><link
id='
http://IP/xoops-2.3.3/htdocs/modules/profile/user.php?"><script>alert('vulnerable')</script>
Solution.
Vendor patch
Discovered by.
Sense of Security
About us.
Sense of Security is a leading provider of IT security and risk management
solutions. Our team has expert skills in assessment and assurance, strategy
and architecture, and deployment through to ongoing management. We are
Australia's premier application security consultancy and trusted IT security
advisor to many of the countries largest organisations.
Sense of Security Pty Ltd
Level 3, 66 King St
Sydney NSW 2000
AUSTRALIA
T: +61 (0)2 9290 4444
F: +61 (0)2 9290 4455
W: http://www.senseofsecurity.com.au
E: info@senseofsecurity.com.au
The latest version of this advisory can be found at:
http://www.senseofsecurity.com.au/advisories/SOS-09-005.pdf
Other Sense of Security advisories can be found at:
http://www.senseofsecurity.com.au/research/it-security-advisories.php
|
|