OpenDocMan Input Validation Hole in 'last_message' Parameter Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1020300 |
|
SecurityTracker URL: http://securitytracker.com/id/1020300
|
|
CVE Reference:
CVE-2008-2787
(Links to External Site)
|
Updated: Jun 25 2008
|
Original Entry Date: Jun 17 2008
|
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): 1.2.5
|
Description:
A vulnerability was reported in OpenDocMan. A remote user can conduct cross-site scripting attacks.
The software does not properly filter HTML code from user-supplied input in the 'last_message' parameter 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 OpenDocMan 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.
A demonstration exploit URL is provided:
http://[target]/opendocman-1.2.5/out.php?last_message=%3Cscript%3Ealert(document.cookie)%3C/script%3E
Sergi Rosello reported this vulnerability.
The original advisory is available at:
http://www.s21sec.com/avisos/s21sec-044-en.txt
|
Impact:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the OpenDocMan 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 patch, available at:
https://sourceforge.net/tracker/index.php?func=detail&aid=1975163&group_id=69505&atid=524753
|
Vendor URL: www.opendocman.com/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Tue, 17 Jun 2008 14:53:16 +0200 (CEST)
Subject: S21SEC-044-en:OpenDocMan Cross Site Scripting (XSS)
|
##############################################################
- S21Sec Advisory -
##############################################################
Title: OpenDocMan Cross Site Scripting (XSS)
ID: S21sec-044-en
Severity: Low
History: 15.Apr.2008 Vulnerability discovered
16.Apr.2008 Vendor contacted
27.May.2008 Patch available
Scope: Cross Site Scripting XSS
Platforms: Any
Author: Sergi Roselló (srosello@s21sec.com)
URL: http://www.s21sec.com/avisos/s21sec-044-en.txt
Release: Public
[ SUMMARY ]
OpenDocMan is a free document management system (DMS) designed to
comply with ISO 17025 and OIE standard for document management. It
features web based access, fine grained control of access to files,
and automated install and upgrades.
[ AFFECTED VERSIONS ]
This vulnerability has been tested in version v1.2.5 (March, 2nd 2007).
[ DESCRIPTION ]
An insufficient input validation allows code injection in the
parameter 'last_message'. Example:
http://server/opendocman-1.2.5/out.php?last_message=%3Cscript%3Ealert(document.cookie)%3C/script%3E
[ WORKAROUND ]
There is patch available in the following url:
https://sourceforge.net/tracker/index.php?func=detail&aid=1975163&group_id=69505&atid=524753
[ ACKNOWLEDGMENTS ]
This vulnerability has been found and researched by:
- Sergi Roselló <srosello@s21sec.com> S21sec
[ REFERENCES ]
* OpenDocman
http://opendocman.com/
* S21sec
http://www.s21sec.com
* S21sec Blog
http://blog.s21sec.com
|
|