RedHat's Xinetd Networking Daemon Package May Allow Remote Users to Execute Arbitrary Code as Root and Allow Local Users to Modify System Files
|
Updated: Jun 8 2001 18:08 (UTC/GMT)
|
Original Entry Date: Jun 6 2001 04:46 (UTC/GMT)
|
Impact: Execution of arbitrary code via network, Modification of system information
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): prior to 2.1.8.9pre15-2
|
Description: Red Hat reports a vulnerability in earlier versions of their Xinetd package that allows local users to modify some system files and may allow remote users to execute arbitrary code on the server with root-level privileges.
It is reported that Xinetd runs with umask 0, meaning that applications using the xinetd umask and not setting the permissions themselves
will create world writable files, which may not have been intended.
This could allow local users to modify system files, potentially
leading to further exploit scenarios.
It is also reported that there is a potential buffer overflow vulnerability that may allow
remote users to execute code on the server with root-level privileges (see the Message History for details on this vulnerability).
|
Impact: A local user can modify some files that were created by applications using Xinetd's umask. A remote user can cause a buffer overflow
on the server while the Xinetd service is running with root-level privileges, potentially allowing for remote code execution.
|
Solution: The vendor has released updated packages (2.1.8.9pre15-2). See the Source Message for directions on obtaining the packages.
|
Vendor URL: www.redhat.com/ (Links to External Site)
|
Cause: Access control error
|
Underlying OS: Linux (Red Hat)
|
Reported By: bugzilla@redhat.com
|
Message History:
This archive entry has one or more follow-up message(s) listed below.
|
Source Message Contents
|
Date: Tue, 5 Jun 2001 19:20 -0400
From: bugzilla@redhat.com
Subject: [RHSA-2001:075-04] Updated xinetd package available for Red Hat Linux 7 and 7.1
|
---------------------------------------------------------------------
Red Hat, Inc. Red Hat Security Advisory
Synopsis: Updated xinetd package available for Red Hat Linux 7 and 7.1
Advisory ID: RHSA-2001:075-04
Issue date: 2001-06-04
Updated on: 2001-06-05
Product: Red Hat Linux
Keywords: xinetd umask 2.4 kernel linuxconf
Cross references:
Obsoletes:
---------------------------------------------------------------------
1. Topic:
Xinetd runs with umask 0 - this means that applications using the xinetd
umask and not setting the permissions themselves (like swat from the samba
package), will create world writable files.
2. Relevant releases/architectures:
Red Hat Linux 7.0 - alpha, i386
Red Hat Linux 7.1 - i386
3. Problem description:
Xinetd runs with umask 0 - this means that applications using the xinetd
umask and not setting the permissions themselves (like swat from the samba
package), will create world writable files. This update sets the default
umask to 022. Also, the web interface for linuxconf did not work in Red Hat
Linux 7.1. Other minor issues have also been addressed.
4. Solution:
Before applying this update, make sure 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.
5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):
38669 - /etc/xinetd.d/*-udp files syntax error on
23560 - xinetd - linuxconf-web still not fixed
6. RPMs required:
Red Hat Linux 7.0:
SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/xinetd-2.1.8.9pre15-2.src.rpm
alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/xinetd-2.1.8.9pre15-2.alpha.rpm
i386:
ftp://updates.redhat.com/7.0/en/os/i386/xinetd-2.1.8.9pre15-2.i386.rpm
Red Hat Linux 7.1:
SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/xinetd-2.1.8.9pre15-2.src.rpm
i386:
ftp://updates.redhat.com/7.1/en/os/i386/xinetd-2.1.8.9pre15-2.i386.rpm
7. Verification:
MD5 sum Package Name
--------------------------------------------------------------------------
f661f3b939d4b8aa9eca4e2d4b43eea9 7.0/en/os/SRPMS/xinetd-2.1.8.9pre15-2.src.rpm
81649c7c918d7f3cd8e03cdf7a319410 7.0/en/os/alpha/xinetd-2.1.8.9pre15-2.alpha.rpm
0b66baf9a9809def856b7960eb0b0ef7 7.0/en/os/i386/xinetd-2.1.8.9pre15-2.i386.rpm
59352e4937871a504a24a3d13b6eb589 7.1/en/os/SRPMS/xinetd-2.1.8.9pre15-2.src.rpm
18d39a2f89bf09dc74b6cdc5286e0c49 7.1/en/os/i386/xinetd-2.1.8.9pre15-2.i386.rpm
These packages are GPG signed by Red Hat, Inc. for security. Our key
is available at:
http://www.redhat.com/corp/contact.html
You can verify each package with the following command:
rpm --checksig <filename>
If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
rpm --checksig --nogpg <filename>
8. References:
Copyright(c) 2000, 2001 Red Hat, Inc.
|
|