CVE-2022-37705

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),
References
Link 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
Configurations

Configuration 1 (hide)

cpe:2.3:a:zmanda:amanda:3.5.1:*:*:*:*:*:*:*

History

21 Nov 2024, 07:15

Type Values Removed Values Added
References () http://www.amanda.org/ - Product () http://www.amanda.org/ - Product
References () https://github.com/MaherAzzouzi/CVE-2022-37705 - Exploit, Third Party Advisory () https://github.com/MaherAzzouzi/CVE-2022-37705 - Exploit, Third Party Advisory
References () https://github.com/zmanda/amanda/issues/192 - () https://github.com/zmanda/amanda/issues/192 -
References () https://github.com/zmanda/amanda/pull/194 - Patch () https://github.com/zmanda/amanda/pull/194 - Patch
References () https://github.com/zmanda/amanda/pull/196 - Patch () https://github.com/zmanda/amanda/pull/196 - Patch
References () https://github.com/zmanda/amanda/pull/204 - Patch () https://github.com/zmanda/amanda/pull/204 - Patch
References () https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3 - () https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3 -
References () https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html - () https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html -
References () 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/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/ -
References () 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/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/ -
References () https://marc.info/?l=amanda-hackers - () https://marc.info/?l=amanda-hackers -

03 Dec 2023, 11:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html -

07 Nov 2023, 03:49

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/', 'name': 'FEDORA-2023-e295804b3d', 'tags': [], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/', 'name': 'FEDORA-2023-3d0619d767', 'tags': [], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/', 'name': 'FEDORA-2023-1293196f34', 'tags': [], 'refsource': 'FEDORA'}
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/ -
  • () 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/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/ -

06 Jun 2023, 18:15

Type Values Removed Values Added
References
  • (MISC) https://github.com/zmanda/amanda/issues/192 -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/ -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/ -
  • (MISC) https://marc.info/?l=amanda-hackers -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/ -

30 May 2023, 12:15

Type Values Removed Values Added
References
  • (MISC) https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3 -

Information

Published : 2023-04-16 01:15

Updated : 2024-11-21 07:15


NVD link : CVE-2022-37705

Mitre link : CVE-2022-37705

CVE.ORG link : CVE-2022-37705


JSON object : View

Products Affected

zmanda

  • amanda
CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')