-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2013.1662
      Moderate: libguestfs security, bug fix, and enhancement update
                             22 November 2013

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

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

Product:           libguestfs
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Access Confidential Data        -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2013-4419  

Reference:         ESB-2013.1661
                   ESB-2013.1576

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2013-1536.html

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: libguestfs security, bug fix, and enhancement update
Advisory ID:       RHSA-2013:1536-02
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-1536.html
Issue date:        2013-11-21
CVE Names:         CVE-2013-4419 
=====================================================================

1. Summary:

Updated libguestfs packages that fix one security issue, several bugs, and
add various enhancements are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - x86_64
Red Hat Enterprise Linux Workstation (v. 6) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - x86_64

3. Description:

Libguestfs is a library and set of tools for accessing and modifying guest
disk images.

It was found that guestfish, which enables shell scripting and command line
access to libguestfs, insecurely created the temporary directory used to
store the network socket when started in server mode. A local attacker
could use this flaw to intercept and modify other user's guestfish command,
allowing them to perform arbitrary guestfish actions with the privileges of
a different user, or use this flaw to obtain authentication credentials.
(CVE-2013-4419)

This issue was discovered by Michael Scherer of the Red Hat Regional IT
team.

These updated libguestfs packages include numerous bug fixes and
enhancements. Space precludes documenting all of these changes in this
advisory. Users are directed to the Red Hat Enterprise Linux 6.5 Technical
Notes, linked to in the References, for information on the most significant
of these changes.

All libguestfs users are advised to upgrade to these updated packages,
which contain backported patches to correct these issues and add these
enhancements.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

892291 - guestmount: link() incorrectly returns ENOENT, when it should be EXDEV
892834 - guestmount: rename() incorrectly follows symbolic links
908255 - error message didn't translate to user language
909666 - Unexpected non-tail recursion in recv_from_daemon results in stack overflow in very long-running API calls that send progress messages
958183 - Rebase libguestfs in RHEL 6.5
971207 - guestfish aug-init command fails: libguestfs: error: aug_init: Augeas initialization failed
971326 - ntfsresize-opts execute failed when omitted the 'size' option
971664 - Need add some removed commands back into guestfish in RHEL 6.5
972413 - txz-out command produces a bzip2-compressed file (should be xz-compressed)
973425 - lsscsi is not available in 6client
975377 - inspect-get-hostname return unknown for linux guest in rhel6
975572 - virt-sysprep is in the wrong subpackage
975753 - "virt-resize --expand" and "virt-resize --resize" outputs error message for Win2008 32bit OS
975760 - Specifying virtio interface ('iface' parameter) breaks the appliance attach-method - libguestfs hangs
980358 - filesystem-available should return false for xfs in rhel6
980372 - "hivex-commit" should fail with a relative path
980502 - libguestfs is not able to be built with yum cache from multiple repos
983690 - libguestfs double free when kernel link fails during launch
985269 - Can't set acl value for a specified user with 'acl-set-file'
988863 - virt-sysprep --firstboot option writes incorrect "99" (instead of "S99") sysv-init-style start up script
989352 - cap-get-file will return error if the file has not be set capabilities
996039 - guestfish does not work due to conflict of remote and interactive mode
997884 - 9p support should be disabled in libguestfs in RHEL 6
998108 - Let's enable kvmclock in RHEL 6
1000122 - 'sh' command before mount causes daemon to segfault
1016960 - CVE-2013-4419 libguestfs: insecure temporary directory handling for guestfish's network socket

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-1.20.11-2.el6.x86_64.rpm
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-java-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-c-1.20.11-2.el6.x86_64.rpm
perl-Sys-Guestfs-1.20.11-2.el6.x86_64.rpm
python-libguestfs-1.20.11-2.el6.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-java-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-javadoc-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-devel-1.20.11-2.el6.x86_64.rpm
ruby-libguestfs-1.20.11-2.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-1.20.11-2.el6.x86_64.rpm
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-java-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-c-1.20.11-2.el6.x86_64.rpm
perl-Sys-Guestfs-1.20.11-2.el6.x86_64.rpm
python-libguestfs-1.20.11-2.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-java-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-javadoc-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-devel-1.20.11-2.el6.x86_64.rpm
ruby-libguestfs-1.20.11-2.el6.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-1.20.11-2.el6.x86_64.rpm
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-java-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-c-1.20.11-2.el6.x86_64.rpm
perl-Sys-Guestfs-1.20.11-2.el6.x86_64.rpm
python-libguestfs-1.20.11-2.el6.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-java-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-javadoc-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-devel-1.20.11-2.el6.x86_64.rpm
ruby-libguestfs-1.20.11-2.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-1.20.11-2.el6.x86_64.rpm
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-java-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-1.20.11-2.el6.x86_64.rpm
libguestfs-tools-c-1.20.11-2.el6.x86_64.rpm
perl-Sys-Guestfs-1.20.11-2.el6.x86_64.rpm
python-libguestfs-1.20.11-2.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/libguestfs-1.20.11-2.el6.src.rpm

x86_64:
libguestfs-debuginfo-1.20.11-2.el6.x86_64.rpm
libguestfs-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-java-devel-1.20.11-2.el6.x86_64.rpm
libguestfs-javadoc-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-1.20.11-2.el6.x86_64.rpm
ocaml-libguestfs-devel-1.20.11-2.el6.x86_64.rpm
ruby-libguestfs-1.20.11-2.el6.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2013-4419.html
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/6.5_Technical_Notes/libguestfs.html#RHSA-2013-1536

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFSjYZeXlSAg2UNWIIRApOlAJ93mbE4ij0MdlyXKg/PhRORZHG2sQCff+/n
uh1BReL9EF9iwz1aWTh2OPE=
=WNFJ
- -----END PGP SIGNATURE-----

- --------------------------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:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
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

iQIVAwUBUo7BBRLndAQH1ShLAQKFXA/8Ck3imOuxORZfVgX8WRxWGRXOUOSWPaxN
wAAwxKxqcKbEKJVhwCbpLcpkDp+uzogbiu6Cg1nkv9wiQtTe6wzqqVWGSH7qR1Pu
qFERh7L7KslJHIJfpOO9PXXQ4r90KydUwLXKCXjhz2xewdYqL9kzuJpFejDHa+lh
AGvNNjVWbf6/kl6Dt2nISims6iEj6S8qT5oOEwjvzTBlLgjWCP8QA7PNRKQgrXkc
fN8gd08bEPZeuU2HxCeluQUpncSPYf/Wwj1omisQ6iaEE5WMP7+55XLhqQ22h5ry
5jsWtYZTDAuLiWV/u7cs4gdeQPDhl/fjHNF4Lj8h4kRqwm4DQDdbp8zqL+uA9gIm
KsBvsKka229RkoXahbrtg3CRgoPW6mCM//eUC6EAFz2j++sOku+zM1HpRS3lS2ZZ
6WY2C4s4AuL+0nM48N5WcsRbEkdzs0PI1fb3meiPaEaIVGuywxTbMqkVk/5wfGNf
xwnpJFiEoBlFujSab04menbMGINWj7V/dlJrE/kLcYhP1qfSZt3zm12V+Laduvf3
9kbsiQbSA+o/GzaoHzO0lzKiG4SVFV9p7AdxJnMpUyQsXQ8g64BFmCO7nh5c0MdS
PqAVMKVEgIPN5u9twpdPKW2XUBcAYsfcBNF89X5WE94gy1OYRJTwuyuHi9cR7sOT
vlB62jd7K9w=
=8KUY
-----END PGP SIGNATURE-----