Skip to content
Memory corruption Advisory Advanced CVE-2017-2794

AntennaHouse DMC HTMLFilter PPT DHFSummary Code Execution Vulnerability

A stack-based buffer overflow exists in the DHFSummary function of AntennaHouse DMC HTMLFilter when processing a specially crafted PPT file. An attacker could provide a malicious PPT file to cause stack corruption and potentially achieve arbitrary code execution.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.3 View original

An exploitable stack-based buffer overflow vulnerability exists in the DHFSummary functionality of AntennaHouse DMC HTMLFilter as used by MarkLogic 8.0-6. A specially crafted PPT file can cause a stack 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

Likely the size value read from the file is a signed integer, and a negative value bypasses the check that limits it to 1026, leading to an oversized memcpy into a stack buffer.

What the attacker needed

Victim opens a malicious PPT file; converter processes the file

How it was found

  1. Create a PPT file with a malformed Summary Information structure.
  2. Set the size field at offset 0x1AAC to a large value that becomes negative when interpreted as signed.
  3. Run the PPT to HTML converter with the malformed file as input.
  4. Observe the crash and stack corruption in a debugger.

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 buffer overflow happens when a program copies more data into a fixed-size memory area than it can hold, overwriting nearby data. Here, a number read from a PowerPoint file is used as the size for a memory copy without proper checking, so a huge value causes the program to write past the buffer and corrupt the stack, which can let an attacker run their own code.

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.