Trustwave SpiderLabs Security Advisory TWSL2018-007: Kernel Level Privilege Escalation via AVS in Oracle Solaris 10/11 Published: Currently unpublished Version: 1.0 Vendor: Oracle Corporation (https://www.oracle.com/solaris/solaris11/) Product: Oracle Solaris 10/11 Version affected: <=10/<=11.3 Product description: Oracle Solaris is the world’s most advanced enterprise operating system. It provides you continuous innovation and delivery, secures your data, simplifies the system and application lifecycle, and includes cloud capabilities in a single, mission-critical platform. Finding: Privilege Escalation via Kernel Mode Memory Write Credit: Neil Kettle of Trustwave CVE: CVE-2018-2892 A local kernel ring0 code execution vulnerability exists in the Oracle Solaris AVS kernel component permitting arbitrary code execution and thus privilege escalation. The issue is the result of a signedness bug in the bounds checking of the 'SDBC_TEST_INIT' ioctl code sent to the '/dev/sdbc' device. The result is a call to copyin() with a user controllable destination pointer and length thereby facilitating an arbitrary kernel memory overwrite and thus arbitrary code execution in the context of the kernel. Remediation Steps: For Oracle Solaris 10 installations, patches will be distributed via Oracle's extended support offering. Oracle 11.3 installations can be patched with Oracle July 2018 Critical Patch Update (CPU) applied. Revision History: 03/13/2018 - Vulnerability disclosed to vendor 07/17/2018 - Patch released by vendor 07/24/2018 - Advisory published About Trustwave: Trustwave helps businesses fight cybercrime, protect data and reduce security risk. With cloud and managed security services, integrated technologies and a team of security experts, ethical hackers and researchers, Trustwave enables businesses to transform the way they manage their information security and compliance programs. More than three million businesses are enrolled in the Trustwave TrustKeeper® cloud platform, through which Trustwave delivers automated, efficient and cost-effective threat, vulnerability and compliance management. Trustwave is headquartered in Chicago, with customers in 96 countries. For more information about Trustwave, visit https://www.trustwave.com. About Trustwave SpiderLabs: SpiderLabs(R) is the advanced security team at Trustwave focused on application security, incident response, penetration testing, physical security and security research. The team has performed over a thousand incident investigations, thousands of penetration tests and hundreds of application security tests globally. In addition, the SpiderLabs Research team provides intelligence through bleeding-edge research and proof of concept tool development to enhance Trustwave's products and services. https://www.trustwave.com/spiderlabs Disclaimer: The information provided in this advisory is provided "as is" without warranty of any kind. Trustwave disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Trustwave or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Trustwave or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.