ID

VAR-202007-1397


CVE

CVE-2020-5906


TITLE

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

Trust: 0.8

sources: CERT/CC: VU#290915

DESCRIPTION

In versions 13.1.0-13.1.3.3, 12.1.0-12.1.5.2, and 11.6.1-11.6.5.2, the BIG-IP system does not properly enforce the access controls for the scp.blacklist files. This allows Admin and Resource Admin users with Secure Copy (SCP) protocol access to read and overwrite blacklisted files via SCP. 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. 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. multiple F5 Networks The product contains an improper default permissions vulnerability.Information may be obtained and information may be tampered with. 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 SCP tools in F5 BIG-IP versions 13.1.0 to 13.1.3, 12.1.0 to 12.1.5, and 11.6.1 to 11.6.5 have security vulnerabilities. An attacker could exploit this vulnerability to read or overwrite configuration files

Trust: 2.52

sources: NVD: CVE-2020-5906 // CERT/CC: VU#290915 // JVNDB: JVNDB-2020-017901 // VULHUB: VHN-184031 // VULMON: CVE-2020-5906

AFFECTED PRODUCTS

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

Trust: 1.0

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

Trust: 1.0

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

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

Trust: 1.0

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

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

vendor:f5model:big-ip link controllerscope:gteversion:13.1.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 link controllerscope:lteversion:13.1.3

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

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 access policy managerscope:lteversion:12.1.5

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

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

Trust: 1.0

vendor:f5model:big-ip local traffic managerscope:gteversion:13.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 analyticsscope:gteversion:11.6.1

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

Trust: 1.0

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

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

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

Trust: 0.8

sources: JVNDB: JVNDB-2020-017901 // NVD: CVE-2020-5906

CVSS

SEVERITY

CVSSV2

CVSSV3

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

Trust: 1.0

NVD: CVE-2020-5906
value: HIGH

Trust: 0.8

CNNVD: CNNVD-202007-057
value: HIGH

Trust: 0.6

VULHUB: VHN-184031
value: MEDIUM

Trust: 0.1

VULMON: CVE-2020-5906
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2020-5906
severity: MEDIUM
baseScore: 5.5
vectorString: AV:N/AC:L/AU:S/C:P/I:P/A:N
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: NONE
exploitabilityScore: 8.0
impactScore: 4.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.9

VULHUB: VHN-184031
severity: MEDIUM
baseScore: 5.5
vectorString: AV:N/AC:L/AU:S/C:P/I:P/A:N
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: NONE
exploitabilityScore: 8.0
impactScore: 4.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

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

Trust: 1.0

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

Trust: 0.8

sources: VULHUB: VHN-184031 // VULMON: CVE-2020-5906 // JVNDB: JVNDB-2020-017901 // CNNVD: CNNVD-202007-057 // NVD: CVE-2020-5906

PROBLEMTYPE DATA

problemtype:CWE-276

Trust: 1.1

problemtype:CWE-74

Trust: 0.8

problemtype:Inappropriate default permissions (CWE-276) [NVD evaluation ]

Trust: 0.8

sources: CERT/CC: VU#290915 // VULHUB: VHN-184031 // JVNDB: JVNDB-2020-017901 // NVD: CVE-2020-5906

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202007-057

TYPE

other

Trust: 0.6

sources: CNNVD: CNNVD-202007-057

PATCH

title:K82518062url:https://my.f5.com/manage/s/article/K82518062

Trust: 0.8

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

Trust: 0.1

sources: VULMON: CVE-2020-5906 // JVNDB: JVNDB-2020-017901

EXTERNAL IDS

db:NVDid:CVE-2020-5906

Trust: 4.2

db:CERT/CCid:VU#290915

Trust: 3.4

db:JVNid:JVNVU90376702

Trust: 0.8

db:JVNDBid:JVNDB-2020-017901

Trust: 0.8

db:CNNVDid:CNNVD-202007-057

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:VULHUBid:VHN-184031

Trust: 0.1

db:VULMONid:CVE-2020-5906

Trust: 0.1

sources: CERT/CC: VU#290915 // VULHUB: VHN-184031 // VULMON: CVE-2020-5906 // JVNDB: JVNDB-2020-017901 // CNNVD: CNNVD-202007-057 // NVD: CVE-2020-5906

REFERENCES

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

Trust: 2.6

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

Trust: 2.6

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

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

Trust: 0.8

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

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://vigilance.fr/vulnerability/f5-big-ip-read-write-access-via-scp-blacklist-bypass-32663

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://www.auscert.org.au/bulletins/esb-2020.2260.7/

Trust: 0.6

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

Trust: 0.1

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

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

sources: CERT/CC: VU#290915 // VULHUB: VHN-184031 // VULMON: CVE-2020-5906 // JVNDB: JVNDB-2020-017901 // CNNVD: CNNVD-202007-057 // NVD: CVE-2020-5906

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-184031
db:VULMONid:CVE-2020-5906
db:JVNDBid:JVNDB-2020-017901
db:CNNVDid:CNNVD-202007-057
db:NVDid:CVE-2020-5906

LAST UPDATE DATE

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


SOURCES UPDATE DATE

db:CERT/CCid:VU#290915date:2020-07-13T00:00:00
db:VULHUBid:VHN-184031date:2023-01-27T00:00:00
db:VULMONid:CVE-2020-5906date:2023-01-27T00:00:00
db:JVNDBid:JVNDB-2020-017901date:2023-11-09T00:23:00
db:CNNVDid:CNNVD-202007-057date:2020-07-24T00:00:00
db:NVDid:CVE-2020-5906date:2024-11-21T05:34:48.237

SOURCES RELEASE DATE

db:CERT/CCid:VU#290915date:2020-07-08T00:00:00
db:VULHUBid:VHN-184031date:2020-07-01T00:00:00
db:VULMONid:CVE-2020-5906date:2020-07-01T00:00:00
db:JVNDBid:JVNDB-2020-017901date:2023-11-09T00:00:00
db:CNNVDid:CNNVD-202007-057date:2020-07-01T00:00:00
db:NVDid:CVE-2020-5906date:2020-07-01T15:15:15.673