ESB-2019.0436 - [Linux][Ubuntu] snapd: Root compromise - Existing account 2019-02-13

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2019.0436
                            snapd vulnerability
                             13 February 2019

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           snapd
Publisher:         Ubuntu
Operating System:  Ubuntu
                   Linux variants
Impact/Access:     Root Compromise -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-7304  

Original Bulletin: 
   http://www.ubuntu.com/usn/usn-3887-1

- --------------------------BEGIN INCLUDED TEXT--------------------

==========================================================================
Ubuntu Security Notice USN-3887-1
February 12, 2019

snapd vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- - Ubuntu 18.10
- - Ubuntu 18.04 LTS
- - Ubuntu 16.04 LTS
- - Ubuntu 14.04 LTS

Summary:

snapd could be made to run programs as an administrator.

Software Description:
- - snapd: Daemon and tooling that enable snap packages

Details:

Chris Moberly discovered that snapd versions 2.28 through 2.37 incorrectly
validated and parsed the remote socket address when performing access
controls on its UNIX socket. A local attacker could use this to access
privileged socket APIs and obtain administrator privileges. On Ubuntu
systems with snaps installed, snapd typically will have already
automatically refreshed itself to snapd 2.37.1 which is unaffected.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 18.10:
  snapd                           2.35.5+18.10.1

Ubuntu 18.04 LTS:
  snapd                           2.34.2+18.04.1

Ubuntu 16.04 LTS:
  snapd                           2.34.2ubuntu0.1

Ubuntu 14.04 LTS:
  snapd                           2.34.2~14.04.1

In general, a standard system update will make all the necessary changes.

References:
  https://usn.ubuntu.com/usn/usn-3887-1
  CVE-2019-7304, https://launchpad.net/bugs/1813365

Package Information:
  https://launchpad.net/ubuntu/+source/snapd/2.35.5+18.10.1
  https://launchpad.net/ubuntu/+source/snapd/2.34.2+18.04.1
  https://launchpad.net/ubuntu/+source/snapd/2.34.2ubuntu0.1
  https://launchpad.net/ubuntu/+source/snapd/2.34.2~14.04.1

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXGN9B2aOgq3Tt24GAQiOOQ/9GcmZZNwn9VkMPE2EIQmbg5k89tPA6ksR
RUbMd8/BPkOvOL4HUXuXqUCRJVOIF8STzYzxgFRSPk2sVB78zHwrnmQ+XWlEEPQA
XQ3HK76uUetSN5lY7yQLTtwfsAMVXvg3jk/H2b3rUMDWseGoLFCS0kuRrZ2PcdxV
8hO4eReCmU/oeBxl75frXSPG2hT5U3sm+r/GVVf+2ykcbxqdevX2aWL9Y8Hs6/T8
nsjjEYVazPDmtjFtk926p4PrLmExrY9HWUXar0eWaX8h1LCV0wvV8nBEPsCzA89o
uA+Q+glyl7RWvKpXQ4lUGbVd7I3LGywktnDR5v0ygQZfqAMy0Udg8xC2/ZIKqqgW
Pw1XzbgqXLJJSTkdn6hC08LnCDd3sx+7DRRs21UDNji63qyVZ7b7OgTNyZ9V2iQn
z70qJATC4daza3WLW/OqDW1sqq7U9CYTe7dcmdPHDW8oL1kJei/U8YCWPXOqIYs3
gZDFRuWr960hu9hkkl0MQ9TB4Ng3Hd1YlIVuLwrx5rCsBIXkg1Q5m7y39uvFk6YQ
vhlKC79jGv0rP4jeRgih+IJSqBmGfgVQoqhDMp0nMtxOrX3WVNhOOlhyrt0mdjpK
xH4yArvOt4kwlYqV8ea8ayxo1jGmNioiDaopfj7lUzF8qRGiNQv5ixSZLZ+stqOE
y2JRU8KovXY=
=w8Lm
-----END PGP SIGNATURE-----

« Back to bulletins