634 : BSD on VAX passwd Lockfile File Size Limit Local DoS
Printer | http://osvdb.org/634 | Email This | Edit Vulnerability

Views This Week

6

Views All Time

47

Info

Last Modified

6 months ago

Percent Complete

100%

Disclosure

Jun 26, 1986

Discovery

Unknown

Dates

Exploit

Jun 26, 1986

Solution

Unknown

Description

BSD contains a flaw that may allow a local denial of service. The issue is triggered when a malicious user limits filesizes to 1k before using passwd. The passwd program will copy the first 1k of data from /etc/passwd into the lock file /etc/ptmp. Once 1k of data is copied, passwd will die and the lock file will remain, resulting in a loss of availability for changing passwords.

Classification

Location: Local Access Required
Attack Type: Denial of Service
Impact: Loss of Availability
Exploit: Exploit Available
Disclosure: OSVDB Verified

Solution

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround: copy the code from chsh or chfn that sets the CPU time and filesize limits to infinity and recompile the passwd binary.

Products

BSDI
Watch-list
BSD
Watch-list
4.2

References

Manual Testing Notes

Credit

  • Andrew Findlay -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and 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 copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use