Permissions, Privileges, and Access Controls in AMANDA - CVE-2022-37705

 

Permissions, Privileges, and Access Controls in AMANDA - CVE-2022-37705

Published: April 3, 2023


Vulnerability identifier: #VU74336
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-37705
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to application is using a setuid component runtar, which is a wrapper for /usr/bin/tar with specific arguments that are controllable by the attacker. A local user can execute arbitrary code with root privileges.


Affected software

AMANDA
Amazon Linux AMI
Ubuntu
openEuler
Fedora
amanda-client (Ubuntu package)
amanda
amanda-debuginfo
amanda-debugsource
amanda-help

How to mitigate CVE-2022-37705

Install updates from vendor's website.

AMANDA - update to 3.5.2
amanda-client (Ubuntu package) - addressed in versions 1:3.3.3-2ubuntu1.1, 1:3.3.6-4.1ubuntu0.1, 1:3.5.1-1ubuntu0.1, 1:3.5.1-1ubuntu0.2, 1:3.5.1-1ubuntu0.3, 1:3.5.1-2ubuntu0.1, 1:3.5.1-2ubuntu0.2, 1:3.5.1-2ubuntu0.3, 1:3.5.1-8ubuntu1.1, 1:3.5.1-8ubuntu1.2, 1:3.5.1-8ubuntu1.3, 1:3.5.1-9ubuntu0.1, 1:3.5.1-9ubuntu0.2, 1:3.5.1-9ubuntu0.3
amanda - addressed in versions 3.5.1-20, 3.5.4-1
amanda-debuginfo - addressed in versions 3.5.1-20, 3.5.4-1
amanda-debugsource - addressed in versions 3.5.1-20, 3.5.4-1
amanda-help - addressed in versions 3.5.1-20, 3.5.4-1
amanda - addressed in versions 3.5.3-1.fc36, 3.5.3-1.fc37, 3.5.3-1.fc38

External References

Related Security Bulletins