CVE-2022-37705 A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar....
MediumCVSS 6.7
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/amanda(Debian:12) | < 1:3.5.1-10 | 1:3.5.1-10 |
| debian/amanda(Debian:13) | < 1:3.5.1-10 | 1:3.5.1-10 |
| debian/amanda(Debian:14) | < 1:3.5.1-10 | 1:3.5.1-10 |
| ubuntu/amanda(Ubuntu:22.04) | < 1:3.5.1-8ubuntu1.3 | 1:3.5.1-8ubuntu1.3 |
| zmanda amanda | = 3.5.1 | No fix listed |
References
- Debian Security Tracker CVE-2022-37705 vendor-advisory
- www.amanda.org product
- github.com exploit third-party-advisory
- github.com
- marc.info
- FEDORA-2023-3d0619d767 vendor-advisory
- FEDORA-2023-1293196f34 vendor-advisory
- FEDORA-2023-e295804b3d vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com
- [debian-lts-announce] 20231203 [SECURITY] [DLA 3681-1] amanda security update mailing-list
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-5966-3 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking