Skip to content
Misconfiguration Advisory Advanced CVE-2024-21305

Hypervisor-Protected Code Integrity (HVCI) Security Feature Bypass Vulnerability (CVE-2024-21305)

Some Microsoft Surface hardware running Windows can mark certain kernel-mode memory pages as readable, writable and executable even when hypervisor-protected code integrity is switched on. An attacker who already holds administrator rights could run a crafted application that abuses a signed driver to get around code integrity protections.

Satoshi Tanda Follow

Originally disclosed on Microsoft

High 4.4 View original

FAQ

According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to compromise admin credentials on the device.

FAQ

What kind of security feature could be bypassed by successfully exploiting this vulnerability? A hypervisor-protected code integrity (HVCI) security feature bypass vulnerability could exist on some specific Microsoft Surface hardware computers that are still in support, when Windows incorrectly allows certain kernel-mode pages to be marked as Read, Write, Execute (RWX) even with HVCI enabled. To exploit this vulnerability an attacker could run a specially crafted application at administrator level that exploits a signed driver to bypass code integrity protections in Windows. The following versions of Microsoft Surface computers are exploitable by this vulnerability: Hub 3 Pro 5 - not updated due to end of life Pro 7 - not updated due to end of life Laptop Studio Laptop Go 2 Pro 7+ Studio 2 + Laptop 4 (Intel) Pro 8 Hub 2S Hub 2S Book 3 Laptop 3 (Intel) Laptop Go Studio 2

Unified Extensible Firmware Interface

Unified Extensible Firmware Interface

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Satoshi Tanda with System Programming Lab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a firmware or platform-level flaw on specific Surface models that lets kernel-mode pages be marked writable and executable despite HVCI being enabled.

Impact

An attacker with administrator credentials could bypass code integrity protections on affected Surface devices, though the text does not describe any further consequence beyond the bypass itself.

What the attacker needed

Administrator credentials on the device; affected Microsoft Surface model

The fix

Microsoft should correct the platform behaviour so kernel-mode pages cannot be marked writable and executable while HVCI is enabled, and affected Surface models should receive updated firmware; the text does not state that a fix was released.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Windows normally uses a protection called hypervisor-protected code integrity, which stops memory from being both writable and executable at the same time, so malicious code cannot easily run in the core of the system. On some Surface laptops this protection is not applied correctly, so a person who already controls the machine as an administrator could use a trusted driver to slip past it. They still need admin rights first, so this is not something a random website visitor can trigger.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.