Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870037 (CVE-2022-37703) - app-backup/amanda: information leak (discovery of directory existence)
Summary: app-backup/amanda: information leak (discovery of directory existence)
Status: CONFIRMED
Alias: CVE-2022-37703
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/MaherAzzouzi/CVE-2...
Whiteboard: B4 [??]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-14 00:40 UTC by John Helmert III
Modified: 2022-09-26 15:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-14 00:40:23 UTC
CVE-2022-37703:

In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.

Asked the researcher about an upstream report: https://github.com/MaherAzzouzi/CVE-2022-37703/issues/1
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-19 20:52:06 UTC
And after trying to help them report this upstream, they eventually just deleted my issue after saying they'll drop 2 Amanda LPEs today.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 15:41:12 UTC
Reproduced their side of the conversation in:

https://gist.github.com/ajakk/f5aece4564079513f09f6066238ed6aa
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 15:47:47 UTC
Reported upstream: https://github.com/zmanda/amanda/issues/192