First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 49534
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: gen2daniel <gen2daniel@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
koon: ()

Filename Description Type Creator Created Size Actions
2.6.0-sanitize.patch 2.6.0-sanitize.patch patch SpanKY 2004-07-08 22:53 0000 5.71 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 49534 depends on: 49707 Show dependency tree
Bug 49534 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-30 13:37 0000
From the rsync homepage:
  There is a security fix included in 2.6.1 that affects only people
  running a read/write daemon WITHOUT using chroot. If the user privs
  that such an rsync daemon is using is anything above "nobody", you are
  at risk of someone crafting an attack that could write a file outside
  of the module's "path". Please either enable chroot or upgrade to 2.6.1.
  People not running a daemon, running a read-only daemon, or running a
  chrooted daemon are totally unaffected.

  The Common Vulnerabilities and Exposures project (cve.mitre.org) has
  assigned the name CAN-2004-0426 to this issue.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From solar 2004-04-30 20:14:40 0000 -------
2.6.1 does not exists. 
2.6.2 does however and I'll add this to the tree shortly.

------- Comment #2 From solar 2004-04-30 20:29:05 0000 -------
*rsync-2.6.2 (30 Apr 2004)

  30 Apr 2004; <solar@gentoo.org> rsync-2.6.2.ebuild:
  version bump for security update CAN-2004-0426, bug 49534 this version also
  seems to have the proxy-auth patch merged upstream, USE=acl disabled for now
  due to patching conflicts


------- Comment #3 From solar 2004-04-30 20:33:55 0000 -------
Current keywords
KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64 ~ppc64 ~s390"

Arch maintainers please test and mark stable.

------- Comment #4 From Michael McCabe (RETIRED) 2004-05-01 11:03:44 0000 -------
Stable on s390

------- Comment #5 From Joshua Kinard 2004-05-01 17:19:24 0000 -------
Marked stable on mips.

------- Comment #6 From Jon Portnoy (RETIRED) 2004-05-01 17:25:32 0000 -------
Stable on x86 + amd64.

------- Comment #7 From Guy Martin 2004-05-01 18:55:28 0000 -------
Stable on hppa.

------- Comment #8 From Ciaran McCreesh 2004-05-02 02:35:06 0000 -------
-r1 stable on sparc

------- Comment #9 From Chris Russell (RETIRED) 2004-05-02 04:55:40 0000 -------
It seems this version has lost the magic that makes it look in /etc/rsync/ for
rsyncd.conf   (like bug 12902 ?)

I'm seeing this in rsync-2.6.2-r1 on x86 and sparc64 but presumably other
arch's are similarly affected.

Re-adding arch's for additional QA.


isengard root # grep rsync /var/log/daemon.log|tail
May  2 23:23:03 isengard rsyncd[13326]: rsync: unable to open configuration
file "/etc/rsyncd.conf": No such file or directory 
May  2 23:23:03 isengard rsyncd[13326]: rsync error: syntax or usage error
(code 1) at clientserver.c(586) 
isengard root # qpkg rsync -c -v
net-misc/rsync-2.6.2-r1 *
0/22

------- Comment #10 From Tom Gall 2004-05-02 07:24:07 0000 -------
2.6.2 and 2.6.2-r1 both marked stable on ppc64

------- Comment #11 From SpanKY 2004-05-02 07:30:35 0000 -------
stable on ppc/arm

just need alpha/ia64

------- Comment #12 From Bryan Østergaard (RETIRED) 2004-05-02 13:33:48 0000 -------
Stable on alpha.

------- Comment #13 From Martin Holzer (RETIRED) 2004-05-03 12:38:00 0000 -------
please mark ia64 stable

------- Comment #14 From Thierry Carrez (RETIRED) 2004-05-04 06:33:41 0000 -------
rsync-2.6.2-r2 ready for a GLSA draft
-K

------- Comment #15 From Jeffrey Forman (RETIRED) 2004-05-04 17:28:17 0000 -------
This issue is being handled. At present time, 2.6.2 has been added to the
package.mask file, so users should stay at 2.6.0 for the time being.

-jeffrey

reference bug 49933

------- Comment #16 From Thierry Carrez (RETIRED) 2004-05-05 01:43:55 0000 -------
bug 49933 blocks 2.6.2-r2, going back to "wait for ebuild" status.
-K

------- Comment #17 From Tobias Weisserth 2004-05-19 11:25:42 0000 -------
Just for reference:

http://www.debian.org/security/2004/dsa-499

regards,
Tobias

------- Comment #18 From SpanKY 2004-07-08 22:53:05 0000 -------
Created an attachment (id=35051) [details]
2.6.0-sanitize.patch

------- Comment #19 From SpanKY 2004-07-08 23:02:00 0000 -------
as far as i can tell from pouring through the mail/cvs archives, and checking
out the debian/redhat patches, the attached patch should be all we need ...

seems like the info was obfuscated, but it seems like the commit happened on
Mar 27 2004:
http://lists.samba.org/archive/rsync-cvs/2004-March.txt.gz

those cvs patches were touched up to apply semi-cleanly to 2.6.0

ive sat on this long enough; can someone please double check the patch for me
before i go committing 2.6.0-r2 and since 2.6.{1,2} seem pretty hosed ?

------- Comment #20 From SpanKY 2004-07-09 15:41:23 0000 -------
as CondorDes pointed out on irc, the hunk for clientserver.c was reversed ...
it actually duplicated a block of code that was supposed to be removed ;)

while it doesnt introduce the vuln, it isnt correct :)

ive fixed the patch and added 2.6.0-r2 to portage ... i guess we just need GLSA
now ?

------- Comment #21 From Thierry Carrez (RETIRED) 2004-07-10 03:06:26 0000 -------
First we need it stable :)
Arches : please mark net-misc/rsync-2.6.0-r2 stable.

I'll take care of the draft, I submitted one in the old days already.

------- Comment #22 From Michael Hanselmann (hansmi) (RETIRED) 2004-07-10 03:12:37 0000 -------
Done on ppc.

------- Comment #23 From SpanKY 2004-07-10 09:08:36 0000 -------
hppa stable

------- Comment #24 From Jason Wever (RETIRED) 2004-07-10 10:08:36 0000 -------
Stable on sparc.

------- Comment #25 From Ian Leitch (RETIRED) 2004-07-10 15:19:58 0000 -------
Stable on x86.

------- Comment #26 From Bryan Østergaard (RETIRED) 2004-07-10 17:51:38 0000 -------
Stable on alpha.

------- Comment #27 From Lars Weiler (RETIRED) 2004-07-10 18:04:25 0000 -------
Removing ppc from Cc, as it has been forgotten.

------- Comment #28 From Hardave Riar (RETIRED) 2004-07-10 21:07:15 0000 -------
Stable on mips

------- Comment #29 From Thierry Carrez (RETIRED) 2004-07-12 01:22:10 0000 -------
amd64 : please mark rsync-2.6.0-r2 stable so that the GLSA can go out.

------- Comment #30 From Travis Tilley (RETIRED) 2004-07-12 01:48:02 0000 -------
sorry for the delay. stable on amd64

------- Comment #31 From Kurt Lieber 2004-07-12 06:53:42 0000 -------
glsa 200407-10

------- Comment #32 From Tom Gall 2004-07-13 19:31:02 0000 -------
stable on ppc64

First Last Prev Next    No search results available      Search page      Enter new bug