SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Your Ad Here
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Generic)  >  JBoss Vendors:  JBoss Group
JBoss Application Server Error in DeploymentFileRepository Class Lets Remote Users Read and Write Files
SecurityTracker Alert ID:  1017289
SecurityTracker URL:  http://securitytracker.com/id?1017289
CVE Reference:  CVE-2006-5750   (Links to External Site)
Date:  Nov 27 2006
Impact:  Disclosure of system information, Disclosure of user information, Modification of user information
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): 4.0.5 and prior versions
Description:  A vulnerability was reported in JBoss Application Server. A remote user can view or write files on the target system.

The setBaseDir() method of the DeploymentFileRepository class does not properly validate the basedir setting. A remote user can connect to the console manager to read or write arbitrary files on target system with the privileges of the JBoss user account.

Symantec reported this vulnerability to the vendor.

The original bug report is available at:

http://jira.jboss.com/jira/browse/JBAS-3861

Impact:  A remote user can view or write files on the target system.
Solution:  The vendor has issued a source code fix, available via SVN.
Vendor URL:  www.jboss.org/ (Links to External Site)
Cause:  Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Nov 27 2006 (Red Hat Issues Fix) JBoss Application Server Error in DeploymentFileRepository Class Lets Remote Users Read and Write Files   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Application Stack on RHEL 4.
Feb 12 2007 (Novell Issues Advisory for Identity Manager) JBoss Application Server Error in DeploymentFileRepository Class Lets Remote Users Read and Write Files
Novell has issued a workaround for Novell Identity Manager UserApplication, which is affected by this JBoss vulnerability.
Apr 9 2008 (HP Plans to Issue a Fix for HP Storage Essentials) JBoss Application Server Error in DeploymentFileRepository Class Lets Remote Users Read and Write Files   (security-alert@hp.com)
HP plans to issue a fix for HP Storage Essentials.



 Source Message Contents

Date:  Mon, 27 Nov 2006 15:26:46 -0500
Subject:  CVE-2006-5750 JBoss Java Class DeploymentFileRepository Directory Traversal

 
 
Reported by Symantec:
 
From JBoss Documentation: "This class wraps the file system for deployments. It
gives a file-based persistence mechanism for deployments. Used by web-console to
store -service.xml files, -ds.xml files, etc..., really anything text based.
Deployments are tied to a specific name and that name corresponds to the base
file name."
 
The class can be abused to create files outside of the application root directory.
 
The method setBaseDir() of the class
org.jboss.console.manager.DeploymentFileRepository does not check if the basedir
is set to a directory outside of the application root directory via directory
traversal. In conjunction with the usage of the methods store() and remove(), it
is possible to create and delete arbitrary files on the target system.
 
The class is used by JBoss Web Server's web-console/jmx-console which by default
is accessible from remote by unauthenticated users. During our research, it was
possible to create and execute JSP-Files and to overwrite configuration files.
 
The class may also be used by other JBoss Applications, thus making them
vulnerable  to the same attacks.
 
Due to JBoss Web Server's missing default authentication enforcement, complete
control of the application is also possible.
 
--
 
CVE-2006-5750 JBoss Java Class DeploymentFileRepository Directory Traversal
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2007, SecurityGlobal.net LLC