ID

VAR-202007-1394


CVE

CVE-2020-5903


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 Scripting (XSS) vulnerability exists in an undisclosed page of the BIG-IP Configuration utility. F5 BIG-IP provides a Traffic Management User Interface (TMUI), also referred to as the Configuration utility, that has multiple vulnerabilities including a remotely exploitable command injection vulnerability that can be used to execute arbitrary commands and subsequently take control of a vulnerable system. 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. BIG-IP Access Policy Manager (APM) , BIG-IP Advanced Firewall Manager (AFM) , BIG-IP Analytics etc. 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. The following products and versions are affected: F5 BIG-IP 15.0.0 to 15.1.0, 14.1.0 to 14.1.2, 13.1.0 to 13.1.3, 12.1.0 to 12.1.5

Trust: 2.52

sources: NVD: CVE-2020-5903 // CERT/CC: VU#290915 // JVNDB: JVNDB-2020-017902 // VULHUB: VHN-184028 // VULMON: CVE-2020-5903

AFFECTED PRODUCTS

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

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 global traffic managerscope:lteversion:15.1.0

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

vendor:f5model:big-ip advanced firewall managerscope:lteversion:15.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 advanced firewall managerscope:gteversion:13.1.0

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

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 domain name systemscope:lteversion:15.1.0

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

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 fraud protection servicescope:lteversion:13.1.3

Trust: 1.0

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

Trust: 1.0

vendor:f5model:big-ip application acceleration managerscope:lteversion:12.1.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 analyticsscope:lteversion:15.1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

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 fraud protection servicescope:gteversion:14.1.0

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 0.8

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

Trust: 0.8

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

Trust: 0.8

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

Trust: 0.8

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

Trust: 0.8

sources: JVNDB: JVNDB-2020-017902 // NVD: CVE-2020-5903

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2020-5903
value: MEDIUM

Trust: 1.0

NVD: CVE-2020-5903
value: MEDIUM

Trust: 0.8

CNNVD: CNNVD-202007-054
value: MEDIUM

Trust: 0.6

VULHUB: VHN-184028
value: MEDIUM

Trust: 0.1

VULMON: CVE-2020-5903
value: MEDIUM

Trust: 0.1

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

Trust: 1.9

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

Trust: 0.1

nvd@nist.gov: CVE-2020-5903
baseSeverity: MEDIUM
baseScore: 6.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: NONE
exploitabilityScore: 2.8
impactScore: 2.7
version: 3.1

Trust: 1.0

NVD: CVE-2020-5903
baseSeverity: MEDIUM
baseScore: 6.1
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: NONE
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: VULHUB: VHN-184028 // VULMON: CVE-2020-5903 // JVNDB: JVNDB-2020-017902 // CNNVD: CNNVD-202007-054 // NVD: CVE-2020-5903

PROBLEMTYPE DATA

problemtype:CWE-79

Trust: 1.1

problemtype:CWE-74

Trust: 0.8

problemtype:Cross-site scripting (CWE-79) [NVD evaluation ]

Trust: 0.8

sources: CERT/CC: VU#290915 // VULHUB: VHN-184028 // JVNDB: JVNDB-2020-017902 // NVD: CVE-2020-5903

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202007-054

TYPE

XSS

Trust: 0.6

sources: CNNVD: CNNVD-202007-054

PATCH

title:K43638305url:https://my.f5.com/manage/s/article/K43638305

Trust: 0.8

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

Trust: 0.6

title:The Registerurl:https://www.theregister.co.uk/2020/07/09/palo_alto_fix/

Trust: 0.2

title:The Registerurl:https://www.theregister.co.uk/2020/07/03/f5_critical_flaws_big_ip/

Trust: 0.2

title: - url:https://github.com/Live-Hack-CVE/CVE-2020-5903

Trust: 0.1

title: - url:https://github.com/soosmile/POC

Trust: 0.1

title:PoCurl:https://github.com/Jonathan-Elias/PoC

Trust: 0.1

title:PoC-in-GitHuburl:https://github.com/developer3000S/PoC-in-GitHub

Trust: 0.1

title:PoC-in-GitHuburl:https://github.com/hectorgie/PoC-in-GitHub

Trust: 0.1

title:Threatposturl:https://threatpost.com/thousands-f5-big-ip-users-takeover/157543/

Trust: 0.1

title:welivesecurityurl:https://www.welivesecurity.com/2020/07/07/attackers-target-critical-vulnerability-popular-networking-gear/

Trust: 0.1

title:Threatposturl:https://threatpost.com/patch-critical-f5-flaw-active-attack/157164/

Trust: 0.1

title: - url:https://www.theregister.co.uk/2020/07/06/roundup_week_july2/

Trust: 0.1

sources: VULMON: CVE-2020-5903 // JVNDB: JVNDB-2020-017902 // CNNVD: CNNVD-202007-054

EXTERNAL IDS

db:NVDid:CVE-2020-5903

Trust: 4.2

db:CERT/CCid:VU#290915

Trust: 3.4

db:JVNid:JVNVU90376702

Trust: 0.8

db:JVNDBid:JVNDB-2020-017902

Trust: 0.8

db:CNNVDid:CNNVD-202007-054

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

Trust: 0.1

db:VULHUBid:VHN-184028

Trust: 0.1

db:VULMONid:CVE-2020-5903

Trust: 0.1

sources: CERT/CC: VU#290915 // VULHUB: VHN-184028 // VULMON: CVE-2020-5903 // JVNDB: JVNDB-2020-017902 // CNNVD: CNNVD-202007-054 // NVD: CVE-2020-5903

REFERENCES

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

Trust: 2.6

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

Trust: 2.6

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

Trust: 1.4

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

Trust: 0.8

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

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://jvn.jp/vu/jvnvu90376702/

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://vigilance.fr/vulnerability/f5-big-ip-cross-site-scripting-via-tmui-32661

Trust: 0.6

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

Trust: 0.6

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

Trust: 0.6

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

Trust: 0.1

url:https://github.com/live-hack-cve/cve-2020-5903

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:https://www.theregister.co.uk/2020/07/03/f5_critical_flaws_big_ip/

Trust: 0.1

url:https://threatpost.com/patch-critical-f5-flaw-active-attack/157164/

Trust: 0.1

sources: CERT/CC: VU#290915 // VULHUB: VHN-184028 // VULMON: CVE-2020-5903 // JVNDB: JVNDB-2020-017902 // CNNVD: CNNVD-202007-054 // NVD: CVE-2020-5903

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-184028
db:VULMONid:CVE-2020-5903
db:JVNDBid:JVNDB-2020-017902
db:CNNVDid:CNNVD-202007-054
db:NVDid:CVE-2020-5903

LAST UPDATE DATE

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


SOURCES UPDATE DATE

db:CERT/CCid:VU#290915date:2020-07-13T00:00:00
db:VULHUBid:VHN-184028date:2023-01-27T00:00:00
db:VULMONid:CVE-2020-5903date:2023-01-27T00:00:00
db:JVNDBid:JVNDB-2020-017902date:2023-11-09T00:23:00
db:CNNVDid:CNNVD-202007-054date:2020-07-24T00:00:00
db:NVDid:CVE-2020-5903date:2024-11-21T05:34:47.873

SOURCES RELEASE DATE

db:CERT/CCid:VU#290915date:2020-07-08T00:00:00
db:VULHUBid:VHN-184028date:2020-07-01T00:00:00
db:VULMONid:CVE-2020-5903date:2020-07-01T00:00:00
db:JVNDBid:JVNDB-2020-017902date:2023-11-09T00:00:00
db:CNNVDid:CNNVD-202007-054date:2020-07-01T00:00:00
db:NVDid:CVE-2020-5903date:2020-07-01T15:15:15.437