CVE-2018-8897
Last modified
CVE-2018-8897 is a vulnerability of currently unknown severity. 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. EPSS estimates a 18.40% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 17.10 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Virtualization Manager | 3.0 |
| Citrix | Xenserver | 6.0.2 |
| Citrix | Xenserver | 6.2.0 |
| Citrix | Xenserver | 6.5 |
| Citrix | Xenserver | 7.0 |
| Citrix | Xenserver | 7.1 |
| Citrix | Xenserver | 7.2 |
| Citrix | Xenserver | 7.3 |
| Citrix | Xenserver | 7.4 |
| Synology | Skynas | All versions |
| Synology | Diskstation Manager | 5.2 |
| Synology | Diskstation Manager | 6.0 |
| Synology | Diskstation Manager | 6.1 |
| Apple | Mac Os X | < 10.13.4 |
| Xen | Xen | All versions |
| Freebsd | Freebsd | >= 11.0, < 11.1 |
References
- http://openwall.com/lists/oss-security/2018/05/08/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2018/05/08/4Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/104071Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040744Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040849Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040861Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040866Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040882Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1318Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1319Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1345Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1346Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1347Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1348Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1349Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1350Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1351Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1352Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1353Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1354Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1355Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1524Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1567074Issue Tracking, Third Party Advisory
- https://github.com/can1357/CVE-2018-8897/Exploit, Third Party Advisory
- https://github.com/torvalds/linux/commit/d8ba61ba58c88d5207c1ba2f7d9a2280e7d03be9Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/05/msg00015.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/06/msg00000.htmlThird Party Advisory
- https://patchwork.kernel.org/patch/10386677/Patch, Third Party Advisory
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8897Patch, Third Party Advisory, Vendor Advisory
- https://support.apple.com/HT208742Third Party Advisory
- https://support.citrix.com/article/CTX234679Third Party Advisory
- https://svnweb.freebsd.org/base?view=revision&revision=333368Third Party Advisory
- https://usn.ubuntu.com/3641-1/Third Party Advisory
- https://usn.ubuntu.com/3641-2/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4196Third Party Advisory
- https://www.debian.org/security/2018/dsa-4201Third Party Advisory
- https://www.exploit-db.com/exploits/44697/Exploit, Third Party Advisory, VDB Entry
- https://www.freebsd.org/security/advisories/FreeBSD-SA-18:06.debugreg.ascThird Party Advisory
- https://www.synology.com/support/security/Synology_SA_18_21Third Party Advisory
- https://www.triplefault.io/2018/05/spurious-db-exceptions-with-pop-ss.htmlThird Party Advisory
- https://xenbits.xen.org/xsa/advisory-260.htmlPatch, Third Party Advisory
- http://openwall.com/lists/oss-security/2018/05/08/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2018/05/08/4Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/104071Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040744Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040849Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040861Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040866Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040882Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1318Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1319Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1345Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1346Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1347Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1348Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1349Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1350Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1351Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1352Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1353Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1354Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1355Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1524Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1567074Issue Tracking, Third Party Advisory
- https://github.com/can1357/CVE-2018-8897/Exploit, Third Party Advisory
- https://github.com/torvalds/linux/commit/d8ba61ba58c88d5207c1ba2f7d9a2280e7d03be9Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/05/msg00015.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/06/msg00000.htmlThird Party Advisory
- https://patchwork.kernel.org/patch/10386677/Patch, Third Party Advisory
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8897Patch, Third Party Advisory, Vendor Advisory
- https://support.apple.com/HT208742Third Party Advisory
- https://support.citrix.com/article/CTX234679Third Party Advisory
- https://svnweb.freebsd.org/base?view=revision&revision=333368Third Party Advisory
- https://usn.ubuntu.com/3641-1/Third Party Advisory
- https://usn.ubuntu.com/3641-2/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4196Third Party Advisory
- https://www.debian.org/security/2018/dsa-4201Third Party Advisory
- https://www.exploit-db.com/exploits/44697/Exploit, Third Party Advisory, VDB Entry
- https://www.freebsd.org/security/advisories/FreeBSD-SA-18:06.debugreg.ascThird Party Advisory
- https://www.synology.com/support/security/Synology_SA_18_21Third Party Advisory
- https://www.triplefault.io/2018/05/spurious-db-exceptions-with-pop-ss.htmlThird Party Advisory
- https://xenbits.xen.org/xsa/advisory-260.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-8897?
How severe is CVE-2018-8897?
How do I fix CVE-2018-8897?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-8891Multiple stored cross-site scripting (XSS) vulnerabilities i…
- CVE-2018-8892A cross-site request forgery (CSRF) vulnerability in the Man…
- CVE-2018-8893Z-BlogPHP 1.5.1 Zero has CSRF in plugin_edit.php, resulting …
- CVE-2018-8894In 2345 Security Guard 3.6, the driver file (2345BdPcSafe.sy…
- CVE-2018-8895In 2345 Security Guard 3.6, the driver file (2345DumpBlock.s…
- CVE-2018-8896In 2345 Security Guard 3.6, the driver file (2345DumpBlock.s…
- CVE-2018-8898A flaw in the authentication mechanism in the Login Panel of…
- CVE-2018-8899IdentityServer IdentityServer4 1.x before 1.5.3 and 2.x befo…
- CVE-2018-8900The License Manager service of HASP SRM, Sentinel HASP and S…
- CVE-2018-8901An issue was discovered in Ivanti Avalanche for all versions…
- CVE-2018-8902An issue was discovered in Ivanti Avalanche for all versions…
- CVE-2018-8903Open-AudIT Professional 2.1 allows XSS via the Name or Descr…
Are you affected by CVE-2018-8897?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
