CVE-2018-8897
HIGHIntel 64 and IA-32 Architectures - Privilege Escalation
Title source: llmExploitation Summary
EIP tracks 7 public exploits for CVE-2018-8897.
PoCs published by Metasploit, Can Bölük, can1357, including Metasploit module exploits/windows/local/mov_ss.
AI-analyzed exploit summary This Metasploit module exploits CVE-2018-8897, a local privilege escalation vulnerability in Windows caused by mishandling of #DB exceptions deferred by MOV SS or POP SS instructions. It uploads a pre-compiled exploit binary and payload to the target system, then executes them to achieve elevated privileges.
Description
A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) was mishandled in the development of some or all operating-system kernels, resulting in unexpected behavior for #DB exceptions that are deferred by MOV SS or POP SS, as demonstrated by (for example) privilege escalation in Windows, macOS, some Xen configurations, or FreeBSD, or a Linux kernel crash. The MOV to SS and POP SS instructions inhibit interrupts (including NMIs), data breakpoints, and single step trap exceptions until the instruction boundary following the next instruction (SDM Vol. 3A; section 6.8.3). (The inhibited data breakpoints are those on memory accessed by the MOV to SS or POP to SS instruction itself.) Note that debug exceptions are not inhibited by the interrupt enable (EFLAGS.IF) system flag (SDM Vol. 3A; section 2.3). If the instruction following the MOV to SS or POP to SS instruction is an instruction like SYSCALL, SYSENTER, INT 3, etc. that transfers control to the operating system at CPL < 3, the debug exception is delivered after the transfer to CPL < 3 is complete. OS kernels may not expect this order of events and may therefore experience unexpected behavior when it occurs.
Exploits (7)
This Metasploit module exploits CVE-2018-8897, a local privilege escalation vulnerability in Windows caused by mishandling of #DB exceptions deferred by MOV SS or POP SS instructions. It uploads a pre-compiled exploit binary and payload to the target system, then executes them to achieve elevated privileges.
The provided content is a description of a PoC for CVE-2018-8897 but lacks actual exploit code, instead pointing to an external download link. This is characteristic of suspicious repositories that lure researchers into downloading potentially malicious files.
This is a working proof-of-concept exploit for CVE-2018-8897, a local privilege escalation vulnerability in Windows. The exploit manipulates the interrupt stack to gain kernel-mode execution and escalate privileges by replacing the current process token with the system token.
This is a functional local privilege escalation (LPE) exploit for CVE-2018-8897, leveraging the POP/MOV SS vulnerability via SYSCALL to gain SYSTEM privileges. The exploit manipulates kernel structures to disable SMEP, steal the system token, and disable DSE (Driver Signature Enforcement).
This PoC demonstrates CVE-2018-8897, a local DoS vulnerability in Windows caused by a spurious debug exception when using POP/MOV SS instructions. It triggers a bugcheck by manipulating hardware breakpoints on the SS selector.
This PoC exploits CVE-2018-8897, a vulnerability in the POP SS instruction handling in Intel CPUs, allowing local privilege escalation by manipulating the SS register during a debug exception. The code tests for vulnerability by triggering specific instructions (int3, syscall) and monitoring register behavior via ptrace.
This Metasploit module exploits CVE-2018-8897, a local privilege escalation vulnerability in Windows caused by mishandling of #DB exceptions deferred by MOV SS or POP SS instructions. It uploads a pre-compiled exploit to execute a payload, gaining elevated privileges.
References (48)
Scores
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H