Skip to content
Memory corruption Advisory Advanced CVE-2016-8382

AntennaHouse DMC HTMLFilter Doc_SetSummary Code Execution Vulnerability

A heap corruption vulnerability exists in the Doc_SetSummary function of AntennaHouse DMC HTMLFilter when processing a specially crafted DOC file. An attacker could exploit this to achieve arbitrary code execution.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.3 View original

An exploitable heap corruption vulnerability exists in the DocSetSummary functionality of AntennaHouse DMC HTMLFilter. A specially crafted doc file can cause a heap corruption resulting in arbitrary code execution.

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 size parameter passed to memcpy in Doc_SetSummary is taken directly from a field in the DOC file's Dop structure without validation, allowing an attacker-controlled value to exceed the destination buffer size.

Impact

A remote attacker could cause heap corruption and potentially achieve arbitrary code execution by sending a malicious DOC file.

What the attacker needed

Victim opens a malicious DOC file; converter processes the file

How it was found

  1. Create a malformed DOC file with a crafted Dop structure field.
  2. Run the DOC to HTML converter with the malformed file as input.
  3. Observe the out-of-bounds write in Doc_SetSummary via Valgrind.

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.

This report describes a memory corruption bug in a document converter. When the program reads a malicious DOC file, it copies more data than the destination buffer can hold, overwriting nearby memory. An attacker could use this to run their own code on the system.

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.