Debian Project

Debian testing security team - Advisory

DTSA-6-1

Date Reported:
August 28th, 2005
Affected Package:
cgiwrap
Vulnerability:
multiple vulnerabilities
Problem-Scope:
remote
Debian-specific:
No
CVE:


More information:
Javier Fernández-Sanguino Peña discovered various vulnerabilities in cgiwrap: 
 
Minimum UID does not include all system users 
 
The CGIwrap program will not seteuid itself to uids below the 'minimum' uid 
to prevent scripts from being misused to compromise the system. However, 
the Debian package sets the minimum uid to 100 when it should be 1000. 
 
CGIs can be used to disclose system information 
 
The cgiwrap (and php-cgiwrap) package installs some debugging CGIs 
(actually symbolink links, which link to cgiwrap and are called 'cgiwrap' 
and 'nph-cgiwrap' or link to php-cgiwrap). These CGIs should not be 
installed in production environments as they disclose internal and 
potentially sensible information. 

For the testing distribution (etch) this is fixed in version 3.9-3.0etch1
For the unstable distribution (sid) this is fixed in version 3.9-3.1

This upgrade is recommended if you use cgiwrap.

If you have the secure testing lines in your sources.list, you can update by running this command as root:
If you use cgiwrap:
apt-get update && apt-get install cgiwrap
If you use php-cgiwrap:
apt-get update && apt-get install php-cgiwrap

The Debian testing security team does not track security issues for then stable (sarge) and oldstable (woody) distributions. If stable is vulnerable, the Debian security team will make an announcement once a fix is ready.

To use the Debian testing security archive, add the following lines to your /etc/apt/sources.list:

deb http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free
deb-src http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free

The archive signing key can be downloaded from
http://testing-security.debian.net/ziyi-2005-7.asc

For further information about the Debian testing security team, please refer to http://testing-security.debian.net/

Valid HTML 4.01! Valid CSS!