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

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

                               ESB-2018.3890
                     [DLA 1608-1] php5 security update
                             17 December 2018

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

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

Product:           php5
Publisher:         Debian
Operating System:  Debian GNU/Linux 8
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account            
                   Denial of Service               -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-19935 CVE-2018-19518 

Reference:         ESB-2018.3830
                   ESB-2018.3801

Original Bulletin: 
   https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html

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

Package        : php5
Version        : 5.6.39+dfsg-0+deb8u1
CVE ID         : CVE-2018-19518 CVE-2018-19935


Vulnerabilities have been discovered in php5, a server-side,
HTML-embedded scripting language.  Note that this update includes a
change to the default behavior for IMAP connections.  See below for
details.

CVE-2018-19518

    An argument injection vulnerability in imap_open() may allow a
    remote attacker to execute arbitrary OS commands on the IMAP server.

    The fix for the CVE-2018-19518 vulnerability included this
    additional note from the upstream developers:

    Starting with 5.6.38, rsh/ssh logins are disabled by default. Use
    imap.enable_insecure_rsh if you want to enable them. Note that the
    IMAP library does not filter mailbox names before passing them to
    rsh/ssh command, thus passing untrusted data to this function with
    rsh/ssh enabled is insecure.

CVE-2018-19935

    A NULL pointer dereference leads to an application crash and a
    denial of service via an empty string in the message argument to the
    imap_mail function of ext/imap/php_imap.c.

For Debian 8 "Jessie", these problems have been fixed in version
5.6.39+dfsg-0+deb8u1.

We recommend that you upgrade your php5 packages.

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

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

iQIVAwUBXBcdNGaOgq3Tt24GAQh2TQ/8D03m5Atz0dDqzZbMaHFcXDkWd4R+FYHo
v8/nkjxgkpMdAkoOKRxWPVl4ab/XRQMDw8knn5grnMuxrIZh9hEXnjXX55w2YygR
6rImg4Zwa5TWsg4aETLcKZASh8/ohjkrLsBg/D5Tmjy5eNx9n/NUwmJK776QkwZf
O2aVZBT6grZfm5GpUsqnJ/Jkx42iVIXnoMJY2kN4hXEVTOTber0q+X9QoOjt+Oam
UF8J8iaRyKXX2e60vRkwcyQvxvC3edyrLfsb4xaHEwrr84414SNqQT7LHk5Vz2an
N7jQCeGR3ArS331NTUoPF7PEqwZB00iV0deynCo2yv8C4Z8Pmsr7cvvI75d0qlMp
qTUJ9R6lqiIT+Q9inC2g0pz69AR4aOnERyivPCKYNXMZSX5ReJ1ZPvDaSs4gVnWx
Dg3OQnd5MZDPEeUD8AkQxFFQLa5mL33L/Xwf6Xm/m2Cb2z95aZwLZqkXqv7Y+knT
449hRQ6K6vHYM3RJpBSSk2jwfxcJQElnoVKRKFWi+Zy5I9be/Cz9ZuKTceAzAjAY
VsGxSv+Gp8TvqiN/oyYCVYPriOn9wBsTnFUvTFHXCu52OIFR5uTMSrkLaPF2FiDH
HNz9FgEElhb9VbftnOwBxHtUN6+92h4P/YzINE6sCBkn+QSWZKtGi+DxgFkoebe1
Ag2DYX/H8Rw=
=mhQz
-----END PGP SIGNATURE-----