Quantum Secular Labs / Blog / Advisories

CVE-2020-5902: F5 BIG-IP Traffic Management User Interface (TMUI) Remote Code Execution Vulnerability

CVE-2020-5902 is rated critical with a CVSS v3.1 base score of 9.8 and affects F5 BIG-IP, along with 1 other product in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03, which means exploitation in the wild has been observed.

Vulnerability 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, and 11.6.1-11.6.5.1, the Traffic Management User Interface (TMUI), also referred to as the Configuration utility, has a Remote Code Execution (RCE) vulnerability in undisclosed pages.

Severity breakdown

CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
  • Attack complexity: Low. No special conditions; the attack can be repeated reliably.
  • Privileges required: None. No account or prior access is needed.
  • User interaction: None. No action from any user is needed.
  • Scope: Unchanged. Impact stays within the vulnerable component.
  • Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
  • Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
  • Availability impact: High. Total loss of availability; the component can be shut down.

Underlying weakness

CWE-22: Improper Limitation of a Pathname to a Restricted Directory

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Affected products

  • F5 Big IP Access Policy Manager: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 up to and including 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Advanced Firewall Manager: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Advanced Web Application Firewall: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Analytics: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Application Acceleration Manager: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Application Security Manager: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Ddos Hybrid Defender: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Domain Name System: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Fraud Protection Service: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Global Traffic Manager: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Link Controller: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Local Traffic Manager: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 Big IP Policy Enforcement Manager: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4
  • F5 SSL Orchestrator: from 11.6.1 before 11.6.5.2; from 12.1.0 before 12.1.5.2; from 13.1.0 before 13.1.3.4; from 14.1.0 before 14.1.2.6; from 15.0.0 before 15.0.1.4; from 15.1.0 before 15.1.0.4

References