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

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

                              ESB-2019.1114.2
                     FortiOS multiple vulnerabilities
                                22 May 2019

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

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

Product:           FortiOS
Publisher:         FortiGuard
Operating System:  Network Appliance
Impact/Access:     Increased Privileges -- Existing Account            
                   Denial of Service    -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-13383 CVE-2017-17544 

Original Bulletin: 
   https://fortiguard.com/psirt/FG-IR-18-388
   https://fortiguard.com/psirt/FG-IR-17-053

Revision History:  May   22 2019: Updated FG-IR-18-388 - Add fix on 6.0 branch
                   April  3 2019: Initial Release

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

SSL VPN buffer overrun when parsing javascript href content

IR Number : FG-IR-18-388

Date      : Apr 02, 2019

Risk      : 2/5

Impact    : Denial of service

CVE ID    : CVE-2018-13383

Summary

A heap buffer overflow vulnerability in the FortiOS SSL VPN web portal may
cause the SSL VPN web service termination for logged in users; this happens
when an authenticated user visits a specifically crafted proxy-ed webpage, and
this is due to a failure to handle javascript href content properly.


Exploiting this weakness to perform remote code execution has on the other hand
not been proven to be feasible.

Impact

Denial of service

Affected Products

FortiOS all versions lower than 6.0.5

Solutions

Upgrade to FortiOS 6.0.5 or 6.2.0


Workarounds:


Disable the SSL-VPN web portal service by applying the following CLI commands:


config vpn ssl settings
unset source-interface
end


Revision History:


2019-04-02 Initial Version
2019-05-15 Add fix on 6.0 branch

Acknowledgement

Fortinet is pleased to thank Meh Chang and Orange Tsai from DEVCORE Security
Research Team for reporting this vulnerability under responsible disclosure.

- ------------------------------------------------------------------------------

FortiOS admin privilege escalation via restoring configs

IR Number : FG-IR-17-053

Date      : Apr 02, 2019

Risk      : 2/5

Impact    : Privilege Escalation

CVE ID    : CVE-2017-17544

Summary

A privilege escalation vulnerability in FortiOS may allow admin users to
elevate their profile to super_admin, via restoring modified configurations.

Impact

Privilege Escalation

Affected Products

FortiOS all versions below 6.2.0

Solutions

Upgrade to FortiOS 6.2.0


Workarounds


The conditions to achieve privilege escalation via this vulnerability are as
follows:


* Regular mode (no VDOM):

The user's profile "Administrator Users" and "Maintenance" privileges are both
set to "read-write"


* VDOM mode:

The user's profile "Administrator Users" and "Maintenance" privileges are both
set to "read-write", and the user's profile's scope is set to "global"


The following CLI commands prevent those conditions to be met:


* Regular mode:

config system accprofile
edit [profile-name]
set sysgrp custom
config sysgrp-permission
set admin none
set mnt none
end
next
end


* VDOM mode:

config system accprofile
edit [profile-name]
set scope vdom
set sysgrp custom
config sysgrp-permission
set admin none
set mnt none
end
next
end

Acknowledgement

Fortinet is pleased to thank independent researcher youssef El GARROUM for
reporting this vulnerability under responsible disclosure.

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

iQIVAwUBXOSPwmaOgq3Tt24GAQgibxAAtkQL2APOxMJmXPPMhqquGGJYe8XSwbCY
jYR9wfPA/nlza55hMKL66PHGfi8fw0bFcsWHo6d9j041zSxMigerZ6YCmas9Vh05
FJKAq6t3nvKdECbX9r/8XyoX0teTtiIfiIoyo8KkWQX6JXwKrPQ3NfCwd37JSivI
T/VmeHP4w5LbeCNzjqlmDVoTEHIOKCo7bLnlJe8+9kBCmEc8gnh2XHyb3H3Oxw8p
UAva+IC47BE4QqjQick2eOCS7mtPRuNw7gitsO1YUq78nemYWVbXppDZOOAz5fDM
fYPdwV2oHwIsK3SmpqZ+kKK37u/A28p/GGvYc/Kw046mbuq8vXrNk7aEUxPIznFk
+9hpXiojgUE4lCIiSihkwui4vNCo6cB5iHU5jff68jV0lr8RuKV9OyBQ1yNPcemk
u+yB58jhQ9sN/+DFQ+ypo50OTp7/AzGQF48w8XjbHgmVYsyLodWv5Eh8/qcp5yQ6
/Ww45bK3JC/LmYb9SkEkNm1kMhaUm/KCvTBNHPNwaCVVHDc/33QWLOoQSIUle6QC
QrES91bYBWlJmyrvLv6Xww0dgyeovz6dk0gkq31HhiaF25h0hA2rTsmqIudI4ztk
mZPfGd/RLZESOffDlPtP1DQapH4o6VUjLojU8maix6TVfGSJ0uJj2Nf+D4Zn4UO5
bP2d1Tosorw=
=LOXl
-----END PGP SIGNATURE-----