Security Advisory Critical: redhat-ds-admin security update

Advisory: RHSA-2008:0201-4
Type: Security Advisory
Severity: Critical
Issued on: 2008-04-15
Last updated on: 2008-04-15
Affected Products: Directory Server 8 EL4
Directory Server 8 EL5
OVAL: N/A
CVEs (cve.mitre.org): CVE-2008-0892
CVE-2008-0893

Details

An updated redhat-ds-admin package that fixes security issues is now
available for Red Hat Directory Server 8.0.

This update has been rated as having critical security impact by the Red
Hat Security Response Team.

Red Hat Administration Server is an HTTP agent that provides management
features for Red Hat Directory Server, an LDAPv3 compliant server.

A shell command injection flaw was discovered in the Red Hat Administration
Server replication monitor CGI script used by Red Hat Directory Server 8.0.
An attacker with access to the replication monitor web page could execute
arbitrary shell commands with the privileges of the Administration Server.
Please Note: by default, the Red Hat Administration Server is run as the
unprivileged user, "nobody". (CVE-2008-0892)

It was discovered that the Red Hat Administration Server did to properly
restrict access to CGI scripts. An unauthenticated remote user with access
to the TCP port used by the Administration Server could access information
or perform certain tasks that should have been restricted to Directory
Server administrative users. Please note: by default the Red Hat
Administration Server uses port 9830, although this can be changed by the
Red Hat Directory Server administrator. (CVE-2008-0893)

In combination, these two flaws allowed an unauthenticated remote attacker
able to access the Red Hat Administration Server TCP port to run arbitrary
code as the user "nobody".

All users of Red Hat Directory Server should upgrade to this updated
package, which addresses these vulnerabilities.


Solution

Users running Red Hat Directory Server on Red Hat Enterprise Linux:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Users running Red Hat Directory Server on Solaris:

An archive (in .tar.gz format) containing the updated Solaris packages in
.pkg format is available in the Red Hat Directory Server 8.0 Solaris
channel on the Red Hat Network. This archive also contains a file with
further instructions about how to install/upgrade the packages using
Solaris native package management tools.

Updated packages

Directory Server 8 EL4

SRPMS:
redhat-ds-admin-8.0.0-6.el4dsrv.src.rpm
File outdated by:  RHSA-2008:0602
    2c1f579fc328c51b7294668e5bbe3217
redhat-ds-admin-8.0.0-6.el4dsrv.src.rpm
File outdated by:  RHSA-2008:0602
    2c1f579fc328c51b7294668e5bbe3217
 
IA-32:
redhat-ds-admin-8.0.0-6.el4dsrv.i386.rpm
File outdated by:  RHSA-2008:0602
    42cd64470ea93f286d520d64faf43fc1
redhat-ds-admin-8.0.0-6.el4dsrv.i386.rpm
File outdated by:  RHSA-2008:0602
    42cd64470ea93f286d520d64faf43fc1
 
x86_64:
redhat-ds-admin-8.0.0-6.el4dsrv.x86_64.rpm
File outdated by:  RHSA-2008:0602
    5e890b1f90be3af00ef9a936908b850b
redhat-ds-admin-8.0.0-6.el4dsrv.x86_64.rpm
File outdated by:  RHSA-2008:0602
    5e890b1f90be3af00ef9a936908b850b
 
Directory Server 8 EL5

SRPMS:
redhat-ds-admin-8.0.0-6.el5dsrv.src.rpm
File outdated by:  RHSA-2008:0602
    728247d62320fcd4e62174f1358d2696
 
IA-32:
redhat-ds-admin-8.0.0-6.el5dsrv.i386.rpm
File outdated by:  RHSA-2008:0602
    e0d9b908d5c4ded9fe34278bd8858ede
 
x86_64:
redhat-ds-admin-8.0.0-6.el5dsrv.x86_64.rpm
File outdated by:  RHSA-2008:0602
    e6ee1580712b0213d4c6f6370d62b86a
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

437301 - CVE-2008-0892 Director Server: shell command injection in CGI replication monitor
437320 - CVE-2008-0893 Directory Server: unrestricted access to CGI scripts


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/