Description
setpwnam.c in the util-linux package, as included in Red Hat Linux 7.3 and earlier, and other operating systems, does not properly lock a temporary file when modifying /etc/passwd, which may allow local users to gain privileges via a complex race condition that uses an open file descriptor in utility programs such as chfn and chsh.
Affected products
- HP / secure_os1.0 – 1.0
- mandrakesoft / mandrake_linux8.2 – 8.2
- mandrakesoft / mandrake_linux8.1 – 8.1
- mandrakesoft / mandrake_linux8.0 – 8.0
- mandrakesoft / mandrake_linux8.1 – 8.1
- mandrakesoft / mandrake_linux7.0 – 7.0
- mandrakesoft / mandrake_linux7.1 – 7.1
- mandrakesoft / mandrake_linux7.2 – 7.2
- mandrakesoft / mandrake_linux8.0 – 8.0
- mandrakesoft / mandrake_linux_corporate_server1.0.1 – 1.0.1
- mandrakesoft / mandrake_single_network_firewall7.2 – 7.2
- RedHat / linux7.0 – 7.0
- RedHat / linux7.1 – 7.1
- RedHat / linux7.1 – 7.1
- RedHat / linux7.1 – 7.1
- RedHat / linux7.2 – 7.2
- RedHat / linux7.2 – 7.2
- RedHat / linux7.2 – 7.2
- RedHat / linux7.3 – 7.3
- RedHat / linux6.0 – 6.0
- RedHat / linux6.0 – 6.0
- RedHat / linux6.0 – 6.0
- RedHat / linux6.1 – 6.1
- RedHat / linux6.1 – 6.1
- RedHat / linux6.1 – 6.1
- RedHat / linux6.2 – 6.2
- RedHat / linux6.2 – 6.2
- RedHat / linux6.2 – 6.2
- RedHat / linux7.0 – 7.0
References
- MISCftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt
- MISChttp://www.securityfocus.com/bid/5344
- MISChttp://www.iss.net/security_center/static/9709.php
- MISChttp://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php
- MISChttp://rhn.redhat.com/errata/RHSA-2002-132.html
- MISChttp://www.kb.cert.org/vuls/id/405955
- MISChttp://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html
- MISChttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523
- VENDOR_ADVISORYhttp://online.securityfocus.com/advisories/4320
- MISChttp://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html
- MAILING_LISThttp://marc.info/?l=bugtraq&m=102795787713996&w=2
- MISChttp://www.redhat.com/support/errata/RHSA-2002-137.html
- MISChttp://www.osvdb.org/5164