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

AntennaHouse DMC HTMLFilter AddSst Code Execution Vulnerability

A heap corruption vulnerability exists in the AddSst function of AntennaHouse DMC HTMLFilter when processing a specially crafted XLS file. An attacker could provide a malicious XLS file to trigger heap corruption and potentially 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 AddSst 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

Likely an integer underflow in the loop condition of AddSst causes a huge size to be passed to memcpy, leading to a heap buffer overflow.

What the attacker needed

Victim opens a malicious XLS file

How it was found

  1. Run the XLS to HTML converter under Valgrind with a crafted XLS file.
  2. Observe an invalid write in AddSst during memcpy.
  3. The crash occurs due to a heap overflow in the AddSst function.

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 component that converts XLS spreadsheets to HTML. When the converter reads a malicious XLS file, it miscalculates a buffer size and writes too much data into a small 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.