CVE-2018-8897
CVE-2018-8897
Vexday Risk Score
48Attention
SSVC decision (CISA)
Attend
PoC available → attend closely
Exploit maturity
Functional exploit
Popular PoC on GitHub (421 stars) — exploitation code widely available.
CVSS —EPSS 18.7%KEV nãoPoC públicaNuclei —Metasploit simPatch referenciado
Lifecycle
08 May 2018Metasploit module available
08 May 2018Published on NVD
10 May 2018Public PoC
Weaponization speed
2 daysto first PoC
Weaponized quickly — attackers prioritized this vulnerability. Patch urgently.
Recommendation: Plan a near-term fix — a public PoC already exists.
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.
Affected products
n/a · n/apublic PoCs found — 8
githubgithub.com/can1357/CVE-2018-8897★ 421githubgithub.com/nmulasmajic/syscall_exploit_CVE-2018-8897★ 118githubgithub.com/nmulasmajic/CVE-2018-8897★ 80githubgithub.com/jiazhang0/pop-mov-ss-exploit★ 4exploitdbwww.exploit-db.com/exploits/45024unverifiedcve_referencewww.exploit-db.com/exploits/45024/unverifiedexploitdbwww.exploit-db.com/exploits/44697unverifiedcve_referencewww.exploit-db.com/exploits/44697/unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8ba61ba58c88d5207c1ba2f7d9a2280e7d03be9http://openwall.com/lists/oss-security/2018/05/08/1http://openwall.com/lists/oss-security/2018/05/08/4https://access.redhat.com/errata/RHSA-2018:1318https://access.redhat.com/errata/RHSA-2018:1319https://access.redhat.com/errata/RHSA-2018:1345https://access.redhat.com/errata/RHSA-2018:1346https://access.redhat.com/errata/RHSA-2018:1347https://access.redhat.com/errata/RHSA-2018:1348https://access.redhat.com/errata/RHSA-2018:1349https://access.redhat.com/errata/RHSA-2018:1350https://access.redhat.com/errata/RHSA-2018:1351