OpenBSD readline library creates history files with unsafe permissions
| bsd-readline-permissions (6586) |
Description:
The readline library in OpenBSD could allow an attacker to obtain sensitive information. The readline library creates history files with unsafe permissions. An attacker could use this vulnerability to gain access to sensitive information, such as passwords.
Consequences:
Obtain Information
Remedy:
For OpenBSD 2.7:
Apply the 040_readline patch, as listed in OpenBSD Security Announcement, March 20, 2001. See References.
For OpenBSD 2.8:
Apply the 024_readline patch, as listed in OpenBSD Security Announcement, March 20, 2001. See References.
References:
- OpenBSD Readline Patch: Open history files with a restrictive mode (user read/write only)..
- OpenBSD security-announce Mailing List, Tue, 20 Mar 2001 17:12:24 -0700: readline patch available.
- CVE-2001-0378: readline prior to 4.1, in OpenBSD 2.8 and earlier, creates history files with insecure permissions, which allows a local attacker to recover potentially sensitive information via readline history files.
- OSVDB ID: 5680: OpenBSD readline History File Disclosure
Platforms Affected:
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.8
Reported:
Mar 20, 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 xforce@iss.net
