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

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

                               ESB-2020.2934
              iControl REST CSRF vulnerability CVE-2020-5922
                              26 August 2020

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

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

Product:           BIG-IP products
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Cross-site Request Forgery -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-5922  

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

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

K20606443: iControl REST CSRF vulnerability CVE-2020-5922

Security Advisory

Original Publication Date: 26 Aug, 2020

Security Advisory Description

iControl REST does not implement cross-site request forgery (CSRF) protections
for users applying basic authentication in a web browser. (CVE-2020-5922)

Impact

In a successful exploit, an attacker can run JavaScript in the context of the
currently logged-in user. For an administrative user with access to the
Advanced Shell (bash), successful exploitation of this vulnerability can be
leveraged to compromise the BIG-IP system through remote code execution.

The attack conditions require a valid user to first authenticate to the
iControl REST API using Basic Auth credentials in their browser, which is an
uncommon use case and not recommended. Standard Configuration utility use of
iControl REST and manually browsing REST through /mgmt/toc does not expose this
issue, as these mechanisms use token-based authentication with custom HTTP
headers.

Security Advisory Status

F5 Product Development has assigned ID 841577 (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, 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    |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |15.x  |15.0.0 -  |15.1.0.5  |          |      |          |
|                   |      |15.1.0    |          |          |      |          |
|BIG-IP (LTM, AAM,  +------+----------+----------+          |      |          |
|Advanced WAF, AFM, |14.x  |14.1.0 -  |14.1.2.7  |          |      |          |
|Analytics, APM,    |      |14.1.2    |          |          |      |          |
|ASM, DDHD, DNS,    +------+----------+----------+High      |7.5   |iControl  |
|FPS, GTM, Link     |13.x  |13.1.0 -  |13.1.3.4  |          |      |REST      |
|Controller, PEM,   |      |13.1.3    |          |          |      |          |
|SSLO)              +------+----------+----------+          |      |          |
|                   |12.x  |12.1.0 -  |12.1.5.2  |          |      |          |
|                   |      |12.1.5    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |11.x  |11.6.1 -  |None      |          |      |          |
|                   |      |11.6.5    |          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|                   |7.x   |None      |Not       |          |      |          |
|                   |      |          |applicable|          |      |          |
|                   +------+----------+----------+          |      |          |
|BIG-IQ Centralized |6.x   |None      |Not       |Not       |None  |None      |
|Management         |      |          |applicable|vulnerable|      |          |
|                   +------+----------+----------+          |      |          |
|                   |5.x   |None      |Not       |          |      |          |
|                   |      |          |applicable|          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|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.

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 eliminate this vulnerability, you can avoid using iControl REST with basic
authentication through a web browser. F5 does not recommend this method.

If you must use basic authentication in the browser with iControl REST, you can
mitigate this vulnerability by performing the following actions:

  o When finished, log off immediately by closing all instances of the web
    browser to which you applied iControl REST with basic authentication.
  o Do not allow the web browser to save usernames and passwords, and do not
    allow sites to remember the log-in details for iControl REST.
  o Do not use the same web browser that you used iControl REST with basic
    authentication for any other purposes, such as surfing the Internet. If it
    is necessary to perform both actions on the same client machine, do so in
    separate browsers.

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

iQIVAwUBX0X0veNLKJtyKPYoAQhkng/8CgcESL9kizORhXOpJzFBzqJNZbWBNdIY
LpGFRw+UefMkNARQlkQkH1LIYOv/dcK+MPaNyhZZkqbOUrrMHuRpop8C64fVRzMj
4Vib0m44yyZDOy9+L50snDbafY5ZHCyqA2PkIx50V64GdDU4cDKofXKbNkNga4Qy
IwDOikCQhPL2MVIfGnItiuT/xIC7oUH/eMHpcDV49dtRSAiIF3SrQTWJRuiPL8I8
LMzQMXbk04u6wyTsPd/wgFoxmh57I8TpJPhHYIoyxMgFiBtrYNUBulvlpW0fGsDP
B8PD+h5RQpey7r/zlK2vu5xF2cYJUmvk3bUu4Bi/haAA4wRpLMHxoiabRdWBB0cw
+aclDLqb29u5ialJHrP8/bDcWiXVmXO0KdjC/jK1f3kFGEL/VhyMYdEgljVyFZPs
acfTNTOZfy4lVHHwnMPxmYLZ2GQH1CrPUfjaGnOlDnsq9l6w0y10UOt91Fvf+N3h
IRLL9tIfJNVkduRV6wwyKhctWslv533dTaP8zY/z1CAjnP6QiaA0i5X0KrOqRgB1
Bvvspwm7XoqS46FIaZ9TGs78OI20cZt/qb2EWkENyCeyIu51fiByNX4V//IObWtZ
7FC3AjooEuoD4l4GqDwSZ58TL982o6QTp72VTj86W4/80j2uwncdFDxOZFdLZwK8
ebz0pxw6oC4=
=dvvS
-----END PGP SIGNATURE-----