ESB-2017.3133 - [FreeBSD] POSIX shm: Execute arbitrary code/commands - Existing account 2017-12-07

Printable version
PGP/GPG verifiable version

Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

             POSIX shm allows jails to access global namespace
                              7 December 2017


        AusCERT Security Bulletin Summary

Product:           POSIX shm
Publisher:         FreeBSD
Operating System:  FreeBSD
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Increased Privileges            -- Existing Account
                   Denial of Service               -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-1087  

Reference:         ESB-2017.2912

Original Bulletin:

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

FreeBSD -- POSIX shm allows jails to access global namespace

Affected packages

10.4 <= FreeBSD-kernel < 10.4_3

10.3 <= FreeBSD-kernel < 10.3_24


VuXML ID 5b1463dd-dab3-11e7-b5af-a4badb2f4699

Discovery 2017-11-15

Entry 2017-12-06

Problem Description:

Named paths are globally scoped, meaning a process located in one jail can 
read and modify the content of POSIX shared memory objects created by a 
process in another jail or the host system.


A malicious user that has access to a jailed system is able to abuse shared 
memory by injecting malicious content in the shared memory region. This memory
region might be executed by applications trusting the shared memory, like 

This issue could lead to a Denial of Service or local privilege escalation.


CVE Name CVE-2017-1087

FreeBSD Advisory SA-17:09.shm

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

Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email:
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.


« Back to bulletins