Two weaknesses have been reported in OpenSSH, which can be exploited by malicious users and malicious people to disclose potentially sensitive information.
1) OpenSSH does not properly initialise a nonce field with random data when generating legacy certificates ("-t" command line option of ssh-keygen). This can result in certain stack memory being used as nonce, which can lead to the disclosure of potentially sensitive information.
Note: Certificates with user-specified contents may also be less protected against hash collision attacks. However, these attacks are currently not considered practical for the SHA signatures used.
This weakness is reported in versions 5.6 and 5.7.
2) An error within the "auth_parse_options()" function (auth-options.c) can be exploited to e.g. disclose the forced commands configured in the authorized_keys file.
This weakness is reported in versions prior to 5.7-p1.
Solution: Update to version 5.8. Rotate the CA key for legacy certificates generated with a vulnerable version. Weakness #2 is also fixed in version 5.7-p1.
Provided and/or discovered by: 1) The vendor credits Mateusz Kocielski.
2) Disclosed in a CVS commit.
Original Advisory: OpenSSH:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: OpenSSH Two Weaknesses
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.