Skip to content
Memory corruption Advisory Advanced CVE-2018-3971

Sophos HitmanPro.Alert hmpalert 0x2222CC privilege escalation vulnerability

The hmpalert.sys driver exposes an IOCTL handler that copies data from a user-supplied source address to a user-supplied destination address without validating the destination buffer size. An attacker with local access can send a crafted IRP to trigger an arbitrary write, leading to memory corruption and potential privilege escalation.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Critical 9.3 View original

An exploitable arbitrary write vulnerability exists in the 0x2222CC IOCTL handler functionality of Sophos HitmanPro.Alert 3.7.6.744. A specially crafted IRP request can cause the driver to write data under controlled by an attacker address, resulting in memory corruption.

Marcin 'Icewall' Noga, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The driver fails to validate the size of the destination buffer before copying data into it, allowing an attacker-controlled write.

Impact

An attacker could gain arbitrary code execution and escalate privileges on the affected system.

What the attacker needed

Local access to the system; ability to send IOCTL requests to the hmpalert device

The fix

The vulnerability was fixed by the vendor in a patch released on 2018-09-17.

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.

A driver on Windows lets any user ask it to copy data from one memory location to another. The driver does not check that the destination has enough space, so a user can make it overwrite important memory. This can let an attacker run their own code with higher privileges.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Marcin 'Icewall' Noga

View all

146 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.