OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web Date: 21-May-2004 18:06:28
Branch: HEAD Handle: 2004052117062601
Added files:
openpkg-web/security OpenPKG-SA-2004.025-rsync.txt
Modified files:
openpkg-web security.txt security.wml
Log:
SA-2004.025-rsync; CAN-2004-0426
Summary:
Revision Changes Path
1.80 +1 -0 openpkg-web/security.txt
1.100 +1 -0 openpkg-web/security.wml
1.1 +73 -0 openpkg-web/security/OpenPKG-SA-2004.025-rsync.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-web/security.txt
============================================================================
$ cvs diff -u -r1.79 -r1.80 security.txt
--- openpkg-web/security.txt 19 May 2004 21:03:24 -0000 1.79
+++ openpkg-web/security.txt 21 May 2004 16:06:26 -0000 1.80
@@ -1,3 +1,4 @@
+21-May-2004: Security Advisory: S<OpenPKG-SA-2004.025-rsync>
19-May-2004: Security Advisory: S<OpenPKG-SA-2004.024-neon>
19-May-2004: Security Advisory: S<OpenPKG-SA-2004.023-subversion>
19-May-2004: Security Advisory: S<OpenPKG-SA-2004.022-cvs>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/security.wml
============================================================================
$ cvs diff -u -r1.99 -r1.100 security.wml
--- openpkg-web/security.wml 19 May 2004 21:03:24 -0000 1.99
+++ openpkg-web/security.wml 21 May 2004 16:06:26 -0000 1.100
@@ -76,6 +76,7 @@
</define-tag>
<box bdwidth=1 bdcolor="#a5a095" bdspace=10 bgcolor="#e5e0d5">
<table cellspacing=0 cellpadding=0 border=0>
+ <sa 2004.025 rsync>
<sa 2004.024 neon>
<sa 2004.023 subversion>
<sa 2004.022 cvs>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/security/OpenPKG-SA-2004.025-rsync.txt
============================================================================
$ cvs diff -u -r0 -r1.1 OpenPKG-SA-2004.025-rsync.txt
--- /dev/null 2004-05-21 18:06:28.000000000 +0200
+++ OpenPKG-SA-2004.025-rsync.txt 2004-05-21 18:06:28.000000000 +0200
@@ -0,0 +1,73 @@
+________________________________________________________________________
+
+OpenPKG Security Advisory The OpenPKG Project
+http://www.openpkg.org/security.html http://www.openpkg.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+OpenPKG-SA-2004.025 21-May-2004
+________________________________________________________________________
+
+Package: rsync
+Vulnerability: filesystem intrusion
+OpenPKG Specific: no
+
+Affected Releases: Affected Packages: Corrected Packages:
+OpenPKG CURRENT <= rsync-2.6.0-20040324 >= rsync-2.6.1-20040428
+OpenPKG 2.0 <= rsync-2.6.0-2.0.0 >= rsync-2.6.0-2.0.1
+OpenPKG 1.3 <= rsync-2.5.6-1.3.1 >= rsync-2.5.6-1.3.2
+
+Dependent Packages: none
+
+Description:
+ According to a rsync [0] security advisory [1] versions before
+ 2.6.1 do not properly sanitize paths when running as a read/write
+ daemon without using chroot. This allows remote attackers to write
+ files outside of the module's path. The OpenPKG default is to run
+ a read-only daemon using chroot. The Common Vulnerabilities and
+ Exposures (CVE) project assigned the id CAN-2004-0426 [2] to the
+ problem.
+
+ Please check whether you are affected by running "<prefix>/bin/rpm -q
+ rsync". If you have the "rsync" package installed and its version is
+ affected (see above), we recommend that you immediately upgrade it
+ (see Solution) [3][4].
+
+Solution:
+ Select the updated source RPM appropriate for your OpenPKG release
+ [5][6], fetch it from the OpenPKG FTP service [7][8] or a mirror
+ location, verify its integrity [9], build a corresponding binary RPM
+ from it [3] and update your OpenPKG installation by applying the
+ binary RPM [4]. For the most recent release OpenPKG 2.0, perform the
+ following operations to permanently fix the security problem (for
+ other releases adjust accordingly).
+
+ $ ftp ftp.openpkg.org
+ ftp> bin
+ ftp> cd release/2.0/UPD
+ ftp> get rsync-2.6.0-2.0.1.src.rpm
+ ftp> bye
+ $ <prefix>/bin/openpkg rpm -v --checksig rsync-2.6.0-2.0.1.src.rpm
+ $ <prefix>/bin/openpkg rpm --rebuild rsync-2.6.0-2.0.1.src.rpm
+ $ su -
+ # <prefix>/bin/openpkg rpm -Fvh <prefix>/RPM/PKG/rsync-2.6.0-2.0.1.*.rpm
+________________________________________________________________________
+
+References:
+ [0] http://rsync.samba.org/
+ [1] http://rsync.samba.org/index.html#security_apr04
+ [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0426
+ [3] http://www.openpkg.org/tutorial.html#regular-source
+ [4] http://www.openpkg.org/tutorial.html#regular-binary
+ [5] ftp://ftp.openpkg.org/release/1.3/UPD/rsync-2.5.6-1.3.2.src.rpm
+ [6] ftp://ftp.openpkg.org/release/2.0/UPD/rsync-2.6.0-2.0.1.src.rpm
+ [7] ftp://ftp.openpkg.org/release/1.3/UPD/
+ [8] ftp://ftp.openpkg.org/release/2.0/UPD/
+ [9] http://www.openpkg.org/security.html#signature
+________________________________________________________________________
+
+For security reasons, this advisory was digitally signed with the
+OpenPGP public key "OpenPKG <[EMAIL PROTECTED]>" (ID 63C4CB9F) of the
+OpenPKG project which you can retrieve from http://pgp.openpkg.org and
+hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
+for details on how to verify the integrity of this advisory.
+________________________________________________________________________
+
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]