(Red Hat Issues Fix) Concurrent Versions System (CVS) Double-Free Bug Lets Remote Users Execute Arbitrary Code on the System
|
|
SecurityTracker Alert ID: 1005952 |
|
SecurityTracker URL: http://securitytracker.com/id/1005952
|
|
CVE Reference:
CAN-2003-0015
(Links to External Site)
|
Date: Jan 20 2003
|
Impact:
Execution of arbitrary code via network, Root access via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 1.11.4 and prior versions
|
Description:
A vulnerability was reported in Concurrent Versions System (CVS). A remote user can execute arbitrary code on the system to gain access to the server.
e-matters reported that a remote user can send a malformed directory name as part of a Directory request to cause a global pointer variable to be freed with no value subsequently assigned to the variable. When the next Directory request is processed, the unassigned variable may be freed.
A remote user can exploit this to execute arbitrary code or shell commands. The privileges that the code will execute with depend on the configuration of the server. In some cases, the code may run with root privileges. According to the report, if the CVSROOT/passwd is left writeable to the CVS user, a remote root compromise can occur.
It is also reported that a remote authenticated user with write access can invoke the Update-prog and Checkin-prog commands to execute arbitrary shell commands on the server. According to the report, this feature is not well documented and may be unknown to most administrators. In addition, it reportedly cannot be disabled in the configuration files.
|
Impact:
A remote user may be able to execute arbitrary code on the system. The code will run with privileges that depend on the configuration of the system.
|
Solution:
Red Hat has released a fix.
Red Hat Linux 6.2:
SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/cvs-1.11.1p1-8.6.src.rpm
i386:
ftp://updates.redhat.com/6.2/en/os/i386/cvs-1.11.1p1-8.6.i386.rpm
Red Hat Linux 7.0:
SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.0/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
Red Hat Linux 7.1:
SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.1/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
Red Hat Linux 7.2:
SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.2/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/cvs-1.11.1p1-8.7.ia64.rpm
Red Hat Linux 7.3:
SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.3/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
Red Hat Linux 8.0:
SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/cvs-1.11.2-8.src.rpm
i386:
ftp://updates.redhat.com/8.0/en/os/i386/cvs-1.11.2-8.i386.rpm
The verification checksums are:
MD5 sum Package Name
2f93de016c503c5bb057280a5b3c21e3 6.2/en/os/SRPMS/cvs-1.11.1p1-8.6.src.rpm
0009017869564842d5ce5aa99fe71466 6.2/en/os/i386/cvs-1.11.1p1-8.6.i386.rpm
960b96371d348764c8a284ceeb439142 7.0/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.0/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
960b96371d348764c8a284ceeb439142 7.1/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.1/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
960b96371d348764c8a284ceeb439142 7.2/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.2/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
6efda391465869fae84d670303f819ab 7.2/en/os/ia64/cvs-1.11.1p1-8.7.ia64.rpm
960b96371d348764c8a284ceeb439142 7.3/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.3/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
f1306501984e0a5736d52eb137fd144c 8.0/en/os/SRPMS/cvs-1.11.2-8.src.rpm
612a4814740dc8544619a22487b4652f 8.0/en/os/i386/cvs-1.11.2-8.i386.rpm
|
Vendor URL: ccvs.cvshome.org/servlets/NewsItemView?newsID=51 (Links to External Site)
|
Cause:
Resource error, State error
|
Underlying OS:
Linux (Red Hat Linux)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Mon, 20 Jan 2003 16:25 -0500
Subject: [RHSA-2003:012-07] Updated CVS packages available
|
---------------------------------------------------------------------
Red Hat, Inc. Red Hat Security Advisory
Synopsis: Updated CVS packages available
Advisory ID: RHSA-2003:012-07
Issue date: 2003-01-20
Updated on: 2003-01-20
Product: Red Hat Linux
Keywords: cvs double-free
Cross references:
Obsoletes:
CVE Names: CAN-2003-0015
---------------------------------------------------------------------
1. Topic:
Updated cvs packages are now available for Red Hat Linux 6.2, 7, 7.1, 7.2,
7.3, and 8.0. These updates close a vulnerability which would permit
arbitrary command execution on servers configured to allow anonymous
read-only access.
2. Relevant releases/architectures:
Red Hat Linux 6.2 - i386
Red Hat Linux 7.0 - i386
Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386
3. Problem description:
CVS is a version control system frequently used to manage source code
repositories. During an audit of the CVS sources, Stefan Esser
discovered an exploitable double-free bug in the CVS server.
On servers which are configured to allow anonymous read-only access, this
bug could be used by anonymous users to gain write privileges. Users with
CVS write privileges can then use the Update-prog and Checkin-prog features
to execute arbitrary commands on the server.
All users of CVS are advised to upgrade to these erratum packages which
contain patches to correct the double-free bug.
Our thanks go to Stefan Esser of e-matters for reporting this issue to us.
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. RPMs required:
Red Hat Linux 6.2:
SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/cvs-1.11.1p1-8.6.src.rpm
i386:
ftp://updates.redhat.com/6.2/en/os/i386/cvs-1.11.1p1-8.6.i386.rpm
Red Hat Linux 7.0:
SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.0/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
Red Hat Linux 7.1:
SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.1/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
Red Hat Linux 7.2:
SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.2/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/cvs-1.11.1p1-8.7.ia64.rpm
Red Hat Linux 7.3:
SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
i386:
ftp://updates.redhat.com/7.3/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
Red Hat Linux 8.0:
SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/cvs-1.11.2-8.src.rpm
i386:
ftp://updates.redhat.com/8.0/en/os/i386/cvs-1.11.2-8.i386.rpm
6. Verification:
MD5 sum Package Name
--------------------------------------------------------------------------
2f93de016c503c5bb057280a5b3c21e3 6.2/en/os/SRPMS/cvs-1.11.1p1-8.6.src.rpm
0009017869564842d5ce5aa99fe71466 6.2/en/os/i386/cvs-1.11.1p1-8.6.i386.rpm
960b96371d348764c8a284ceeb439142 7.0/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.0/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
960b96371d348764c8a284ceeb439142 7.1/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.1/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
960b96371d348764c8a284ceeb439142 7.2/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.2/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
6efda391465869fae84d670303f819ab 7.2/en/os/ia64/cvs-1.11.1p1-8.7.ia64.rpm
960b96371d348764c8a284ceeb439142 7.3/en/os/SRPMS/cvs-1.11.1p1-8.7.src.rpm
9b900d255ad7d445c79e612991c6dba6 7.3/en/os/i386/cvs-1.11.1p1-8.7.i386.rpm
f1306501984e0a5736d52eb137fd144c 8.0/en/os/SRPMS/cvs-1.11.2-8.src.rpm
612a4814740dc8544619a22487b4652f 8.0/en/os/i386/cvs-1.11.2-8.i386.rpm
These packages are GPG signed by Red Hat, Inc. for security. Our key
is available at http://www.redhat.com/about/contact/pgpkey.html
You can verify each package with the following command:
rpm --checksig -v <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:
md5sum <filename>
7. References:
http://security.e-matters.de/advisories/012003.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0015
8. Contact:
The Red Hat security contact is <security@redhat.com>. More contact
details at http://www.redhat.com/solutions/security/news/contact.html
Copyright 2003 Red Hat, Inc.
_______________________________________________
Redhat-watch-list mailing list
To unsubscribe, visit: https://listman.redhat.com/mailman/listinfo/redhat-watch-list
|
|