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

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

                              ESB-2020.4547.3
             Linux kernel and TMM vulnerability CVE-2020-25705
                              17 August 2021

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

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

Product:           BIG-IP
                   BIG-IQ
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Denial of Service        -- Existing Account      
                   Access Confidential Data -- Remote/Unauthenticated
                   Reduced Security         -- Remote/Unauthenticated
Resolution:        Mitigation
CVE Names:         CVE-2020-25705 CVE-2018-10675 

Reference:         ESB-2020.4505
                   ESB-2020.4391
                   ESB-2020.4377
                   ESB-2020.4375

Original Bulletin: 
   https://support.f5.com/csp/article/K09604370
   https://support.f5.com/csp/article/K40540405

Revision History:  August   17 2021: Vendor issues branch updates
                   January  22 2021: K09604370 - Vendor added additional vulnerable component
                   December 24 2020: Initial Release

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

K09604370: Linux kernel vulnerability CVE-2020-25705

Security Advisory
 
Original Publication Date: Dec 24, 2020
Updated Date: Mar 19, 2021

Security Advisory Description

A flaw in the way reply ICMP packets are limited in the Linux kernel
functionality was found that allows to quickly scan open UDP ports. This flaw
allows an off-path remote user to effectively bypassing source port UDP
randomization. The highest threat from this vulnerability is to confidentiality
and possibly integrity, because software that relies on UDP source port
randomization are indirectly affected as well. Kernel versions before 5.10 may
be vulnerable to this issue. (CVE-2020-25705)

Impact

A remote off-path attacker can determine open User Datagram Protocol (UDP)
source ports on a vulnerable system based on Internet Control Message Protocol
(ICMP) error messages, making it possible to execute a "SAD DNS attack."

Security Advisory Status

F5 Product Development has assigned ID 974093 (BIG-IP) and ID 974093-4 and
974093-5 (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 or   |
|              |      |be        |in        |          |1     |feature        |
|              |      |vulnerable|          |          |      |               |
+--------------+------+----------+----------+----------+------+---------------+
|              |16.x  |None      |Not       |          |      |               |
|              |      |          |applicable|          |      |               |
|              +------+----------+----------+          |      |               |
|BIG-IP (LTM,  |15.x  |None      |Not       |          |      |               |
|AAM, Advanced |      |          |applicable|          |      |               |
|WAF, AFM,     +------+----------+----------+          |      |               |
|Analytics,    |14.x  |None      |14.1.0    |          |      |Linux kernel   |
|APM, ASM,     +------+----------+----------+High      |7.4   |(ICMP          |
|DDHD, DNS,    |13.x  |13.1.0 -  |None      |          |      |implementation)|
|FPS, GTM, Link|      |13.1.3    |          |          |      |               |
|Controller,   +------+----------+----------+          |      |               |
|PEM, SSLO)    |12.x  |12.1.0 -  |None      |          |      |               |
|              |      |12.1.5    |          |          |      |               |
|              +------+----------+----------+          |      |               |
|              |11.x  |11.6.1 -  |None      |          |      |               |
|              |      |11.6.5    |          |          |      |               |
+--------------+------+----------+----------+----------+------+---------------+
|              |8.x   |None      |8.0.0     |          |      |               |
|              +------+----------+----------+          |      |               |
|              |7.x   |7.0.0 -   |None      |          |      |               |
|BIG-IQ        |      |7.1.0     |          |          |      |Linux kernel   |
|Centralized   +------+----------+----------+High      |7.4   |(ICMP          |
|Management    |6.x   |6.0.0 -   |None      |          |      |implementation)|
|              |      |6.1.0     |          |          |      |               |
|              +------+----------+----------+          |      |               |
|              |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.

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

Block outgoing ICMP port unreachable messages on the management interface

To mitigate this vulnerability on the management interface, you can block
outgoing ICMP port unreachable messages. To do so, perform the following
procedure:

Impact of action: The impact of blocking ICMP packets depends on your specific
environment. F5 recommends testing any such changes during a maintenance window
with consideration to the possible impact on your specific environment.

 1. Log in to the BIG-IP command line.
 2. Block outgoing ICMP port unreachable messages by entering the following
    command:

    iptables -A OUTPUT -p icmp --icmp-type destination-unreachable -j DROP

 3. Create a backup of the /config/startup file by entering the following
    command:

    cp /config/startup /config/startup.backup

 4. Using a text editor, edit the /config/startup file.
 5. To ensure iptables changes persist across a reboot, add the following lines
    at the end of the file:

    # For CVE-2020-25705 described in K09604370
    #
    iptables -A OUTPUT -p icmp --icmp-type destination-unreachable -j DROP
    #

 6. Save the /config/startup file and exit the editor.

Supplemental Information

  o K14813: Detecting and mitigating DoS/DDoS attacks (11.4.x - 16.x)
  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


- --------------------------------------------------------------------------------
K40540405: Linux kernel vulnerability CVE-2018-10675

Original Publication Date: 24 Dec, 2020
Latest   Publication Date: 17 Aug, 2021

Security Advisory Description

The do_get_mempolicy function in mm/mempolicy.c in the Linux kernel before
4.12.9 allows local users to cause a denial of service (use-after-free) or
possibly have unspecified other impact via crafted system calls. (
CVE-2018-10675)

Impact

A local attacker can cause a denial-of-service (DoS) or other negative impacts
on a vulnerable system.

Security Advisory Status

F5 Product Development has assigned ID 976181 (BIG-IP), ID 976409 (BIG-IQ),
and CPF-25230 (Traffix SDC) 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      |Not       |        |      |          |
|                     |      |          |applicable|        |      |          |
|                     +------+----------+----------+        |      |          |
|                     |15.x  |None      |Not       |        |      |          |
|                     |      |          |applicable|        |      |          |
|BIG-IP (LTM, AAM,    +------+----------+----------+        |      |          |
|Advanced WAF, AFM,   |14.x  |None      |Not       |        |      |          |
|Analytics, APM, ASM, |      |          |applicable|        |      |Linux     |
|DDHD, DNS, FPS, GTM, +------+----------+----------+Medium  |5.5   |kernel    |
|Link Controller, PEM,|13.x  |None      |Not       |        |      |          |
|SSLO)                |      |          |applicable|        |      |          |
|                     +------+----------+----------+        |      |          |
|                     |12.x  |12.1.0 -  |None      |        |      |          |
|                     |      |12.1.5    |          |        |      |          |
|                     +------+----------+----------+        |      |          |
|                     |11.x  |11.6.1 -  |None      |        |      |          |
|                     |      |11.6.5    |          |        |      |          |
+---------------------+------+----------+----------+--------+------+----------+
|                     |8.x   |None      |8.0.0     |        |      |          |
|                     +------+----------+----------+        |      |          |
|                     |7.x   |7.0.0 -   |None      |        |      |          |
|BIG-IQ Centralized   |      |7.1.0     |          |        |      |Linux     |
|Management           +------+----------+----------+Medium  |5.5   |kernel    |
|                     |6.x   |6.0.0 -   |None      |        |      |          |
|                     |      |6.1.0     |          |        |      |          |
|                     +------+----------+----------+        |      |          |
|                     |5.x   |5.4.0     |None      |        |      |          |
+---------------------+------+----------+----------+--------+------+----------+
|Traffix SDC          |5.x   |5.1.0     |5.1.0 CF  |Medium  |5.5   |Linux     |
|                     |      |          |22        |        |      |kernel    |
+---------------------+------+----------+----------+--------+------+----------+

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

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 should permit management access to F5
products only over a secure network and restrict command line access for
affected systems to only trusted users. For more information about this
mitigation that is applicable to the BIG-IP system, refer to K13309:
Restricting access to the Configuration utility by source IP address (11.x -
16.x) and K13092: Overview of securing access to the BIG-IP system.

Supplemental Information

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

iQIVAwUBYRsTFuNLKJtyKPYoAQgdSQ//fSU3buGD6Cg1c8AT/XHBp31gCL7cjRTH
8nRDTOJbVmC3Svy7Gbl6pUH09nhkuSgJ5yrsG8oyRj5XxxVXxVhr6zNu3J8YLlDf
wFZ/eW1Mmcob/nZo2eyJmckwsIf11BzKzpxNqZIwacBPKSK+w1kC2Fht0vpb+ojg
Uwq3wFQPg6mtcgu9tFSwMxJeCc0JMz8aaCHlVEygebTVURq7vRM6xF8vi7DdRry9
htcDSih3/5HaAiAPz+6dOq5YMllzoKFAXw2sIlaDKTiA9FgUkLvcjdr9pfn2YaoM
fgovh0tRWpLnyzEXTdv+wBZxM2qSpMUBpPmAQF165lKqafkuJCYka6iu95tHz6O7
ipLEImafCYiqCSWLcBzgYEFUtZutWVcLuV3JUYWnqDH/9VX/bHrbn0R99L5Y3FiN
kB/05W6ZX3wlbs+jeSV8HtzSZtF37snCOk901LdAXlJpvo6ozjssWJXRPbZa/UKG
hCsYlhQUpquaWDuXlicRV+hnh5JlB0TY0RAcIzEbb2/el/yD5G5kzI2MS5FeZm/C
3MOKvGsnvY7Q8oAqw8d3t8aMhl/jTzKKsuOEIoK4YG0tmSq+jz41+I1affWAbOjt
9DtAgiYuniwoEF9KFiQWBFCQwAPt/477NLXrISFoc1fnSEFPoyoM6+r7vHF+msPJ
ucxrMfmxe2c=
=MvHd
-----END PGP SIGNATURE-----