xinetd daemon insecure permissions
| xinetd-insecure-permissions (6657) |
Description:
The xinetd daemon in some Linux distributions creates files using insecure permissions. The default umask for xinetd is set to 0, resulting in all files created by applications using xinetd to be world writable. A local attacker could use this vulnerability to gain access to and modify unauthorized files.
Consequences:
Gain Access
Remedy:
For Red Hat Linux 7.0 and 7.1:
Upgrade to the latest version of xinetd (2.1.8.9pre15-2 or later), as listed in RHSA-2001:075-05. See References.
For Mandrake Linux 7.2 and Single Network Firewall 7.2:
Upgrade to the latest version of xinetd (2.1.9.8pre15-1.2mdk or later), as listed in MandrakeSoft Security Advisory MDKSA-2001:055 : xinetd. See References.
For Mandrake Linux 8.0:
Upgrade to the latest version of 2.1.8.9pre15-1.1mdk or later), as listed in MandrakeSoft Security Advisory MDKSA-2001:055 : xinetd. See References.
For Debian GNU/Linux 2.2 (alias potato):
Upgrade to the latest version of xinetd (2.1.8.8.p3-1.1 or later), as listed in DSA-063-1. See References.
For Conectiva Linux 6.0:
Upgrade to the latest version of xinetd (2.1.8.9pre15-2U60_2cl or later), as listed in Conectiva Linux Security Announcement CLA-2001:404. See References.
For Immunix OS 7.0 beta and 7.0:
Upgrade to the latest version of xinetd (2.3.0-1 or later), as listed in Immunix OS Security Advisory IMNX-2001-70-029-01. See References.
For EnGarde Secure Linux 1.0.1:
Upgrade to the latest version of xinetd (2.1.8.9pre16 or later), as listed in EnGarde Secure Linux Security Advisory ESA-20010621-01. See References.
For SuSE Linux 6.3, 6.4, 7.0, 7.1, and 7.2:
Upgrade to the latest version of xinetd (2.1.8.8p3 or later), as listed in SuSE Security Announcement SuSE-SA:2001:022. See References.
For FreeBSD 4-STABLE and 5-CURRENT: Upgrade to the latest portcheckout package dated after the correction date, as listed in FreeBSD Security Advisory FreeBSD-SA-01:47. See References.
For other distributions:
Contact vendor for upgrade or patch information.
References:
- Conectiva Linux Announcement CLSA-2001:404: xinetd.
- EnGarde Secure Linux Security Advisory ESA-20010621-01: xinetd. (From LinuxSecurity archive)
- FreeBSD Security Advisory FreeBSD-SA-01:47: xinetd contains multiple vulnerabilities.
- Immunix OS Security Advisory IMNX-2001-70-029-01: xinetd.
- SuSE Security Announcement SuSE-SA:2001:022: xinetd.
- BID-2826: xinetd Insecure Default Umask Vulnerability
- CVE-2001-1322: xinetd 2.1.8 and earlier runs with a default umask of 0, which could allow local users to read or modify files that are created by an application that runs under xinetd but does not set its own safe umask.
- DSA-063: xinetd -- change default umask
- MDKSA-2001:055: Updated xinetd packages fix improper umask
- MDKSA-2001:055-1: Updated xinetd packages fix improper umask and buffer overflows
- OSVDB ID: 1854: xinetd Insecure Default Umask Arbitrary File Modification
- RHSA-2001-075: Updated xinetd package available for Red Hat Linux 7 and 7.1
Platforms Affected:
- Debian Debian Linux 2.2
- EngardeLinux Secure Community 1.0.1
- Immunix Immunix OS 7.0
- Immunix Immunix OS 7.0-beta
- MandrakeSoft Mandrake Linux 7.2
- MandrakeSoft Mandrake Linux 8.0
- MandrakeSoft Mandrake Single Network Firewall 7.2
- RedHat Linux 7
- RedHat Linux 7.1
- RedHat Linux 7.2
- RedHat Linux 7.3
- SUSE SuSE Linux 6.3
- SUSE SuSE Linux 6.4
- SUSE SuSE Linux 7.0
- SUSE SuSE Linux 7.1
- SUSE SuSE Linux 7.2
Reported:
Jun 04, 2001
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
