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
(Links to External Site)
Updated: Aug 20 2009|
Original Entry Date: Jul 31 2009
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|
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:
The vendor was notified on June 15, 2009.
The original advisory is available at:
Sense of Security reported this vulnerability.
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.|
The vendor has issued a source code fix, available via SVN.|
Vendor URL: www.xoops.org/ (Links to External Site)
Input validation error|
|Underlying OS: Linux (Any), UNIX (Any), Windows (Any)|
Source Message Contents
Subject: XOOPS Multiple Cross-Site Scripting Vulnerabilities - Security Advisory - SOS-09-005|
XOOPS Multiple Cross-Site Scripting Vulnerabilities - Security Advisory -
Release Date. 31-Jul-2009
Vendor Notification Date. 15-Jun-2009
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
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
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.
Sense of Security
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
T: +61 (0)2 9290 4444
F: +61 (0)2 9290 4455
The latest version of this advisory can be found at:
Other Sense of Security advisories can be found at: