Bug 215828 - CVE-2006-5750 JBoss Java Class DeploymentFileRepository Directory Traversal
CVE-2006-5750 JBoss Java Class DeploymentFileRepository Directory Traversal
Status: CLOSED ERRATA
Product: Red Hat Web Application Stack
Classification: Retired
Component: jbossas (Show other bugs)
v1
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Deepak Bhole
Len DiMaggio
impact=critical,source=symantec,repor...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-15 17:51 EST by Marcel Holtmann
Modified: 2006-11-27 10:43 EST (History)
1 user (show)

See Also:
Fixed In Version: RHSA-2006-0743
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-27 10:42:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marcel Holtmann 2006-11-15 17:51:17 EST
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.
Comment 6 Mark J. Cox (Product Security) 2006-11-27 10:30:02 EST
Removing embargo.  See also http://kbase.redhat.com/faq/FAQ_107_9629.shtm 
Comment 7 Red Hat Bugzilla 2006-11-27 10:43:00 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0743.html

Note You need to log in before you can comment on or make changes to this bug.