MikroTik RouterOS Link Following (CVE-2022-34960)

critical Tenable OT Security Plugin ID 502042

Synopsis

The remote OT asset is affected by a vulnerability.

Description

The container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links, which resolve to locations on the host device. This allows the attacker to mount any arbitrary file to any location on the host.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

https://nns.ee/blog/2022/08/05/routeros-container-rce.html

https://nns.ee/blog/2022/06/21/routeros-container-rce.html

Plugin Details

Severity: Critical

ID: 502042

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 2/27/2024

Updated: 2/28/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-34960

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:mikrotik:routeros:7.4:beta4

Required KB Items: Tenable.ot/MikroTik

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/25/2022

Vulnerability Publication Date: 8/25/2022

Reference Information

CVE: CVE-2022-34960

CWE: 59