Privilege Escalation Vulnerability in Amanda Package
Summary
DEBIAN-CVE-2022-37704: Amanda 3.5.1 allows privilege escalation from the regular user backup to root. Affects amanda versions < 1:3.5.1-7+deb11u1. Fixed in 1:3.5.1-7+deb11u1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Amanda is an open-source backup solution that enables users to manage and automate the backup of data across various systems. It is widely used for its flexibility and ability to handle multiple backup types. However, a critical vulnerability has been identified in version 3.5.1 of Amanda, which allows privilege escalation from a regular user to root, potentially compromising system security.
Vulnerability Detail
Amanda 3.5.1 contains a vulnerability that allows a regular user with backup privileges to escalate their privileges to root. This is due to a SUID binary located at /lib/amanda/rundump, which executes /usr/sbin/dump as root with arguments controlled by the attacker. This flaw can lead to unauthorized access, denial of service, and information disclosure, posing significant risks to system integrity and confidentiality.
How To Fix
Minimum fixed version
1:3.5.1-7+deb11u1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade amanda
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can remove the SUID bit from the rundump binary to prevent it from executing with elevated privileges. This can be done using the command: sudo chmod u-s /lib/amanda/rundump. However, this may impact the functionality of the backup process.
Conclusion
The privilege escalation vulnerability in the Amanda package poses significant risks to system security. It is crucial for users to update to the patched versions to mitigate these risks. Additionally, users can utilize Vulert to monitor their applications for vulnerabilities effectively.
See every vulnerability recorded for amanda →
FAQ
Amanda is an open-source backup solution that helps users manage and automate data backups across various systems.
The vulnerability allows a regular user to escalate their privileges to root, potentially compromising system security.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Update the Amanda package to the patched version using the command: sudo apt-get update && sudo apt-get install amanda.
Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities using a manifest file like package-lock.json, without requiring access to the code or installation.
References
Related vulnerabilities
Recent vulnerabilities recorded for amanda.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.