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

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

                               ESB-2018.0796
                            PHP vulnerabilities
                               20 March 2018

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

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

Product:           php5
                   php7.0
                   php7.1
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Denial of Service               -- Remote/Unauthenticated      
                   Cross-site Scripting            -- Remote with User Interaction
                   Provide Misleading Information  -- Remote/Unauthenticated      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-7584 CVE-2018-5712 CVE-2016-10712

Reference:         ESB-2018.0433

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

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Ubuntu. It is recommended that administrators 
         running libapache2-mod-php7.1 check for an updated version of the 
         software for their operating system.

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

USN-3600-1: PHP vulnerabilities

19 March 2018
php5, php7.0, php7.1 vulnerabilities

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

    Ubuntu 17.10
    Ubuntu 16.04 LTS
    Ubuntu 14.04 LTS

Summary

Several security issues were fixed in PHP.

Software Description

    php7.1 - HTML-embedded scripting language interpreter
    php7.0 - HTML-embedded scripting language interpreter
    php5 - HTML-embedded scripting language interpreter

Details

It was discovered that PHP incorrectly handled certain stream metadata. A 
remote attacker could possibly use this issue to set arbitrary metadata. This
issue only affected Ubuntu 14.04 LTS. (CVE-2016-10712)

It was discovered that PHP incorrectly handled the PHAR 404 error page. A 
remote attacker could possibly use this issue to conduct cross-site scripting 
(XSS) attacks. This issue only affected Ubuntu 16.04 LTS and Ubuntu 17.10. 
(CVE-2018-5712)

It was discovered that PHP incorrectly handled parsing certain HTTP responses. 
A remote attacker could use this issue to cause PHP to crash, resulting in a 
denial of service, or possibly execute arbitrary code. (CVE-2018-7584)

Update instructions

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

Ubuntu 17.10
    libapache2-mod-php7.1 - 7.1.15-0ubuntu0.17.10.1
    php7.1-cgi - 7.1.15-0ubuntu0.17.10.1
    php7.1-cli - 7.1.15-0ubuntu0.17.10.1
    php7.1-fpm - 7.1.15-0ubuntu0.17.10.1
Ubuntu 16.04 LTS
    libapache2-mod-php7.0 - 7.0.28-0ubuntu0.16.04.1
    php7.0-cgi - 7.0.28-0ubuntu0.16.04.1
    php7.0-cli - 7.0.28-0ubuntu0.16.04.1
    php7.0-fpm - 7.0.28-0ubuntu0.16.04.1
Ubuntu 14.04 LTS
    libapache2-mod-php5 - 5.5.9+dfsg-1ubuntu4.24
    php5-cgi - 5.5.9+dfsg-1ubuntu4.24
    php5-cli - 5.5.9+dfsg-1ubuntu4.24
    php5-fpm - 5.5.9+dfsg-1ubuntu4.24

To update your system, please follow these instructions: 
https://wiki.ubuntu.com/Security/Upgrades.

In Ubuntu 16.04 LTS and Ubuntu 17.10, this update uses a new upstream 
release, which includes additional bug fixes.

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

References

    CVE-2016-10712
    CVE-2018-5712
    CVE-2018-7584

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

iQIVAwUBWrB4bYx+lLeg9Ub1AQgTDA/9EKe7Dlz0MxfQLc8Y/NtONhb9VviS3PDy
mrxeP3PbQ1QD0qa9VEAJE61XxDDZ+hZ2g1qkbQGVtoIy2LTN5U5yCVOqP+7A1HHY
AHhkCitR5v6iyCmLJA9yYip0qQ8b9qyjqUIAPNjMkWpGBiK6XcoHzkQTJEbAAoua
omcMgCXNZn5eVBFk0637vjrmB1WbND5mXzJl5fTdjueUmDpb09cbMg6hbD3Cqd8t
cTNB33KrF3V02XHh5WhRJenUDSdwIk5Ci6CeJ5bm2RAFAUpEIZ+czgNpygvrRQhG
BdvSVC0Za09H3IuhTA+xSv1D50bIVxlgr4oUCav1W0gDCA5voi5Y+u+eupwUk90F
khP0M2529p8C10JvKoI96GkX8WbtMHkc7RWJ76xr0wC1SEBQjpj6ZHCSxtmR3s3O
K41n5N+IHy2Q8UjRp0lH5IgeA3/bj0MPZ5PqN9/NaW+bdapbG4skMk+r8q87zZzU
6OsWEYMXiOBKe0xysQvirv9UIZjUOAWZjN4bx1HvgkNIlamMKsxATQyNMVN6BCTm
yHlSdMn29xgc464xswR9aHY1W+eCwQ3pRM2sfJZDKaqiywUltV2szoE+e8WSMe70
7DweRMg4H2LQtm5vmljS2tBzltOBBH/f4ZqMvFLCHL0mnaFxk4zRv6oRuz/bTpNM
RWx4KnBIcts=
=V2tZ
-----END PGP SIGNATURE-----