CVE-2018-1165 Memory corruption in Joyent SmartOS
Local attackers can escalate privileges and execute code via a heap buffer overflow in the SMB_IOC_SVCENUM IOCTL handler.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-1165?
CVE-2018-1165 is a high-severity memory corruption vulnerability in Oracle Solaris, published on 21 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
This vulnerability allows local attackers to escalate privileges on vulnerable installations of Joyent SmartOS release-20170803-20170803T064301Z. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the SMB_IOC_SVCENUM IOCTL. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length, heap-based buffer. An attacker can leverage this vulnerability to execute code under the context of the host OS. Was ZDI-CAN-4983.
Which versions are affected by CVE-2018-1165?
It affects 3 products.
Products include Joyent Smartos, Oracle Solaris, Oracle Zfs Storage Appliance.
How do I fix CVE-2018-1165?
No fix has been published for CVE-2018-1165 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-1165 being exploited?
There is no known exploitation of CVE-2018-1165 in the wild and no public exploit code.
Other vulnerabilities in Oracle Solaris
Sources
Also known as GHSA-26qq-h2w9-r3wv.