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

AntennaHouse DMC HTMLFilter GetIndexArray Code Execution Vulnerability

A heap corruption vulnerability exists in the GetIndexArray function of AntennaHouse DMC HTMLFilter when processing a specially crafted XLS file. An attacker could exploit this to cause 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 GetIndexArray functionality of AntennaHouse DMC HTMLFilter as used by MarkLogioc 8.0-6. A specially crafted XLS 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 buffer size is calculated from the Blank record's column and row counts, but the loop writes using row and column values from LabelSst records without validating that they fit within the allocated buffer.

What the attacker needed

Victim opens a malicious XLS file

How it was found

  1. Create a specially crafted XLS file containing a Blank record and a LabelSst record with manipulated row and column values.
  2. Run the XLS to HTML converter on the crafted file.
  3. The converter processes the file and triggers an out-of-bounds write in GetIndexArray.

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 file converter. When the converter processes a malicious spreadsheet file, it writes data outside the intended memory area, which can crash the program or 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.