Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2017.0172 K57304814: OpenSSH vulnerability CVE-2016-8858 20 January 2017 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: F5 LineRate Publisher: F5 Networks Operating System: Network Appliance Impact/Access: Denial of Service -- Remote/Unauthenticated Resolution: Mitigation CVE Names: CVE-2016-8858 Reference: ESB-2016.2946 ESB-2016.2583 Original Bulletin: https://support.f5.com/csp/article/K57304814 - --------------------------BEGIN INCLUDED TEXT-------------------- K57304814: OpenSSH vulnerability CVE-2016-8858 Security Advisory Original Publication Date: Jan 19, 2017 Updated Date: Jan 19, 2017 Applies to (see versions): Vulnerability Description ** DISPUTED ** The kex_input_kexinit function in kex.c in OpenSSH 6.x and 7.x through 7.3 allows remote attackers to cause a denial of service (memory consumption) by sending many duplicate KEXINIT requests. NOTE: a third party reports that "OpenSSH upstream does not consider this as a security issue. (CVE-2016-8858) Impact An unauthenticated, remote attacker can exploit this, by sending multiple KEXINIT messages, to consume up to 128 MB per connection. The LineRate system default MaxSessions option in the sshd_config configuration file is 10, which limits the impact of this vulnerability to approximately 1 GB of memory consumed. This vulnerability should only be a concern for very small LineRate deployments. Security Issue Status F5 Product Development has assigned ID LRS-61092 (LineRate) to this vulnerability. To determine if your release is known to be vulnerable, the components or features that are affected by the vulnerability, and for information about releases or hotfixes that address the vulnerability, refer to the following table: Product Versions known to be vulnerable Versions known to be not vulnerable Severity Vulnerable component or feature BIG-IP LTM None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 11.2.1 BIG-IP AAM None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 BIG-IP AFM None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 BIG-IP Analytics None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 11.2.1 BIG-IP APM None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 11.2.1 BIG-IP ASM None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 11.2.1 BIG-IP DNS None 12.0.0 - 12.1.2 Not vulnerable None BIG-IP Edge Gateway None 11.2.1 Not vulnerable None BIG-IP GTM None 11.4.0 - 11.6.1 Not vulnerable None 11.2.1 BIG-IP Link Controller None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 11.2.1 BIG-IP PEM None 12.0.0 - 12.1.2 Not vulnerable None 11.4.0 - 11.6.1 BIG-IP PSM None 11.4.0 - 11.4.1 Not vulnerable None BIG-IP WebAccelerator None 11.2.1 Not vulnerable None BIG-IP WebSafe None 12.0.0 - 12.1.2 Not vulnerable None 11.6.0 - 11.6.1 ARX None 6.2.0 - 6.4.0 Not vulnerable None Enterprise Manager None 3.1.1 Not vulnerable None BIG-IQ Cloud None 4.0.0 - 4.5.0 Not vulnerable None BIG-IQ Device None 4.2.0 - 4.5.0 Not vulnerable None BIG-IQ Security None 4.0.0 - 4.5.0 Not vulnerable None BIG-IQ ADC None 4.5.0 Not vulnerable None BIG-IQ Centralized Management None 5.0.0 - 5.1.0 Not vulnerable None 4.6.0 BIG-IQ Cloud and Orchestration None 1.0.0 Not vulnerable None F5 iWorkflow None 2.0.0 - 2.0.2 Not vulnerable None LineRate 2.5.0 - 2.6.1 None Low None Traffix SDC None 5.0.0 - 5.1.0 Not vulnerable None 4.0.0 - 4.4.0 Vulnerability Recommended Actions If you are running a version listed in the Versions known to be vulnerable column, you can eliminate this vulnerability by upgrading to a version listed in the Versions known to be not vulnerable column. If the table lists only an older version than what you are currently running, or does not list a non-vulnerable version, then no upgrade candidate currently exists. Mitigation To mitigate this vulnerability, you can further reduce the value of MaxSessions parameter in the sshd_config file. To do so, perform the following procedure: Impact of action: This procedure requires you to modify your secure shell (SSH) configuration, and to restart the SSH service. If you do not update the configuration syntax correctly, the SSH service may fail to start. When you restart the SSH service, existing SSH sessions may be terminated. You should not perform this procedure using a remote SSH session; any mistakes may prevent further SSH access to the LineRate system. Setting the MaxSessions value to 0 will prevent all shell, login, and subsystem sessions. You should test changes during a maintenance window. Log in to the LineRate command line. Switch to the Advanced Shell (bash) by typing the following command: bash Create a backup of the current sshd_config file by typing the follow command: sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config-K57304814.save Using a text editor, such as vi or pico, locate the #MaxSessions option within the /etc/ssh/sshd_config file, uncomment the line by removing the hash tag ( # ) character from the beginning of the line, and then set the desired value. For example, to limit the number of sessions per connection to 5, locate the following line: #MaxSessions 10 Modify the line to match the following example: MaxSessions 5 Note: You must use the sudo command when opening your text editor, or you will not have permission to save your changes. Save your changes and exit the text editor. Test the syntax of your changes by typing the following two commands: sudo /usr/linerate/sbin/sshd -t If there are no errors, this command should return you to the prompt. echo $? This echo command returns the status code of the last command you typed. The result should be 0 (zero). Important: If either of these commands return errors, repeat step 4 and confirm that the syntax of the modification is correct. Incorrect configuration syntax may prevent the SSH service from starting. Restart the SSH service by typing the following command: sudo service sshd restart Note: Existing SSH sessions may be terminated when you restart the SSH service. Exit bash by typing the following command: exit - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. NOTE: Third Party Rights This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the author's website to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/render.html?cid=1980 =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQIVAwUBWIGId4x+lLeg9Ub1AQj5oQ//faZY8GO54IJZ/R+xOhgXVdB8Mg+3p2qC DNciD4AUcM4gxFu794cpQNPiFwWujcCNxY3gPs8OQHhPeJ+bXuoij9C0yjNmRJpm wmxRtIx+QVxbRWXa8/EKwcfMUogGdQ+xHzPoSawpPyokkC4RCKH5qWvR1nwFFzP1 E8ZYNBNCaaho5xjyW3B8NlnUg2HGQ0U+DRkfvVKvNjdVFCf72XS1T7qInNRJw3r+ nApYdqbkkB+nnGTIuhvsrgrTMq1f6uIkEGP+e3zSLEKvZXNH1uLk39ZxppSgmy/x fsMIr2zPnCu2sByvrDFKEfxL2at8BbS3P6wOY+AZ051yU0noqDhTbtU/zMr0u01F /ug3HADb2enEZD8iMyEXJI6f8peu8xLJIn8hMmWu3iiHh4WtGImhj4Oj21VbxQ+E PKUGAQpy8W/pjpyhv4Ze+ZUVcCDa8Ky2dFUXyutJGS928G6gI79PoLgPRsf/BFHi 2IuUEPk70kPRIQ8MH2yuNOdPL3sg1L0H0uf9Oxdv57Yd8i6ImpPhMP7kHSgU4Drm GF2dFeqh37g0dgVpJ0Y9dMeO8it6zSKpdvF83j0JK62i4JfCIdxx+NePDdWBqnCD uCGJaH7VQuLM+7mv2/My36X8snvanjx3mOjiPk5q4lIg2aS5xtS8H4vBinas+eiQ NVFvg2xXifc= =QxXy -----END PGP SIGNATURE-----