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

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

                               ESB-2022.3260
          FortiOS & FortiProxy - Stack-based buffer overflows in
                          diagnostic CLI commands
                                6 July 2022

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

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

Product:           FortiOS
                   FortiProxy
Publisher:         FortiGuard
Operating System:  Network Appliance
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-44170  

Original Bulletin: 
   https://fortiguard.fortinet.com/psirt/FG-IR-21-179

Comment: CVSS (Max):  6.3 CVE-2021-44170 (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C)
         CVSS Source: FortiGuard
         Calculator:  https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?
         vector=CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C

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

FortiOS & FortiProxy - Stack-based buffer overflows in diagnostic CLI commands

IR Number    : FG-IR-21-179
Date         : Jul 5, 2022
Severity     : Medium
CVSSv3 Score : 6.3
Impact       : Execute unauthorized code or commands
CVE ID       : CVE-2021-44170
Affected 
Products     : FortiProxy: 2.0.7, 2.0.6, 2.0.5, 2.0.4, 2.0.3, 2.0.2, 2.0.1,
                           2.0.0, 1.2.9, 1.2.8, 1.2.7, 1.2.6, 1.2.5, 1.2.4,
                           1.2.3, 1.2.2, 1.2.13, 1.2.12, 1.2.11, 1.2.10, 1.2.1,
                           1.2.0, 1.1.6, 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 
                           1.1.0, 1.0.7, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.0.2, 
                           1.0.1, 1.0.0 
               FortiOS:    7.0.2, 7.0.1, 7.0.0, 6.4.8, 6.4.7, 6.4.6, 6.4.5, 
                           6.4.4, 6.4.3, 6.4.2, 6.4.1, 6.4.0, 6.2.9, 6.2.8,
                           6.2.7, 6.2.6, 6.2.5, 6.2.4, 6.2.3, 6.2.2, 6.2.10,
                           6.2.1, 6.2.0, 6.0.9, 6.0.8, 6.0.7, 6.0.6, 6.0.5, 
                           6.0.4, 6.0.3, 6.0.2, 6.0.14,6.0.13, 6.0.12, 6.0.11,
                           6.0.10, 6.0.1, 6.0.0

Summary

A stack-based buffer overflow vulnerability [CWE-121] in the command line
interpreter of FortiOS and FortiProxy may allow an authenticated attacker to
execute unauthorized code or commands via specially crafted command line
arguments.

Affected Products

FortiProxy version 1.0.0 through 1.0.7
FortiProxy version 1.1.0 through 1.1.6
FortiProxy version 1.2.0 through 1.2.13
FortiProxy version 2.0.0 through 2.0.7
FortiOS version 6.0.0 through 6.0.14
FortiOS version 6.2.0 through 6.2.10
FortiOS version 6.4.0 through 6.4.8
FortiOS version 7.0.0 through 7.0.2

Solutions

Upgrade to FortiOS version 7.0.4 or above,
Upgrade to FortiOS version 6.4.9 or above,
Upgrade to FortiOS version 6.2.11 or above.

Upgrade to FortiProxy version 2.0.8 or above.

Acknowledgement

Internally discovered and reported by Giuseppe Cocomazzi of Fortinet Product
Security team.

- --------------------------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: https://auscert.org.au/gpg-key/

iQIVAwUBYsUeYMkNZI30y1K9AQh5+w//dvKkVKkarFSCmGw2pMmBTftvCaDjtLJz
SwJlL6jmV1qNBehyPhCAjQm9a+v1ZVZ2M+GCzqkjhDm5Fs+V2XhoH3XmhnwWHaHh
770gdGnvl6h3PBaKQ7AVkP+3pqwmI6otlXRiA4Byw2K/o8eTS5XEUhOCZCDqCpzW
zTmQC+aNMHcpE1GS4SYELEza1XKX+aKuVfFdHvTC6YfcOevuDopaz25WKZSDHkKW
09y8gxpD4DgtMipixHOoFRUUTCEfzra8pB8EnnQXaur2EfOd3v5lJE8axpyeMuBF
/5HQ6Dk3HNTaKglGSTkopCRvRD8dy+RIU4CjjZ3wRl57slBJ6CohWEp1HlBE/10V
MOTDZCr/pPbSll0DSsLCa7IFdyL2yW2rGJAUC8QlsMOAeepLKGH06aKVfeF7gniz
Ec74HPpayLW2uW4yHXNkXqKVObVLQ2mXPKfgA5e7ze4UKhO4VbAixfSuPQPasejg
P1ReSRg+0YEXh+qKbt4zp4xkgYtAdlRxmkymBKYElAsJJPIJfEEyZ7Uz8JtcPoS1
q5miUkR2tN772Zd4kzxd+4fHhy3jPUFyTrulfd0J5UplVvn8EC8LqTFcycXFb5Yi
QOYNkvPHn+bRHBT9e3rit/a1UaUESaHdsnrRtVIqi7U6cb6n7zQkok1+SC5k9L+M
i4SmF6tSt80=
=oWd1
-----END PGP SIGNATURE-----