ESB-2018.3359 - [Appliance] F5 BIG-IP products: Denial of service - Remote/unauthenticated 2018-10-31

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.3359
                K72442354: TMM vulnerability CVE-2018-15320
                              31 October 2018

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

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

Product:           F5 BIG-IP products
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-15320  

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

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

K72442354: TMM vulnerability CVE-2018-15320

Security Advisory

Original Publication Date: Oct 31, 2018

Security Advisory Description

Undisclosed traffic patterns may lead to denial of service conditions for the
BIG-IP system. The configuration which exposes this condition is the BIG-IP
self IP address which is part of a VLAN group and has the Port Lockdown setting
configured with anything other than "allow-all". (CVE-2018-15320)

Impact

BIG-IP

The data plane of the BIG-IP virtual servers and the management address are not
affected. The BIG-IP self IP address that has the Port Lockdown setting
configured with anything other than allow-all is affected by this
vulnerability.

BIG-IQ / iWorkflow / Enterprise Manager / Traffix SDC

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

Security Advisory Status

F5 Product Development has assigned ID 725815 (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    |14.0.0.3  |          |      |          |
|BIG-IP (LTM, AAM,  +------+----------+----------+          |      |          |
|AFM, Analytics,    |13.x  |13.0.0 -  |13.1.1.2  |          |      |          |
|APM, ASM, DNS, Edge|      |13.1.1    |          |          |      |          |
|Gateway, FPS, GTM, +------+----------+----------+High      |7.5   |TMM       |
|Link Controller,   |12.x  |None      |Not       |          |      |          |
|PEM,               |      |          |applicable|          |      |          |
|WebAccelerator)    +------+----------+----------+          |      |          |
|                   |11.x  |None      |Not       |          |      |          |
|                   |      |          |applicable|          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|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 provision the BIG-IP AFM module and use
the Drop rule and add only the allowed ports for the affected self IP
addresses, similar to how Port Lockdown is configured on the affected self IP
addresses.

The way you should configure the firewall policies and rules to mitigate the
vulnerability depends on the BIG-IP deployment environment. The following two
sample configurations illustrate an affected configuration and how you can
configure a workaround to mitigate the issue.

Note: There are many ways to configure the firewall rules and rule-lists, and
the following sample configurations illustrate just some of the many ways you
can configure them.

Following is a sample of the affected configuration on the self IP address on
vlan v1000_234:

net self v1000_234 {
    address 10.0.0.234/24
    allow-service {
        tcp:11500
        tcp:11501
        default
    }
    traffic-group traffic-group-local-only
    vlan v1000_234
}

Following is a sample workaround for the previous affected configuration using
a firewall policy that is enforced on the self IP address configuration.

First, configure a firewall policy that contains the rules you want to drop
and allows the required custom protocols/ports and the BIG-IP default allow
list for the self IP address on VLAN v1000_234:

security firewall policy SelfIP_Filters {
    rules {
        _Common_Allow_custom_ports {
            description "Allow custom ports for vlan v1000_234"
            rule-list Allow_custom_ports
        }
        _Common_Drop_SelfIP {
            description "Drop rule for vlan v1000_234"
            rule-list Drop_SelfIP
        }
    }
}

- From the previous sample configuration, the Allow_custom_ports
rule-list consists of the rules with the accept action for the vlan v1000_234
on the custom ports of TCP 11500 and 11501, as well as the BIG-IP default allow
list on the self IP address. The Allow_custom_ports rule-list may appear
similar to the following example:

security firewall rule-list Allow_custom_ports {
    rules {
        Allow_Custom_TCP {
            action accept
            description "Allow custom TCP for vlan v1000_234"
            ip-protocol tcp
            source {
                port-lists {
                    TCP_custom_ports
                    _sys_self_allow_tcp_defaults
                }
                vlans {
                    v1000_234
                }
            }
        }
        Allow_Custom_UDP {
            action accept
            ip-protocol udp
            source {
                port-lists {
                    _sys_self_allow_udp_defaults
                }
                vlans {
                    v1000_234
                }
            }
        }
        Allow_igmp {
            action accept
            ip-protocol igmp
            source {
                vlans {
                    v1000_234
                }
            }
        }
        Allow_OSPF {
            action accept
            ip-protocol ospf
            source {
                vlans {
                    v1000_234
                }
            }
        }
        Allow_PIM {
            action accept
            ip-protocol pim
            source {
                vlans {
                    v1000_234
                }
            }
        }
    }
}

The Drop_SelfIP rule-list consists of the drop action rule on any address and
any ports for the vlan v1000_234. The Drop_SelfIP rule-list may appear similar
to the following example:

security firewall rule-list Drop_SelfIP {
    description "Drop rule for selfip on vlan 1000"
    rules {
        Rule1 {
            action drop
            description "Drop all on vlan v1000_234"
            source {
                vlans {
                    v1000_234
                }
            }
        }
    }
}

Enable the firewall policy SelfIP_Filters in the affected self IP configuration
and change the Port Lockdown configuration of this self IP address to Allow All
, as follows:

net self v1000_234 {
    address 10.0.0.234/24
    allow-service all
    fw-enforced-policy SelfIP_Filters
    traffic-group traffic-group-local-only
    vlan v1000_234
}

Additional information

  o For more information about the BIG-IP default allow list on a self IP
    address, refer to K17333: Overview of port lockdown behavior (12.x - 13.x).
  o For the detailed guide about configuring firewall rules, refer to the
    BIG-IP AFM manual BIG-IP Network Firewall: Policies and Implementations.
    For information on how to locate the manual for the specific product and
    version, refer to K12453464: Finding product documentation on AskF5.

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

iQIVAwUBW9kQ/GaOgq3Tt24GAQjo0w/9G/NO2d+6UzoA5dKATS4rz1w4VI/qWjDV
GFsS924dpg0FnA5I+2KzpNQvjQBC7iChNoB8Wwvo+CnVg0L1Br0dK92JcPcXP9me
3/FA7AyHr2B3QdRuj5q+txHFpPhOO+1DDip/JQIz6kRlM0sM50rqz9b/wZNawY3x
6S4TeMBvV9nx9IKnmZon3FOKX4juRHLqOaJZOaW/vHAGo1eJn7bJihLX9NKfMGIT
4pJeICHi8PE1a9mv99692MQbQ6Gz2IhOXiG6aqxhfgXfdz7bSJBmflrhxP0ACNsB
G4nZIC11MMb4sYStc/9YGHQOfT0ouFyyukGUu4Sdw2UMuTciNzvewmqkXjhbZX3a
4NwNH+liV+osXeZbGtELFamof3ZvOn/EWMUCZS6wJW9BQH7gDOjQiur9EC2W8DWm
oHGd1Zae5wGVzGrKSwRoSk2/NmmH1Y0U78qIwFfuLkxSOlS1/PqhZJlsP0RItOcL
DpiiYp6H9sPT3oNOtX9R9+oc0zL4mzN9RHmcT8iBWZ7Dbh08eo0skvfXykfBwqCb
kWiZpzKxiw4z8RLVGhr+zHhbj8NpHEwPeqT0uhEzrj8s2NnYg/DHWwUyTEWAh8MN
pG45L08i1tiOJ5DRz6K6PrvjTXtlWx9SZaSrrPOJdZTSuUj9M0Nh7an3BDQawDv4
d6ZW+8rU4eA=
=2ahk
-----END PGP SIGNATURE-----

« Back to bulletins