Vulnerabilities > CVE-2017-3629 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Oracle Solaris 10/11
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH 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 takeover of Solaris. CVSS 3.0 Base Score 7.8 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 2 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description Oracle 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 file exploits/solaris_x86/local/42270.c id EDB-ID:42270 last seen 2017-06-29 modified 2017-06-28 platform solaris_x86 port published 2017-06-28 reporter Exploit-DB source https://www.exploit-db.com/download/42270/ title Oracle Solaris 11.1 / 11.3 RSH - Local Root Stack Clash Exploit type local description Solaris - RSH Stack Clash Privilege Escalation (Metasploit). CVE-2017-1000364,CVE-2017-3629,CVE-2017-3630,CVE-2017-3631. Local exploit for Solaris platform. ... file exploits/solaris/local/45625.rb id EDB-ID:45625 last seen 2018-11-27 modified 2018-10-16 platform solaris port published 2018-10-16 reporter Exploit-DB source https://old.exploit-db.com/download/45625/ title Solaris - RSH Stack Clash Privilege Escalation (Metasploit) type local
Metasploit
description | This 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). |
id | MSF:EXPLOIT/SOLARIS/LOCAL/RSH_STACK_CLASH_PRIV_ESC |
last seen | 2020-06-13 |
modified | 2019-01-10 |
published | 2018-09-18 |
references |
|
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/solaris/local/rsh_stack_clash_priv_esc.rb |
title | Solaris RSH Stack Clash Privilege Escalation |
Nessus
NASL family | Solaris Local Security Checks |
NASL id | SOLARIS_JUN2017_SRU_11_3_21_5_0.NASL |
description | The 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 seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 100997 |
published | 2017-06-22 |
reporter | This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/100997 |
title | Solaris 11 : Multiple Kernel Vulnerabilities |
Packetstorm
data source | https://packetstormsecurity.com/files/download/149804/rsh_stack_clash_priv_esc.rb.txt |
id | PACKETSTORM:149804 |
last seen | 2018-10-16 |
published | 2018-10-15 |
reporter | Brendan Coles |
source | https://packetstormsecurity.com/files/149804/Solaris-RSH-Stack-Clash-Privilege-Escalation.html |
title | Solaris RSH Stack Clash Privilege Escalation |