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

Hyland Perceptive Document Filters DOC to HTML updateNumbering Code Execution Vulnerability

A stack-based buffer overflow in the DOC-to-HTML conversion of Hyland Perceptive Document Filters can be triggered by a crafted .doc file, leading to code execution. An attacker could exploit this by providing a malicious document for conversion.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable stack-based buffer overflow exists in the DOC-to-HTML conversion functionality of the Hyland Perceptive Document Filters version 11.4.0.2647. A crafted .doc document can lead to a stack-based buffer, resulting in direct 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 check on the minimum index value only rejects -1 but not other negative numbers, and the subsequent loop uses a signed comparison, causing an out-of-bounds write before the array.

Impact

An attacker could potentially gain code execution on the system by providing a malicious .doc document for conversion to HTML.

What the attacker needed

Victim opens or converts a malicious .doc file

The fix

The vendor patched the vulnerability, likely by correcting the bounds check to handle negative values properly.

How it was found

  1. Create a .doc file containing a paragraph inside a shape object with a PAPX record that sets sprmPIlvl to a negative value.
  2. Run the Hyland conversion tool (isys_doc2text) with the --html option on the crafted .doc file.
  3. Observe a segmentation fault in the updateNumbering function due to stack corruption.

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 software that converts Word documents to HTML. When a specially crafted document is processed, the program writes data outside the intended memory area, which can crash it or allow an attacker to run their own code. The flaw is in how the program handles numbering information inside a document.

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

5 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.