Debian: New gforge-plugin-scmcvs packages fix arbitrary shell command execution
Posted by Benjamin D. Thomas   
Debian Bernhard R. Link discovered that the CVS browsing interface of Gforge, a collaborative development tool, performs insufficient escaping of URLs, which allows the execution of arbitrary shell commands with the privileges of the www-data user.
- --------------------------------------------------------------------------
Debian Security Advisory DSA 1297-1                    security@debian.org
http://www.debian.org/security/                         Moritz Muehlenhoff
May 24th, 2007                          http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : gforge-plugin-scmcvs
Vulnerability  : missing input sanitising
Problem-Type   : remote
Debian-specific: no
CVE ID         : CVE-2007-0246

Bernhard R. Link discovered that the CVS browsing interface of Gforge, a
collaborative development tool, performs insufficient escaping of URLs,
which allows the execution of arbitrary shell commands with the privileges
of the www-data user.

The oldstable distribution (sarge) is not affected by this problem.

For the stable distribution (etch) this problem has been fixed in
version 4.5.14-5.

For the unstable distribution (sid) this problem has been fixed in
version 4.5.14-6.

We recommend that you upgrade your gforge-plugin-scmcvs package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 4.0 alias etch
- -------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/g/gforge-plugin-scmcvs/gforge-plugin-scmcvs_4.5.14-5etch1.dsc
      Size/MD5 checksum:      598 8738c271d0dc9944d6fbe3e68b4713d6
    http://security.debian.org/pool/updates/main/g/gforge-plugin-scmcvs/gforge-plugin-scmcvs_4.5.14-5etch1.tar.gz
      Size/MD5 checksum:   143365 39a63598dc47a3d3be27ede648fea85e

  Architecture independent components:

    http://security.debian.org/pool/updates/main/g/gforge-plugin-scmcvs/gforge-plugin-scmcvs_4.5.14-5etch1_all.deb
      Size/MD5 checksum:    91980 f3a9400e23d76e99a55a1e9739312f06


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org