Bug 1647094 - CVE-2016-10730 amanda: amstar Command Injection Privilege Escalation [fedora-all]
Summary: CVE-2016-10730 amanda: amstar Command Injection Privilege Escalation [fedora-...
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: 29
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Josef Ridky
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: CVE-2016-10730
TreeView+ depends on / blocked
Reported: 2018-11-06 16:31 UTC by Laura Pardo
Modified: 2018-11-07 14:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Last Closed: 2018-11-06 17:06:45 UTC
Type: ---

Attachments (Terms of Use)

Description Laura Pardo 2018-11-06 16:31:09 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Laura Pardo 2018-11-06 16:31:15 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.


# bugfix, security, enhancement, newpackage (required)

# testing, stable

# Bug numbers: 1234,9876

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds

# Automatically close bugs when this marked as stable

# Suggest that users restart after update


Additionally, you may opt to use the bodhi web interface to submit updates:


Comment 2 Jason Tibbitts 2018-11-06 17:06:45 UTC
Amanda 3.5.1 (current in all live Fedora releases) is does not allow the specification of arbitrary paths for the --star-path option to amstar:

security file '/etc/amanda-security.conf' do not allow to run '/tmp/foo' as root for 'amstar:star_path'

Allowed paths must be explicitly configured in /etc/amanda-security.conf (which is only writable by root), and by default no paths besides /usr/bin/star are included.

amstar itself is only executable by group disk:

ἐπιθυμία:~❯ ls -l /usr/lib64/amanda/application/amstar
-rwsr-x---. 1 root disk 45848 Aug 20 07:36 /usr/lib64/amanda/application/amstar*

Comment 3 Jason Tibbitts 2018-11-06 17:12:14 UTC
Also note the following:

                Release Notes for amanda-3.3.9

* security-fix
    - All previous release of amanda allow the 'amanda' user to execute
      any code as root, and to execute an interactive shell as root.
    - This is a security vulnerability if you do not trust the 'amanda'
    - There is no need to upgrade if you trust the 'amanda' user and the
      account is secure.
        - good password
        - secure xinetd.conf setting
        - securae .amandahosts setting
    - The 'amanda' user can read all files in the machine, it is what a
      backup program do.
    - The set of fix disable the abilities to run unwanted code as root
      or to write file anywhere in the filesystem.

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