[32426] in bugtraq

home help back first fref pref prev next nref lref last post

Minor OpenSSH/pam vuln (non-exploitable)

daemon@ATHENA.MIT.EDU (das@decisionsoft.com)
Thu Nov 13 16:59:19 2003

Date: 13 Nov 2003 12:23:15 -0000
Message-ID: <20031113122315.5087.qmail@sf-www3-symnsj.securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: <das@decisionsoft.com>
To: bugtraq@securityfocus.com



The home page of the one time password system (or otpw -- http://www.cl.cam.ac.uk/~mgk25/otpw.html) has info about how OpenSSH doesn't correctly return PAM_CONV_ERR when a user cancels a login (but instead incorrectly calls pam_end() having the side effect that memory is not correctly scrubbed (or who knows what for other PAM modules). This info comes directly from the aforementioned website.

This has been reported via the appropriate bugzilla (http://bugzilla.mindrot.org/show_bug.cgi?id=632) but not yet fixed. 

If there are any hardware security tokens (for example) which might fail to go back to a locked state due to this bug then it might introduce an exploitable vulnerability in that situation. Otherwise, it just fails to provide all the security assurances it should (with respect to scrubbing the ram).

If anyone who knows more about pam and OpenSSH has any further analysis to add, it would be much appreciated.

home help back first fref pref prev next nref lref last post