Vulnerabilities > CVE-2017-3630 - Out-of-bounds Write vulnerability in Oracle Solaris 10/11

047910
CVSS 5.3 - MEDIUM
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
LOW
Integrity impact
LOW
Availability impact
LOW
local
low complexity
oracle
CWE-787
nessus
exploit available
metasploit

Summary

Vulnerability in the Solaris component of Oracle Sun Systems Products Suite (subcomponent: Kernel). Supported versions that are affected are 10 and 11. Easily exploitable vulnerability allows low privileged attacker with logon to the infrastructure where Solaris executes to compromise Solaris. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Solaris accessible data as well as unauthorized read access to a subset of Solaris accessible data and unauthorized ability to cause a partial denial of service (partial DOS) of Solaris. CVSS 3.0 Base Score 5.3 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Vulnerable Configurations

Part Description Count
OS
Oracle
2

Common Weakness Enumeration (CWE)

Exploit-Db

  • descriptionOracle Solaris 11.1 / 11.3 RSH - Local Root Stack Clash Exploit. CVE-2017-3629,CVE-2017-3630,CVE-2017-3631. Local exploit for Solaris_x86 platform. Tags: Local
    fileexploits/solaris_x86/local/42270.c
    idEDB-ID:42270
    last seen2017-06-29
    modified2017-06-28
    platformsolaris_x86
    port
    published2017-06-28
    reporterExploit-DB
    sourcehttps://www.exploit-db.com/download/42270/
    titleOracle Solaris 11.1 / 11.3 RSH - Local Root Stack Clash Exploit
    typelocal
  • descriptionSolaris - RSH Stack Clash Privilege Escalation (Metasploit). CVE-2017-1000364,CVE-2017-3629,CVE-2017-3630,CVE-2017-3631. Local exploit for Solaris platform. ...
    fileexploits/solaris/local/45625.rb
    idEDB-ID:45625
    last seen2018-11-27
    modified2018-10-16
    platformsolaris
    port
    published2018-10-16
    reporterExploit-DB
    sourcehttps://old.exploit-db.com/download/45625/
    titleSolaris - RSH Stack Clash Privilege Escalation (Metasploit)
    typelocal

Metasploit

descriptionThis module exploits a vulnerability in RSH on unpatched Solaris systems which allows users to gain root privileges. The stack guard page on unpatched Solaris systems is of insufficient size to prevent collisions between the stack and heap memory, aka Stack Clash. This module uploads and executes Qualys' Solaris_rsh.c exploit, which exploits a vulnerability in RSH to bypass the stack guard page to write to the stack and create a SUID root shell. This module has offsets for Solaris versions 11.1 (x86) and Solaris 11.3 (x86). Exploitation will usually complete within a few minutes using the default number of worker threads (10). Occasionally, exploitation will fail. If the target system is vulnerable, usually re-running the exploit will be successful. This module has been tested successfully on Solaris 11.1 (x86) and Solaris 11.3 (x86).
idMSF:EXPLOIT/SOLARIS/LOCAL/RSH_STACK_CLASH_PRIV_ESC
last seen2020-06-13
modified2019-01-10
published2018-09-18
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/solaris/local/rsh_stack_clash_priv_esc.rb
titleSolaris RSH Stack Clash Privilege Escalation

Nessus

NASL familySolaris Local Security Checks
NASL idSOLARIS_JUN2017_SRU_11_3_21_5_0.NASL
descriptionThe remote Solaris host is missing a vendor-supplied security patch. It is, therefore, affected by the following vulnerabilities : - Multiple security bypass vulnerabilities exist in the Kernel subcomponent that allow a specially crafted application to circumvent the stack guard page security mechanism. A local attacker can exploit these, by using stack clash methods, to gain elevated privileges. (CVE-2017-3629, CVE-2017-3630) - A privilege escalation vulnerability exists in the Kernel subcomponent when UID binaries are invoked via a hard-link using a different pathname. A local attacker can exploit this to gain elevated privileges. (CVE-2017-3631)
last seen2020-06-01
modified2020-06-02
plugin id100997
published2017-06-22
reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/100997
titleSolaris 11 : Multiple Kernel Vulnerabilities

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/149804/rsh_stack_clash_priv_esc.rb.txt
idPACKETSTORM:149804
last seen2018-10-16
published2018-10-15
reporterBrendan Coles
sourcehttps://packetstormsecurity.com/files/149804/Solaris-RSH-Stack-Clash-Privilege-Escalation.html
titleSolaris RSH Stack Clash Privilege Escalation