Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

       FortiOS local certificate private key improper protection in
                             admin CLI console
                             15 November 2019


        AusCERT Security Bulletin Summary

Product:           FortiOS
Publisher:         FortiGuard Labs
Operating System:  Network Appliance
Impact/Access:     Access Confidential Data -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-5593  

Original Bulletin: 

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

FortiOS local certificate private key improper protection in admin CLI console

IR Number : FG-IR-19-134

Date      : Nov 14, 2019

Risk      : 3/5

Impact    : Information Disclosure

CVE ID    : CVE-2019-5593

CVE ID    : CVE-2019-5593


Improper permission or value checking in the CLI console may allow a
non-privileged user to obtain plaint text private keys of system's builtin
local certificates via unsetting the keys encryption password or for user
uploaded local certificates via setting an empty password.

Note that backed up config files can be restored onto a version of FortiOS
vulnerable to this, in order to obtain the plaintext versions of local
certificates private keys encrypted in those config files.


Information Disclosure

Affected Products

For system builtin local certificates via unsetting password:

FortiOS 6.2.0, 6.0.0 to 6.0.6, 5.6.10 and below

For user uploaded local certificates via setting an empty password:

FortiOS 6.2.1, 6.2.0, 6.0.6 and below.


For system builtin local certificates via password unset:

Upgrade to FortiOS 5.6.11, 6.0.7 or 6.2.1 and above

For user uploaded local certificates via setting empty password:

Upgrade to FortiOS 6.0.7 or 6.2.2 and above


Always encrypt your FortiGate configuration during backup and ensure to store
or transfer your FortiGate configuration through secure channels.

Avoid disclosing your FortiGate config snippet containing the following parts:

config vpn certificate local
edit [cert-name]
set password ENC xxx
set private-key "-----BEGIN ENCRYPTED PRIVATE KEY----- ..."


  o https://stuff.purdon.ca/?page_id=233

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


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: http://www.auscert.org.au/render.html?it=1967