CVE-2022-37705
Zmanda Amanda vulnerability
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
Amanda. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zmanda Amanda runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/zmanda/amanda/pull/194 · Patch
- github.com/zmanda/amanda/pull/196 · Patch
- github.com/zmanda/amanda/pull/204 · Patch
- github.com/MaherAzzouzi/CVE-2022-37705 · Exploit
- www.amanda.org/
- github.com/zmanda/amanda/issues/192
- github.com/zmanda/amanda/releases/tag/tag-community-3.5.3
- lists.debian.org/debian-lts-announce/2023/12/msg00003.html
- nvd.nist.gov/vuln/detail/CVE-2022-37705
- cve.org/CVERecord?id=CVE-2022-37705
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.