- Issued:
- 2006-11-27
- Updated:
- 2006-11-27
RHSA-2006:0743 - Security Advisory
Synopsis
Critical: jbossas security update
Type/Severity
Security Advisory: Critical
Topic
An updated jbossas package that corrects a security vulnerability is now
available for Red Hat Application Stack.
This update has been rated as having critical security impact by the Red
Hat Security Response Team.
Description
JBoss Application Server is a J2EE certified platform for developing and
deploying enterprise Java applications, Web applications, and Portals.
Symantec discovered a flaw in the DeploymentFileRepository class of the
JBoss Application Server. A remote attacker who is able to access the
console manager could read or write to files with the permissions of the
JBoss user. This could potentially lead to arbitrary code execution as the
jboss user. (CVE-2006-5750)
For the Red Hat Application Stack, the jbossas service is not enabled by
default. Once the jbossas service is enabled, the console manager will
become accessible on port 8080. Although port 8080 will be blocked from
outside access by the default Red Hat Enterprise Linux firewall rules,
users should ensure that the console is not available publicly and is
adequately protected by authentication as explained in the JBoss
documentation. A correct configuration of the JBoss Application Server
would mitigate this vulnerability to only being exploitable by users who
have authorization to use the console manager.
All users of Red Hat Application Stack are advised to upgrade to these
updated packages, which resolve the directory traversal issue with a
backported patch.
These updated packages also contain a change to the default jbossas
configuration file. For users installing Red Hat Application Stack for the
first time, all JBoss Application Server network services, including the
management consoles, will be restricted by default to localhost. No change
is made for users upgrading previously installed jbossas packages.
Users who already have Red Hat Application Stack installed should check to
make sure that they have correctly followed the security guidelines and
that the management consoles are not accessible to unauthorized users.
Red Hat would like to thank Symantec for reporting this issue.
Solution
Before applying this update, make sure that the jbossas service is not
running and all previously released errata relevant to your system have
been applied.
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
the desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
Affected Products
- Red Hat Application Stack 1 1 x86_64
- Red Hat Application Stack 1 1 i386
Fixes
- BZ - 215828 - CVE-2006-5750 JBoss Java Class DeploymentFileRepository Directory Traversal
- BZ - 216177 - JBossAS needs to be bound to localhost by default
- BZ - 216786 - Config files in the jbossas rpm should be marked accordingly
CVEs
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.