RCE in Zmanda Amanda
CVE-2022-37704
Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 45.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Zmanda Amanda — versions 3.5.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- MaherAzzouzi/CVE-2022-37704 (4 stars, last pushed 2022-10-23): Amanda 3.5.1 LPE
Also mentioned in 5 other repositories (k0mi-tg/CVE-POC, manas3c/CVE-POC, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.amanda.org/ (Product)
- github.com/MaherAzzouzi/CVE-2022-37704 (Third Party Advisory)
- github.com/zmanda/amanda/issues/192
- marc.info/
- [debian-lts-announce] 20230221 [SECURITY] [DLA 3330-1] amanda security update (mailing-list)
- FEDORA-2023-3d0619d767 (vendor-advisory)
- FEDORA-2023-1293196f34 (vendor-advisory)
- FEDORA-2023-e295804b3d (vendor-advisory)
- github.com/zmanda/amanda/pull/197 (Patch)
- github.com/zmanda/amanda/pull/205 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.