ID

VAR-202007-1395


CVE

CVE-2020-5904


TITLE

F5 BIG-IP contains multiple vulnerabilities including unauthenticated remote command execution

Trust: 0.8

sources: CERT/CC: VU#290915

DESCRIPTION

In BIG-IP versions 15.0.0-15.1.0.3, 14.1.0-14.1.2.5, 13.1.0-13.1.3.3, 12.1.0-12.1.5.1, a cross-site request forgery (CSRF) vulnerability in the Traffic Management User Interface (TMUI), also referred to as the Configuration utility, exists in an undisclosed page. F5 BIG-IP devices provide load-balancing capability to application services such as HTTP and DNS. The F5 BIG-IP TMUI management web interface improperly neutralizes untrusted user input and can be abused by unauthenticated remote attackers to perform malicious activities such as cross-site scripting (XSS), cross-site request forgery (CSRF), and command injection CWE-74. F5 has also announced that BIG-IP devices do not properly enforce access controls to sensitive configuration files that be read and overwritten by an authenticated user via Secure Copy (SCP). The vulnerability identified by CVE-2020-0592 can be abused to achieve arbitrary code execution on the target device with root privileges. Underlying causes and factors in these vulnerabilities include: Improper configuration and a lack of identify checks, see recent article from NCC Group. Understanding the root cause of F5 Networks K52145254: TMUI RCE vulnerability CVE-2020-5902 The TMUI fails to enforce proper authentication and authorization, see OWASP Recommendations The TMUI web interface does not normalize user's input to prevent both XSS and CSRF, allowing a "Deadly Combinations of XSS and CSRF" Lack of role-based access checks allows for for unexpected file access, see Role-Based Access Control Models F5 recommends that the TMUI web interface should be accessible only from a secure or an out-of-band network and not directly from the Internet (K13092). However, many installations, as observed by Bad Packets, do not seem to follow this recommendation. An unauthenticated attacker with network access to the TMUI may be able to execute arbitrary system commands, create or delete files, disable services, and subsequently execute arbitrary code with high privileges such as root. An authenticated user is also be able to perform unexpected activities such as changing configuration files on a vulnerable device. plural BIG-IP The product contains a cross-site request forgery vulnerability.Information is obtained, information is tampered with, and service operation is interrupted. (DoS) It may be put into a state. F5 BIG-IP is an application delivery platform integrated with network traffic management, application security management, load balancing and other functions of the US company F5. A remote attacker could exploit this vulnerability to perform malicious operations with a specially crafted HTTP request. The following products and versions are affected: F5 BIG-IP from version 15.0.0 to version 15.1.0.3, version 14.1.0 to version 14.1.2.5, version 13.1.0 to version 13.1.3.3, version 12.1.0 to version 12.1.5.1

Trust: 2.52

sources: NVD: CVE-2020-5904 // CERT/CC: VU#290915 // JVNDB: JVNDB-2020-007567 // VULHUB: VHN-184029 // VULMON: CVE-2020-5904

AFFECTED PRODUCTS

vendor:f5model:big-ip access policy managerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip link controllerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip analyticsscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip application security managerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip access policy managerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip application security managerscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip access policy managerscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip application security managerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:gteversion:15.1.0

Trust: 1.0

vendor:f5model:big-ip analyticsscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip link controllerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip access policy managerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip access policy managerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip access policy managerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip analyticsscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip link controllerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip link controllerscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip analyticsscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip analyticsscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip analyticsscope:lteversion:13.1.3.3

Trust: 1.0

vendor:f5model:big-ip link controllerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip link controllerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip analyticsscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip application security managerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip access policy managerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip application security managerscope:lteversion:12.1.5.1

Trust: 1.0

vendor:f5model:big-ip link controllerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip application security managerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip domain name systemscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip policy enforcement managerscope:gteversion:12.1.0

Trust: 1.0

vendor:f5model:big-ip link controllerscope:gteversion:15.0.0

Trust: 1.0

vendor:f5model:big-ip application security managerscope:lteversion:14.1.2.5

Trust: 1.0

vendor:f5model:big-ip access policy managerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip fraud protection servicescope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:lteversion:15.1.0.3

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip analyticsscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip application security managerscope:gteversion:13.1.0

Trust: 1.0

vendor:f5model:big-ip global traffic managerscope:gteversion:14.1.0

Trust: 1.0

vendor:f5model:big-ip access policy managerscope: - version: -

Trust: 0.8

vendor:f5model:big-ip advanced firewall managerscope: - version: -

Trust: 0.8

vendor:f5model:big-ip advanced web application firewallscope: - version: -

Trust: 0.8

vendor:f5model:big-ip analyticsscope: - version: -

Trust: 0.8

vendor:f5model:big-ip application acceleration managerscope: - version: -

Trust: 0.8

vendor:f5model:big-ip application security managerscope: - version: -

Trust: 0.8

vendor:f5model:big-ip domain name systemscope: - version: -

Trust: 0.8

vendor:f5model:big-ip fraud protection servicescope: - version: -

Trust: 0.8

vendor:f5model:big-ip global traffic managerscope: - version: -

Trust: 0.8

vendor:f5model:big-ip link controllerscope: - version: -

Trust: 0.8

sources: JVNDB: JVNDB-2020-007567 // NVD: CVE-2020-5904

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2020-5904
value: HIGH

Trust: 1.0

NVD: JVNDB-2020-007567
value: HIGH

Trust: 0.8

CNNVD: CNNVD-202007-055
value: HIGH

Trust: 0.6

VULHUB: VHN-184029
value: MEDIUM

Trust: 0.1

VULMON: CVE-2020-5904
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2020-5904
severity: MEDIUM
baseScore: 6.8
vectorString: AV:N/AC:M/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 8.6
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.1

NVD: JVNDB-2020-007567
severity: MEDIUM
baseScore: 6.8
vectorString: AV:N/AC:M/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: NONE
impactScore: NONE
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.8

VULHUB: VHN-184029
severity: MEDIUM
baseScore: 6.8
vectorString: AV:N/AC:M/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 8.6
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2020-5904
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.1

Trust: 1.0

NVD: JVNDB-2020-007567
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: VULHUB: VHN-184029 // VULMON: CVE-2020-5904 // JVNDB: JVNDB-2020-007567 // CNNVD: CNNVD-202007-055 // NVD: CVE-2020-5904

PROBLEMTYPE DATA

problemtype:CWE-352

Trust: 1.9

problemtype:CWE-74

Trust: 0.8

sources: CERT/CC: VU#290915 // VULHUB: VHN-184029 // JVNDB: JVNDB-2020-007567 // NVD: CVE-2020-5904

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202007-055

TYPE

cross-site request forgery

Trust: 0.6

sources: CNNVD: CNNVD-202007-055

CONFIGURATIONS

sources: JVNDB: JVNDB-2020-007567

PATCH

title:K31301245url:https://support.f5.com/csp/article/K31301245

Trust: 0.8

title:F5 BIG-IP Fixes for cross-site request forgery vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=123139

Trust: 0.6

sources: JVNDB: JVNDB-2020-007567 // CNNVD: CNNVD-202007-055

EXTERNAL IDS

db:NVDid:CVE-2020-5904

Trust: 3.4

db:CERT/CCid:VU#290915

Trust: 3.4

db:JVNid:JVNVU97113078

Trust: 0.8

db:JVNDBid:JVNDB-2020-007567

Trust: 0.8

db:CNNVDid:CNNVD-202007-055

Trust: 0.7

db:AUSCERTid:ESB-2020.2260

Trust: 0.6

db:AUSCERTid:ESB-2020.2260.2

Trust: 0.6

db:AUSCERTid:ESB-2020.2260.7

Trust: 0.6

db:AUSCERTid:ESB-2020.2260.5

Trust: 0.6

db:AUSCERTid:ESB-2020.2260.6

Trust: 0.6

db:AUSCERTid:ESB-2020.2260.3

Trust: 0.6

db:CNVDid:CNVD-2020-61640

Trust: 0.1

db:VULHUBid:VHN-184029

Trust: 0.1

db:VULMONid:CVE-2020-5904

Trust: 0.1

sources: CERT/CC: VU#290915 // VULHUB: VHN-184029 // VULMON: CVE-2020-5904 // JVNDB: JVNDB-2020-007567 // CNNVD: CNNVD-202007-055 // NVD: CVE-2020-5904

REFERENCES

url:https://support.f5.com/csp/article/k31301245

Trust: 2.6

url:https://www.kb.cert.org/vuls/id/290915

Trust: 2.6

url:https://nvd.nist.gov/vuln/detail/cve-2020-5904

Trust: 1.4

url:https://support.f5.com/csp/article/k52145254

Trust: 0.8

url:https://support.f5.com/csp/article/k43638305

Trust: 0.8

url:https://support.f5.com/csp/article/k07051153

Trust: 0.8

url:https://support.f5.com/csp/article/k82518062

Trust: 0.8

url:https://support.f5.com/csp/article/k00091341

Trust: 0.8

url:https://support.f5.com/csp/article/k33023560

Trust: 0.8

url:https://github.com/yassineaboukir/cve-2020-5902

Trust: 0.8

url:https://research.nccgroup.com/2020/07/12/understanding-the-root-cause-of-f5-networks-k52145254-tmui-rce-vulnerability-cve-2020-5902/

Trust: 0.8

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2020-5904

Trust: 0.8

url:https://jvn.jp/vu/jvnvu97113078/

Trust: 0.8

url:https://www.auscert.org.au/bulletins/esb-2020.2260.5/

Trust: 0.6

url:https://www.auscert.org.au/bulletins/esb-2020.2260.6/

Trust: 0.6

url:https://www.auscert.org.au/bulletins/esb-2020.2260.3/

Trust: 0.6

url:https://www.auscert.org.au/bulletins/esb-2020.2260/

Trust: 0.6

url:https://www.auscert.org.au/bulletins/esb-2020.2260.2/

Trust: 0.6

url:https://vigilance.fr/vulnerability/f5-big-ip-cross-site-request-forgery-via-tmui-32658

Trust: 0.6

url:https://www.auscert.org.au/bulletins/esb-2020.2260.7/

Trust: 0.6

url:https://cwe.mitre.org/data/definitions/352.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

sources: CERT/CC: VU#290915 // VULHUB: VHN-184029 // VULMON: CVE-2020-5904 // JVNDB: JVNDB-2020-007567 // CNNVD: CNNVD-202007-055 // NVD: CVE-2020-5904

CREDITS

Several of these vulnerabilities were reported by Mikhail Klyuchnikov of Positive Technologies, who worked with F5 on a coordinated disclosure. This document was written by Vijay Sarvepalli.

Trust: 0.8

sources: CERT/CC: VU#290915

SOURCES

db:CERT/CCid:VU#290915
db:VULHUBid:VHN-184029
db:VULMONid:CVE-2020-5904
db:JVNDBid:JVNDB-2020-007567
db:CNNVDid:CNNVD-202007-055
db:NVDid:CVE-2020-5904

LAST UPDATE DATE

2024-11-23T22:05:29.517000+00:00


SOURCES UPDATE DATE

db:CERT/CCid:VU#290915date:2020-07-13T00:00:00
db:VULHUBid:VHN-184029date:2020-07-10T00:00:00
db:VULMONid:CVE-2020-5904date:2020-07-10T00:00:00
db:JVNDBid:JVNDB-2020-007567date:2020-08-18T00:00:00
db:CNNVDid:CNNVD-202007-055date:2020-07-30T00:00:00
db:NVDid:CVE-2020-5904date:2024-11-21T05:34:48.013

SOURCES RELEASE DATE

db:CERT/CCid:VU#290915date:2020-07-08T00:00:00
db:VULHUBid:VHN-184029date:2020-07-01T00:00:00
db:VULMONid:CVE-2020-5904date:2020-07-01T00:00:00
db:JVNDBid:JVNDB-2020-007567date:2020-08-18T00:00:00
db:CNNVDid:CNNVD-202007-055date:2020-07-01T00:00:00
db:NVDid:CVE-2020-5904date:2020-07-01T15:15:15.530