[13613] in bugtraq

home help back first fref pref prev next nref lref last post

rzsz emails usage stats without user consent

daemon@ATHENA.MIT.EDU (Kris Kennaway)
Mon Jan 31 15:07:01 2000

Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-Id:  <Pine.BSF.4.21.0001291604300.2379-100000@hub.freebsd.org>
Date:         Sat, 29 Jan 2000 16:14:13 -0800
Reply-To: Kris Kennaway <kris@HUB.FREEBSD.ORG>
From: Kris Kennaway <kris@HUB.FREEBSD.ORG>
X-To:         bugtraq@securityfocus.com
To: BUGTRAQ@SECURITYFOCUS.COM

Recent versions of the (shareware) UNIX rzsz package from Omen Software,
available from ftp://ftp.cs.pdx.edu/pub/zmodem/, contain the "feature"
that if your version is unregistered, it will send mail to rzsz@omen.com
each time you upload and download using the software - rz.c and sz.c
contain the following code:

#ifndef REGISTERED
	/* Removing or disabling this code without registering is theft */
	if ((Totfiles > 0) && (!Usevhdrs)) {
		sprintf(endmsg, "echo Unreg %s %s %ld %ld | mail rzsz@omen.com",
		  Progname, VERSION, Totfiles, Totbytes );
		system(endmsg);
		canit();
		sleep(4);
		fprintf(stderr, "\n\n\n**** UNREGISTERED COPY *****\r\n");
		fprintf(stderr, "Please read the License Agreement in rz.doc\r\n");
		fflush(stderr);
	}
#endif

This change was detected because the FreeBSD ports system uses an MD5
checksum to verify the integrity of downloaded software - the rzsz.zip
file has a habit of changing regularly, and after one such change this
addition was discovered.

Thanks for Marcin Cieslak <saper@system.pl> for identifying this problem.
The rzsz port has since been removed from the FreeBSD ports collection :-)

Kris Kennaway

----
"How many roads must a man walk down, before you call him a man?"
"Eight!"
"That was a rhetorical question!"
"Oh..then, seven!" -- Homer Simpson

home help back first fref pref prev next nref lref last post