[UNIX] Linux Distributions are Vulnerable to the /bin/login Overflow

From: support@securiteam.com
Date: 12/20/01


From: support@securiteam.com
To: list@securiteam.com
Date: Thu, 20 Dec 2001 10:00:15 +0100 (CET)

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  Linux Distributions are Vulnerable to the /bin/login Overflow
------------------------------------------------------------------------

SUMMARY

It seems that while Redhat Linux and Caldera Linux distributions are
immune to the recent /bin/login environment overflow, other Linux
distributions are not. Several Linux distributions install /bin/login with
SysV login options enabled.

DETAILS

Vulnerable systems:
Slackware 8.0
Slackware 4.0
Slackware 3.3
SuSE 6.1

Immune systems:
RedHat
Caldera

Verification:
A quick way to check for SysV option capabilities is to type "login", then
enter "root testenv1=test" at the login: prompt. Supply your root passwd,
and look for "testenv1" in the output of set. If it is set, then your copy
of /bin/login supports SysV options, and is probably vulnerable.

ADDITIONAL INFORMATION

The information has been provided by <mailto:a_rager@yahoo.com> Anton
Rager.

========================================

This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages

  • improvement idea of man page of strfile
    ... script to store login names and GECOS from /etc/passwd in str- ... strfile, and enjoy one quote every time opening a terminal. ... A website of environmental protection can show a tip how to do ... e.g. many Linux distributions contain the strfile manual from BSD ...
    (freebsd-questions)
  • Re: Most stable and tested distribution?
    ... This sounds like a lot of duplicated effort between Slackware ... distribution, so it's not a Slackware problem, per se. ... all Linux distributions are Linux, ... they're cheap, ...
    (comp.os.linux.misc)
  • Re: "academic linux distribution"
    ... > several linux distributions, so I hope to get here some guidance. ... I started with Slackware back when disk drives were 1 GB, ... Slackware HOWTO to get an idea of how much you'd have to download. ...
    (comp.os.linux.misc)
  • Re: Which distro to use on an old machine
    ... > the original Linux distributions, Slackware. ... The enormously popular ...
    (alt.linux)
  • Re: Which distro to use on an old machine
    ... the original Linux distributions, Slackware. ... The enormously popular ... Slackware is the true 'Unix' of Linux distributions and is used by major ...
    (alt.linux)