copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2014.2457 - [UNIX/Linux][RedHat] glibc: Execute arbitrary code/commands - Remote with user interaction

Date: 19 December 2014
References: ESB-2015.0035  ESB-2015.0188  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2014.2457
                Moderate: glibc security and bug fix update
                             19 December 2014

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

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

Product:           glibc
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2014-7817  

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2014-2023.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running glibc check for an updated version of the software for their
         operating system.

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

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

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

Synopsis:          Moderate: glibc security and bug fix update
Advisory ID:       RHSA-2014:2023-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2014-2023.html
Issue date:        2014-12-18
CVE Names:         CVE-2014-7817 
=====================================================================

1. Summary:

Updated glibc packages that fix one security issue and one bug are now
available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Moderate security
impact. Common Vulnerability Scoring System (CVSS) base scores, which give
detailed severity ratings, are available for each vulnerability from the
CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

The glibc packages provide the standard C libraries (libc), POSIX thread
libraries (libpthread), standard math libraries (libm), and the Name
Server Caching Daemon (nscd) used by multiple programs on the system.
Without these libraries, the Linux system cannot function correctly.

It was found that the wordexp() function would perform command substitution
even when the WRDE_NOCMD flag was specified. An attacker able to provide
specially crafted input to an application using the wordexp() function, and
not sanitizing the input correctly, could potentially use this flaw to
execute arbitrary commands with the credentials of the user running that
application. (CVE-2014-7817)

This issue was discovered by Tim Waugh of the Red Hat Developer Experience
Team.

This update also fixes the following bug:

* Prior to this update, if a file stream that was opened in append mode and
its underlying file descriptor were used at the same time and the file was
truncated using the ftruncate() function on the file descriptor, a
subsequent ftell() call on the stream incorrectly modified the file offset
by seeking to the new end of the file. This update ensures that ftell()
modifies the state of the file stream only when it is in append mode and
its buffer is not empty. As a result, the described incorrect changes to
the file offset no longer occur. (BZ#1170187)

All glibc users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues.

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/knowledge/articles/11258

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

1157689 - CVE-2014-7817 glibc: command execution in wordexp() with WRDE_NOCMD specified
1170187 - Problems when using ftruncate on files opened in append mode

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

ppc64:
glibc-2.17-55.el7_0.3.ppc.rpm
glibc-2.17-55.el7_0.3.ppc64.rpm
glibc-common-2.17-55.el7_0.3.ppc64.rpm
glibc-debuginfo-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-2.17-55.el7_0.3.ppc64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc64.rpm
glibc-devel-2.17-55.el7_0.3.ppc.rpm
glibc-devel-2.17-55.el7_0.3.ppc64.rpm
glibc-headers-2.17-55.el7_0.3.ppc64.rpm
glibc-utils-2.17-55.el7_0.3.ppc64.rpm
nscd-2.17-55.el7_0.3.ppc64.rpm

s390x:
glibc-2.17-55.el7_0.3.s390.rpm
glibc-2.17-55.el7_0.3.s390x.rpm
glibc-common-2.17-55.el7_0.3.s390x.rpm
glibc-debuginfo-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-2.17-55.el7_0.3.s390x.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390x.rpm
glibc-devel-2.17-55.el7_0.3.s390.rpm
glibc-devel-2.17-55.el7_0.3.s390x.rpm
glibc-headers-2.17-55.el7_0.3.s390x.rpm
glibc-utils-2.17-55.el7_0.3.s390x.rpm
nscd-2.17-55.el7_0.3.s390x.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

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

ppc64:
glibc-debuginfo-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-2.17-55.el7_0.3.ppc64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc64.rpm
glibc-static-2.17-55.el7_0.3.ppc.rpm
glibc-static-2.17-55.el7_0.3.ppc64.rpm

s390x:
glibc-debuginfo-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-2.17-55.el7_0.3.s390x.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390x.rpm
glibc-static-2.17-55.el7_0.3.s390.rpm
glibc-static-2.17-55.el7_0.3.s390x.rpm

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

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

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.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/

7. References:

https://access.redhat.com/security/cve/CVE-2014-7817
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

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

Copyright 2014 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFUkznzXlSAg2UNWIIRAlVGAKCur2sagpyDtmtF7hG77CNsIEofkwCgtYJi
AqP8rukGmHmeK9XtLqZahx4=
=RU5+
- -----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

iQIVAwUBVJN6/RLndAQH1ShLAQJnyQ//bKNeZ1qZv9dSuTCoOv8M3EY3wzKLMiZj
CE96ah9FfkS0tdGIuAxgsCYnKIz/pGcUsGhs6S7xHTHNmaBuWuV7b7OXAX2j/GAK
43MrLaCZSF4vMA/v2/+8y/QvBbP3aLts/SqbpDKdgcyIgNe3avVNAwJP7/8atTOE
AplvRw0IZMi8z8oGZIKrZ8P7WJKFJjzjAlxrWeyC229dcs2Im+IXJq0eHegb3Bqk
Wbk34FQ+86RKz+3+yNaKCXOQihBFsN8hMOOQtd/LfPVAoixsa4pYjB6nukyZ9y4o
t8o9E1cQaIHVLq61NrPE5H5rMG2hhcNN+EldugYaEvv3n+RsrLwxLPWbj1qA0jTw
r7D2jF60Gwswjd2c9CcqJRg1dQfCtifHUmCYuY+bJdPviebNeom7RnsBhiIx4scn
z4tv4KZfJbP2KrmPwrL3lJe1tQMaVUOpT5dJqsWKBjXow8nr4HUGZQGc1rLzAo6b
p5aJlHi1c8kxyncEDD3cdCTicq5eV6+ILX13+TlOSaZXhj/SEldjlnLeun53luHn
sH6aC9TyDYNjJLLMke5gr58w2Brw7tirkPxxSP5rRe3MGuY6qLDevhck0+uDDusH
jeNS64m13kI8ZG7qgJ/zu3U0tuJYNvLdapJeCHj/iV8/jIUdO+FMl7A/+Ai28L7L
DhzEpjPorcw=
=bePW
-----END PGP SIGNATURE-----