-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2019.4341
   libssh2 integer overflow and out of bounds read/write vulnerabilities
                             15 November 2019

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           FortiOS
Publisher:         FortiGuard Labs
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-3863 CVE-2019-3862 CVE-2019-3861
                   CVE-2019-3860 CVE-2019-3859 CVE-2019-3858
                   CVE-2019-3857 CVE-2019-3856 CVE-2019-3855

Reference:         ESB-2019.3647
                   ESB-2019.3194
                   ESB-2019.2858.2
                   ESB-2019.2795.2
                   ESB-2019.2638

Original Bulletin: 
   https://fortiguard.com/psirt/FG-IR-19-099

- --------------------------BEGIN INCLUDED TEXT--------------------

libssh2 integer overflow and out of bounds read/write vulnerabilities

IR Number : FG-IR-19-099

Date      : Nov 14, 2019

Risk      : 3/5

Impact    : Buffer Overflows

CVE ID    : CVE-2019-3855, CVE-2019-3856, CVE-2019-3857, CVE-2019-3858, 
            CVE-2019-3859, CVE-2019-3860, CVE-2019-3861, CVE-2019-3862, 
            CVE-2019-3863

CVE ID    : CVE-2019-3855, CVE-2019-3856, CVE-2019-3857, CVE-2019-3858, 
            CVE-2019-3859, CVE-2019-3860, CVE-2019-3861, CVE-2019-3862, 
            CVE-2019-3863

Summary

Multiple integer overflow and out of bounds read/write vulnerabilities in the
SSL VPN web-mode SSH client may allow an unauthenticated attacker to cause the
SSL VPN user session to break (Denial of service) and possibly to run arbitrary
code via specially crafted packets sent from a malicious SSH server.


This concerns the following CVEs on a precaution basis:

* CVE-2019-3855 integer overflow when reading a specially crafted packet

* CVE-2019-3856 integer overflow if the server sent an extremely large number
of keyboard prompts

* CVE-2019-3857 integer overflow when receiving a specially crafted exit signal
message channel packet

* CVE-2019-3858 zero byte allocation when reading a specially crafted SFTP
packet

* CVE-2019-3859 out of bounds reads in _libssh2_packet_require(v)

* CVE-2019-3860 out of bounds reads when processing specially crafted SFTP
packets

* CVE-2019-3861 out of bounds read when processing a specially crafted packet

* CVE-2019-3862 out of bounds read when receiving a specially crafted exit
status message channel packet

* CVE-2019-3863 integer overflow in userauth_keyboard_interactive with a number
of extremely long prompt strings

Impact

Buffer Overflows

Affected Products

FortiOS 6.2.0

FortiOS 6.0.0 to 6.0.6

FortiOS 5.6.0 to 5.6.10

other versions are not impacted.

Solutions

There is no known exploit for these vulnerabilities and the affected FortiOS
code was patched on 5.6.11, 6.0.7 and 6.2.1, by measure of precaution.


Workarounds:


Do not access SSH server using SSH client in SSL VPN web-mode if the remote SSH
server is operating under an untrusted environment.

- --------------------------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:

        https://www.auscert.org.au/bulletins/

===========================================================================
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

iQIVAwUBXc43vmaOgq3Tt24GAQjcXg/9HQHqBybOYQ5TB8NvizrzluXaHJkPWf9v
E+yjZmpvzpvaz/FF3dYVRttDWT+p31i5/fTGnFQs4cd68p1Eyzc0U15O8/uSuZQF
W/6WvsKpZtN9rFzo40dgPhckpKtU83gobMwNF4rby72g7CHoCWjmzQrT2GVOwBP8
UssuuyHFiWljsRF7gNjqylCYavd2IC3+gfRSsrppqA6mReh+KxWWqB2B6HuVUxCy
e1tIoet3f5ihdqj7Aycdy4amZfDmwKzLLWiFB6fDPGkRVkO4V9f2FeAGTXdRTxSV
mQT6fNjmFbsYzZG4HhicSLIqc+ntHp97X4bFv7CXyNi6wTvypyPTQP8YLKzwnpNW
Y0GZWcYgSZWGDiqu1mEo1LDTo76vh69k4h3gp2z+/xHw98dJhpXJW+UUdTHyJhO8
yya83R2v2jrWa2gNGXT3+60z5CRxRJB9LbjIs3UuFp5ZCxoPnBm97B+G3k5UQwp8
On3dV9EUKM1bNI0jOa6MQTm9n+ApGwfCYNiBgvy0261TWd9lI5Kmq/C8Clpy5ncp
QH8X4IrRql7MYV4+1gWLc9R6lWcKWhonN6nRIRbBrBEGQ2qZZMzII/8QsKTbDytb
hQz2pkIWKqXzKL5hzalIqVAguZx2tn0X2sQdvy/gZWC+F2xCME8MbP1XHhxLXIWc
sSYVjYL4grI=
=Xg3/
-----END PGP SIGNATURE-----