6.7
MEDIUM CVSS 3.1
CVE-2022-37705
Amanda SUID Privilege Escalation
Description

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),

INFO

Published Date :

April 16, 2023, 1:15 a.m.

Last Modified :

Nov. 21, 2024, 7:15 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2022-37705 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Zmanda amanda
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
The amanda packages have a privilege escalation vulnerability; update the affected packages.
  • Update the amanda package.
  • Upgrade amanda-client, amanda-common, and amanda-server packages.
Public PoC/Exploit Available at Github

CVE-2022-37705 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-37705.

URL Resource
http://www.amanda.org/ Product
https://github.com/MaherAzzouzi/CVE-2022-37705 Exploit Third Party Advisory
https://github.com/zmanda/amanda/issues/192
https://github.com/zmanda/amanda/pull/194 Patch
https://github.com/zmanda/amanda/pull/196 Patch
https://github.com/zmanda/amanda/pull/204 Patch
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/ Product
https://github.com/MaherAzzouzi/CVE-2022-37705 Exploit Third Party Advisory
https://github.com/zmanda/amanda/issues/192
https://github.com/zmanda/amanda/pull/194 Patch
https://github.com/zmanda/amanda/pull/196 Patch
https://github.com/zmanda/amanda/pull/204 Patch
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
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-37705 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 years, 5 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 928 different CVEs too.

None

Updated: 1 year, 6 months ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

Amanda 3.5.1 second LPE.

Updated: 2 years, 10 months ago
3 stars 1 fork 1 watcher
Born at : Oct. 23, 2022, 11:48 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-37705 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-37705 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.amanda.org/
    Added Reference https://github.com/MaherAzzouzi/CVE-2022-37705
    Added Reference https://github.com/zmanda/amanda/issues/192
    Added Reference https://github.com/zmanda/amanda/pull/194
    Added Reference https://github.com/zmanda/amanda/pull/196
    Added Reference https://github.com/zmanda/amanda/pull/204
    Added Reference https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3
    Added Reference https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/
    Added Reference https://marc.info/?l=amanda-hackers
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Dec. 03, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html [No types assigned]
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/
  • CVE Modified by [email protected]

    Jun. 06, 2023

    Action Type Old Value New Value
    Added Reference https://github.com/zmanda/amanda/issues/192 [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/ [No Types Assigned]
    Added Reference https://marc.info/?l=amanda-hackers [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/ [No Types Assigned]
  • CVE Modified by [email protected]

    May. 30, 2023

    Action Type Old Value New Value
    Added Reference https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3 [No Types Assigned]
  • Reanalysis by [email protected]

    Apr. 28, 2023

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Initial Analysis by [email protected]

    Apr. 26, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.amanda.org/ No Types Assigned http://www.amanda.org/ Product
    Changed Reference Type https://github.com/MaherAzzouzi/CVE-2022-37705 No Types Assigned https://github.com/MaherAzzouzi/CVE-2022-37705 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/zmanda/amanda/pull/194 No Types Assigned https://github.com/zmanda/amanda/pull/194 Patch
    Changed Reference Type https://github.com/zmanda/amanda/pull/196 No Types Assigned https://github.com/zmanda/amanda/pull/196 Patch
    Changed Reference Type https://github.com/zmanda/amanda/pull/204 No Types Assigned https://github.com/zmanda/amanda/pull/204 Patch
    Added CWE NIST CWE-88
    Added CPE Configuration OR *cpe:2.3:a:zmanda:amanda:3.5.1:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

3.15 }} 0.24%

score

0.86355

percentile