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

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

                               ESB-2018.3219
            K42378447: IPsec IKEv1 vulnerability CVE-2018-5389
                              23 October 2018

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

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

Product:           F5 BIG-IP products
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Access Privileged Data         -- Remote/Unauthenticated
                   Provide Misleading Information -- Remote/Unauthenticated
Resolution:        Mitigation
CVE Names:         CVE-2018-5389  

Original Bulletin: 
   https://support.f5.com/csp/article/K42378447

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

K42378447: IPsec IKEv1 vulnerability CVE-2018-5389

Security Advisory

Original Publication Date: Oct 23, 2018

Security Advisory Description

The Internet Key Exchange v1 main mode is vulnerable to offline dictionary or
brute force attacks. Reusing a key pair across different versions and modes of
IKE could lead to cross-protocol authentication bypasses. It is well known,
that the aggressive mode of IKEv1 PSK is vulnerable to offline dictionary or
brute force attacks. For the main mode, however, only an online attack against
PSK authentication was thought to be feasible. This vulnerability could allow
an attacker to recover a weak Pre-Shared Key or enable the impersonation of a
victim host or network. (CVE-2018-5389)

Impact

BIG-IP

There are four types of attacks on the IKEv1 protocol implementations affected
by this vulnerability:

  o Impersonating a device by performing a Bleichenbacher Oracle attack on its
    IKEv1 implementation of PKE (Public Key Encryption) based authentication.
  o Impersonating a device by performing a Bleichenbacher Oracle attack on its
    IKEv1 implementation of RPKE (Revised Public Key Encryption) based
    authentication.
  o Impersonating a device by forging its RSA signature through Bleichenbacher
    Oracle attack on its IKEv1 implementation of the PKE and RPKE-based
    authentication types.
  o Performing an offline dictionary attack on a Pre-Shared Key (PSK) based
    authentication type for IKEv1.

The BIG-IP system is not affected by the three impersonating attack types.

The BIG-IP system that contains IKEv1 configuration using a weak (low-entropy)
PSK is susceptible to the exploit of this vulnerability.

Enterprise Manager / BIG-IQ / iWorkflow / Traffix SDC

There is no impact for these F5 products; they are not affected by this
vulnerability.

Security Advisory Status

F5 Product Development has assigned ID 741694 (BIG-IP) to this vulnerability.

To determine if your product and version have been evaluated for this
vulnerability, refer to the Applies to (see versions) box. 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. For more information
about security advisory versioning, refer to K51812227: Understanding Security
Advisory versioning.

+-------------------+------+----------+----------+----------+------+----------+
|                   |      |Versions  |Fixes     |          |CVSSv3|Vulnerable|
|Product            |Branch|known to  |introduced|Severity  |score^|component |
|                   |      |be        |in        |          |1     |or feature|
|                   |      |vulnerable|          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|                   |14.x  |14.0.0    |None      |          |      |          |
|BIG-IP (LTM, AAM,  +------+----------+----------+          |      |          |
|AFM, Analytics,    |13.x  |13.0.0 -  |None      |          |      |          |
|APM, ASM, DNS, Edge|      |13.1.1    |          |          |      |          |
|Gateway, FPS, GTM, +------+----------+----------+Medium    |5.9   |IPsec     |
|Link Controller,   |12.x  |12.1.0 -  |None      |          |      |IKEv1     |
|PEM,               |      |12.1.3    |          |          |      |          |
|WebAccelerator)    +------+----------+----------+          |      |          |
|                   |11.x  |11.2.1 -  |None      |          |      |          |
|                   |      |11.6.3    |          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|Enterprise Manager |3.x   |None      |Not       |Not       |None  |None      |
|                   |      |          |applicable|vulnerable|      |          |
+-------------------+------+----------+----------+----------+------+----------+
|                   |6.x   |None      |Not       |          |      |          |
|                   |      |          |applicable|          |      |          |
|                   +------+----------+----------+          |      |          |
|BIG-IQ Centralized |5.x   |None      |Not       |Not       |None  |None      |
|Management         |      |          |applicable|vulnerable|      |          |
|                   +------+----------+----------+          |      |          |
|                   |4.x   |None      |Not       |          |      |          |
|                   |      |          |applicable|          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|BIG-IQ Cloud and   |1.x   |None      |Not       |Not       |None  |None      |
|Orchestration      |      |          |applicable|vulnerable|      |          |
+-------------------+------+----------+----------+----------+------+----------+
|F5 iWorkflow       |2.x   |None      |Not       |Not       |None  |None      |
|                   |      |          |applicable|vulnerable|      |          |
+-------------------+------+----------+----------+----------+------+----------+
|                   |5.x   |None      |Not       |          |      |          |
|                   |      |          |applicable|Not       |      |          |
|Traffix SDC        +------+----------+----------+vulnerable|None  |None      |
|                   |4.x   |None      |Not       |          |      |          |
|                   |      |          |applicable|          |      |          |
+-------------------+------+----------+----------+----------+------+----------+

^1 The CVSSv3 score link takes you to a resource outside of AskF5, and it is
possible that the document may be removed without our knowledge.

Security Advisory 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 Fixes introduced in 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 modify the affected IKEv1 configuration
to use a 256 bit or higher entropy for the PSK.

Supplemental Information

  o K51812227: Understanding Security Advisory versioning
  o K41942608: Overview of Security Advisory articles
  o K4602: Overview of the F5 security vulnerability response policy
  o K4918: Overview of the F5 critical issue hotfix policy
  o K9502: BIG-IP hotfix and point release matrix
  o K13123: Managing BIG-IP product hotfixes (11.x - 13.x)
  o K48955220: Installing an OPSWAT Endpoint Security update on BIG-IP APM
    systems (11.4.x and later)
  o K167: Downloading software and firmware from F5
  o K9970: Subscribing to email notifications regarding F5 products
  o K9957: Creating a custom RSS feed to view new and updated documents

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

iQIVAwUBW85n1maOgq3Tt24GAQja/w/8CqR7yc1z2S08/DE60khf5CGGPqw/lf3t
E7whc8w7BcfFFAiQheoMbiTIBy9KrYNpBkgwhBl+rZulT6BRS4dfaIb7MR3bQzFQ
ZdL6yF2dCN3h6SOaHsRzkkvTGvPnI1XUDsWIiZhCkimWlBdxwQ7VkOSniEEz7TyH
ZKV814cfIfbL5lxtztNocbmz2rjt1WV5BZHyf2U9OdufGsSREZ6LgJ7BSuHZZ2iC
3JaxgN2qGk9vbFA8zVwPV5LLua+aNvKAEZRBHJ2QagdMNcEgBvA8p/PwmilRsfAr
UkW+0hP9HYLXU58/1MCLqcsl7ewGORPYlOurNMgoHQZ75Gbvrcv0cm/0TTAudO//
P7g0UocAjcnyYHpwllWGYg6b38oasVwqarVuWbK01qajTPm26e5BLx73ojjyqpLz
a/11Urur+HwxwgZfi1B+iQ2T71w+6MyAnSgFO9JM68IksfcMgqjqXjZpz6kW1U6o
0g8p6n7pPqOS6ZqbGGdWCDWx9Ct4BvKwk2UgnrMxlf5q6Sls6rvMDoxqxN3u4/rx
N3vE82D6gPKPwTcYE8PvTmu7y5tl1ERuEbMIVdPq39yTVjM53ECEty4LgxBw60GJ
QhIEYQVipc0swfIrZFDzTUHRTxQktGRlCbPz9eIQQ/HpnbxiQYk0GNyDZjnAt56/
lvc9R8g1YU4=
=DSUD
-----END PGP SIGNATURE-----