Bug 2167743 (CVE-2022-37704) - CVE-2022-37704 amanda: rundump: crafted arguments can lead to local privilege escalation
Summary: CVE-2022-37704 amanda: rundump: crafted arguments can lead to local privilege...
Keywords:
Status: NEW
Alias: CVE-2022-37704
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2168789 2168790 2168791 2168792 2168793 2168794 2168795 2168796
Blocks: 2167399
TreeView+ depends on / blocked
 
Reported: 2023-02-07 12:42 UTC by TEJ RATHI
Modified: 2023-07-07 08:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2023-02-07 12:42:35 UTC
Amanda 3.5.1 has a flaw that 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.

https://github.com/MaherAzzouzi/CVE-2022-37704
https://github.com/zmanda/amanda/issues/192
https://marc.info/?l=amanda-hackers&m=167437716918603&w=2

Comment 1 Sandipan Roy 2023-02-10 04:44:43 UTC
Created amanda tracking bugs for this issue:

Affects: fedora-all [bug 2168789]

Comment 3 Pavel Cahyna 2023-02-10 13:02:33 UTC
I believe the discussion under https://bugzilla.redhat.com/show_bug.cgi?id=2167744#c4 applies equally here.

Comment 6 Mauro Matteo Cascella 2023-02-27 18:11:49 UTC
In reply to comment #3:
> I believe the discussion under
> https://bugzilla.redhat.com/show_bug.cgi?id=2167744#c4 applies equally here.

To back this up:

el8 ~ $ dnf install amanda-client
el8 ~ $ ls -l /usr/lib64/amanda/rundump
-rwsr-x---. 1 root disk 17208 Aug 12  2018 /usr/lib64/amanda/rundump


Note You need to log in before you can comment on or make changes to this bug.