CVE-2022-37704 Command injection in n/a
Amanda's SUID binary allows local attackers to execute arbitrary commands as root, leading to privilege escalation and data exposure.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-37704?
CVE-2022-37704 is a medium-severity command injection vulnerability in n/a, published on 16 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-77
Which versions are affected by CVE-2022-37704?
It affects 1 product.
Products include Zmanda Amanda.
How do I fix CVE-2022-37704?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-37704 being exploited?
There is no known exploitation of CVE-2022-37704 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2022-37704, DLA-3330-1, GHSA-2699-8r69-fq67, UBUNTU-CVE-2022-37704.