ESB-2018.0666 - [Win][UNIX/Linux][Ubuntu] PostgreSQL: Execute arbitrary code/commands - Existing account - 2018-03-07


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

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

                               ESB-2018.0666
             A vulnerability has been identified in PostgreSQL
                               7 March 2018

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

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

Product:           PostgreSQL
Publisher:         Ubuntu
Operating System:  Ubuntu
                   Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-1058  

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

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

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

==========================================================================
Ubuntu Security Notice USN-3589-1
March 06, 2018

postgresql-9.3, postgresql-9.5, postgresql-9.6 vulnerability
==========================================================================

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

- - Ubuntu 17.10
- - Ubuntu 16.04 LTS
- - Ubuntu 14.04 LTS

Summary:

PostgreSQL could be made to execute arbitrary code.

Software Description:
- - postgresql-9.6: Object-relational SQL database
- - postgresql-9.5: Object-relational SQL database
- - postgresql-9.3: Object-relational SQL database

Details:

It was discovered that PostgreSQL incorrectly handled certain settings.
An attacker could possibly use this issue to execute arbitrary code.

Update instructions:

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

Ubuntu 17.10:
  postgresql-9.6     9.6.8-0ubuntu0.17.10

Ubuntu 16.04 LTS:
  postgresql-9.5     9.5.12-0ubuntu0.16.04

Ubuntu 14.04 LTS:
  postgresql-9.3     9.3.22-0ubuntu0.14.04

This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart PostgreSQL to
make all the necessary changes.

References:
  https://usn.ubuntu.com/usn/usn-3589-1
  CVE-2018-1058, https://launchpad.net/bugs/1752271

Package Information:
  https://launchpad.net/ubuntu/+source/postgresql-9.6/9.6.8-0ubuntu0.17.10
  https://launchpad.net/ubuntu/+source/postgresql-9.5/9.5.12-0ubuntu0.16.04
  https://launchpad.net/ubuntu/+source/postgresql-9.3/9.3.22-0ubuntu0.14.04

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

iQIVAwUBWp9+Yox+lLeg9Ub1AQgzQQ//dh3lDpSqIiTpiFbOnUcu7dJh0TnJT4RG
dL7/ehpbfVUoSdciv84pBfOWnjadA255kKd35CWAXM+8QWyJimf/9LCZbfry8y2Y
2jBiDlgcwKYyjRorsB3F8C9tYq284JejPLwZc1x9UP74kks/K/YnT+qn5YWDJth0
qHU9zyn8L6Qrl1W+3jhhNHrVvjIrd50c+Ye9yeglwn+TpTWDJ97noCTe+ZXnYNGh
ScUPcHOIVt6w2ghMLdgFsQ+cw6lR+67LDIzJi1A2ieivf1LBkiVQNjTOoCwYdAub
sbh/NQ0H1CAgfg+SOyLYI7rW2HuS6KBhMa7H2eXExxU4jNerVy+85JoNBbYQCVD+
SZAoioTNN056w1CSobuZ+yPGdeaONPV9yBlcNbKMG5SA80IdVhXaztWIlz4xACUt
kNk5n64+oH7nPTgVowxhCxpbuGvEQl9GCLOw7v5lVPO6jlV9ExO/0s681J2DpCTT
tygQ+GUhq1CQ3T3z/khvxL8Hu1vT3b3wtndb8Y8stE8W1wrsdfz9xPeMafcnQ7f6
ib9YO59D+VUjXbaBxZB6D82wIujPfB8vb7lEwB3pEQd6b2nZAZel1cSOjqgym0o0
osoo61G2UXzup3fGU7HwKJlBovzHoDGKgvcZMXiOcv4f0dZVLDPpAZRaGoxAyJDw
oKGxLyB5qvU=
=XZWP
-----END PGP SIGNATURE-----