medium6.7
CVE-2022-37705
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges.
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Zmanda | Amanda | Version 3.5.1 |
Weakness classification
References
- NVD record
- CVE.org record
- http://www.amanda.org/
- https://github.com/MaherAzzouzi/CVE-2022-37705
- https://github.com/zmanda/amanda/issues/192
- https://github.com/zmanda/amanda/pull/194
- https://github.com/zmanda/amanda/pull/196
- https://github.com/zmanda/amanda/pull/204
- https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3
- https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/
- https://marc.info/?l=amanda-hackers
- http://www.amanda.org/
- https://github.com/MaherAzzouzi/CVE-2022-37705
- https://github.com/zmanda/amanda/issues/192
- https://github.com/zmanda/amanda/pull/194
- https://github.com/zmanda/amanda/pull/196
- https://github.com/zmanda/amanda/pull/204
- https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3
- https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/
- https://marc.info/?l=amanda-hackers