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

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

                              ESB-2020.2932.2
                BIG-IP self IP vulnerability CVE-2020-5923
                             18 December 2020

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

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

Product:           BIG-IP products
                   BIG-IQ products
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Unauthorised Access -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-5923  

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

Revision History:  December 18 2020: Vendor updated minor version fix information
                   August   26 2020: Initial Release

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

K05975972: BIG-IP self IP vulnerability CVE-2020-5923

Original Publication Date: 26 Aug, 2020
Latest   Publication Date: 18 Dec, 2020

Security Advisory Description

Self-IP port-lockdown bypass by way of IPv6 link-local addresses. (
CVE-2020-5923)

Impact

Port lockdowns may be bypassable on accessible self IP addresses on an ipv6
link-local address.

Security Advisory Status

F5 Product Development has assigned ID 832885 (BIG-IP) and ID 838697 (BIG-IQ),
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, point 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|          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|                   |16.x  |None      |16.0.0^2  |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |15.x  |15.0.0 -  |15.1.0.5^2|          |      |          |
|                   |      |15.1.0    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|BIG-IP (LTM, AAM,  |14.x  |14.0.0 -  |14.1.2.7^2|          |      |          |
|AFM, Analytics,    |      |14.1.2    |          |          |      |          |
|APM, ASM, DNS, FPS,+------+----------+----------+Medium    |5.4   |VLAN/     |
|GTM, Link          |13.x  |13.1.0 -  |13.1.3.4^2|          |      |Self-IP   |
|Controller, PEM)   |      |13.1.3    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |12.x  |12.1.0 -  |12.1.5.2^2|          |      |          |
|                   |      |12.1.5    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |11.x  |11.5.2 -  |11.6.5.2^2|          |      |          |
|                   |      |11.6.5    |          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|                   |7.x   |7.0.0     |None      |          |      |          |
|                   +------+----------+----------+          |      |          |
|BIG-IQ Centralized |6.x   |6.0.0 -   |None      |Medium    |5.4   |VLAN/     |
|Management         |      |6.1.0     |          |          |      |Self-IP   |
|                   +------+----------+----------+          |      |          |
|                   |5.x   |5.4.0     |None      |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|Traffix SDC        |5.x   |None      |Not       |Not       |None  |None      |
|                   |      |          |applicable|vulnerable|      |          |
+-------------------+------+----------+----------+----------+------+----------+

^1The CVSSv3 score link takes you to a resource outside of AskF5, and it is
possible that the document may be removed without our knowledge.
^2The fix for this vulnerability introduced a new database, DB variable,
tm.linklocal.allowservice. After upgrading to a fixed version listed in the
table, you must set the value of the DB key tm.linklocal.allowservice to none.
This is required as the default value of tm.linklocal.allowservice is default.
F5 assigned ID 972933 to the requirement for the default value of 
tm.linklocal.allowservice in the BIG-IP system to be set to none. 

To list the value of tm.linklocal.allowservice in the BIG-IP system, enter the
following command using the TMOS Shell (tmsh):
list sys db tm.linklocal.allowservice all-properties

To manually, set the value of the DB key, enter the following command using
tmsh:
modify sys db tm.linklocal.allowservice value none

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

You can use a packet filter to block link-local IPv6 addresses and ports. As
noted below, treating the default allow-list as the list of allowed services
for the link-local addresses and managing the allowed services for the
configured self-IP addresses individually is also a possible workaround.

BIG-IP 

  o Ensure that self-IP addresses are accessible from only trusted networks
    using either the BIG-IP packet filter, BIG-IP AFM, or an external firewall.
  o Configure only necessary ports by way of the port lockdown
    settings. Consider required ports as described in the following article:
       K17333: Overview of port lockdown behavior (12.x - 16.x)
  o Configure the sshd / httpd allow list from expected IPv6 traffic sources
    only:
       K13309: Restricting access to the Configuration utility by source IP
        address (11.x - 16.x)
       K5380: Specifying allowable IP ranges for SSH access

BIG-IQ

  o Configure the sshd / httpd allow list from expected IPv6 traffic sources.
       K13309: Restricting access to the Configuration utility by source IP
        address (11.x - 16.x)
       K5380: Specifying allowable IP ranges for SSH access
  o Configure only the specific ports needed by the BIG-IQ deployment ports by
    way of the port lockdown settings.
       K15612: Connectivity requirements for the BIG-IQ system
       K39403510: Managing the port lockdown configuration on the BIG-IQ
        system
  o You can use an external packet filtering device to secure access to the
    BIG-IQ self IP address.
       K13092: Overview of securing access to the BIG-IP system.

Supplemental Information

o K15203: Configuring IPv6 link-local self IP addresses (10.x - 15.x)
  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 - 16.x)
  o K15106: Managing BIG-IQ product hotfixes
  o K15113: BIG-IQ hotfix and point release matrix
  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

iQIVAwUBX9wNcONLKJtyKPYoAQh3ow/9FeUahmeI24bFLYW+6jf8BadVhjY53c4E
ZYUlXx3DFkzxOMKOpJB6Rd3iP1zJ4ll0LKz0040Lcri/kdSxM2Jo2B7VCWccGQTz
ynOxz1vlg183w/gmXTOmqdIica4Qpmfauk70rpXx+Y2L8epfZzxmYqoowcFkSk8z
YxI9msJ5wg9hskWEb8tAIzF4/V0RpRd5DKb+QSS+QHGCkl6tMisYYnbs5dCNMwCQ
xYTgLZv2by3Sdm9U3AVTLLF2zQO9Rof4IJhaRHePoArEWqFbxMeyhPqdKfj9bNCE
3rvrhpf0z5+k2cN5aC3w1hBcziJh32fGmRqPYvCplWfPNE0yczbQOiYu+Ncemhc0
PIGxKtPPgyg8ytHy5cC0Mk7sz41cYxU/sGV1Ei4J6AW49bYCSpPgOInS42ouVAhk
ghxI5F5TXMKTe6c+8fV0WF3W4w1rkTk/IvhRvvANnY+M4vyKAAItwsVwPshWue9D
vU9nC/ZZM8O/DZv2ZGgdk6JBSNKuLWBphaxlPfDfD4sohLI7Wlv5SGpapOeq3TYb
ofFCBgriM6J5k44pghKL8v2O0GNzqLVsgYylaMohyn6VyoCOO1L3Y6Tg7UAqDS9R
GAi09bPau1nVns36GsWyPSUANTWguJMAYXx+CSfDEoJeiA3qEKITpi0wsyuU7o71
tcDmYUhlvKc=
=MYxB
-----END PGP SIGNATURE-----