ABB M2M Gateway Improper Privilege Management in embedded Sudo (CVE-2023-22809)

high Tenable OT Security Plugin ID 503257

Synopsis

The remote OT asset is affected by a vulnerability.

Description

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1.
The problem exists because a user-specified editor may contain a -- argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.

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://www.cisa.gov/news-events/ics-advisories/icsa-25-105-08

http://www.nessus.org/u?310ae51a

http://www.nessus.org/u?fb4933cb

http://www.nessus.org/u?a4297e4a

http://www.nessus.org/u?71360852

http://seclists.org/fulldisclosure/2023/Aug/21

http://www.openwall.com/lists/oss-security/2023/01/19/1

https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html

http://www.nessus.org/u?09bcc49e

http://www.nessus.org/u?60ce29ab

https://security.gentoo.org/glsa/202305-12

https://security.netapp.com/advisory/ntap-20230127-0015/

https://support.apple.com/kb/HT213758

https://www.debian.org/security/2023/dsa-5321

https://www.sudo.ws/security/advisories/sudoedit_any/

http://www.nessus.org/u?9be9823c

Plugin Details

Severity: High

ID: 503257

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 5/27/2025

Updated: 5/27/2025

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Critical

Score: 9.2

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: cpe:/o:abb:sw_firmware, cpe:/o:abb:arm600_firmware

Required KB Items: Tenable.ot/ABB

Exploit Ease: No known exploits are available

Patch Publication Date: 1/18/2023

Vulnerability Publication Date: 1/18/2023

Reference Information

CVE: CVE-2023-22809

CWE: 269

ICSA: 25-105-08