Permissions, Privileges, and Access Controls in AMANDA - CVE-2022-37704
Published: April 3, 2023
Vulnerability identifier: #VU74335
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-37704
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 binary /lib/amanda/rundump to process backup files. A local user can inject arbitrary arguments to the command and execute arbitrary commands as root.
Affected software
AMANDA
Ubuntu
openEuler
Fedora
amanda-client (Ubuntu package)
amanda
amanda-debuginfo
amanda-debugsource
amanda-help
Ubuntu
openEuler
Fedora
amanda-client (Ubuntu package)
amanda
amanda-debuginfo
amanda-debugsource
amanda-help
How to mitigate CVE-2022-37704
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 - update to 3.5.1-20
amanda-debuginfo - update to 3.5.1-20
amanda-debugsource - update to 3.5.1-20
amanda-help - update to 3.5.1-20
amanda - addressed in versions 3.5.3-1.fc36, 3.5.3-1.fc37, 3.5.3-1.fc38
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 - update to 3.5.1-20
amanda-debuginfo - update to 3.5.1-20
amanda-debugsource - update to 3.5.1-20
amanda-help - update to 3.5.1-20
amanda - addressed in versions 3.5.3-1.fc36, 3.5.3-1.fc37, 3.5.3-1.fc38