Debian Security Advisory

DSA-704-1 remstats -- tempfile, missing input sanitising

Date Reported:
04 Apr 2005
Affected Packages:
remstats
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2005-0387, CVE-2005-0388.
More information:

Jens Steube discovered several vulnerabilities in remstats, the remote statistics system. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CAN-2005-0387

    When processing uptime data on the unix-server a temporary file is opened in an insecure fashion which could be used for a symlink attack to create or overwrite arbitrary files with the permissions of the remstats user.

  • CAN-2005-0388

    The remoteping service can be exploited to execute arbitrary commands due to missing input sanitising.

For the stable distribution (woody) these problems have been fixed in version 1.00a4-8woody1.

For the unstable distribution (sid) these problems have been fixed in version 1.0.13a-5.

We recommend that you upgrade your remstats packages.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/main/r/remstats/remstats_1.00a4-8woody1.dsc
http://security.debian.org/pool/updates/main/r/remstats/remstats_1.00a4-8woody1.diff.gz
http://security.debian.org/pool/updates/main/r/remstats/remstats_1.00a4.orig.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/r/remstats/remstats-doc_1.00a4-8woody1_all.deb
http://security.debian.org/pool/updates/main/r/remstats/remstats-servers_1.00a4-8woody1_all.deb
http://security.debian.org/pool/updates/main/r/remstats/remstats_1.00a4-8woody1_all.deb
Alpha:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_alpha.deb
ARM:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/r/remstats/remstats-bintools_1.00a4-8woody1_sparc.deb

MD5 checksums of the listed files are available in the original advisory.