SecurityContext

CVE-2018-1165: Joyent SmartOS - Privilege Escalation

  • Cve: CVE-2018-1165
  • Name: Joyent SmartOS - Privilege Escalation
  • 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.
  • Impact: Local attackers can escalate privileges to kernel level, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Joyent SmartOS that addresses this vulnerability or apply available patches.
  • Vulnerability type: privilege_escalation
  • Vulnerability impact: privilege_escalation, remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must have the ability to execute low-privileged code on the system
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00499
  • Epss percentile: 0.43638
  • Assignee: [email protected]
  • Published at: 2018-02-21T14:29:00Z
  • Age in days: 3198
  • Modified at: 2026-06-17T01:50:37Z
  • References total: 3
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1165
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-122Heap-based Buffer Overflow
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
https://help.joyent.com/hc/en-us/articles/360000124928Vendor Advisory
https://www.oracle.com/security-alerts/cpuapr2020.htmlThird Party Advisory
https://zerodayinitiative.com/advisories/ZDI-18-158Third Party Advisory, VDB Entry

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
joyent:smartos= 20170803/v1/products/joyent/smartos
oracle:solaris= 11/v1/products/oracle/solaris
oracle:zfs_storage_appliance= 8.8/v1/products/oracle/zfs_storage_appliance

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts