Skip to content
Info disclosure Advisory Advanced CVE-2017-2806

Lexmark Perceptive Document Filters XLS ShapeHLink Information Disclosure Vulnerability

The Lexmark Perceptive Document Filters library has an out-of-bounds read when parsing XLS files, caused by trusting a length field in a hyperlink object. An attacker could craft a malicious XLS file to read arbitrary memory, potentially disclosing sensitive information.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Medium 4.3 View original

An exploitable arbitrary read exists in the XLS parsing of the Lexmark Perspective Document Filters conversion functionality. A crafted XLS document can lead to a arbitrary read resulting in memory disclosure.

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 library reads a string length from the file without validation and uses it to calculate a pointer offset, leading to an out-of-bounds read.

Impact

An attacker could cause an arbitrary memory read, potentially disclosing sensitive information from the process memory.

What the attacker needed

Victim opens a malicious XLS file

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.

When a program reads a file, it often uses numbers in the file to decide how much data to read. If it trusts a number that is too large, it can read past the intended data and access other parts of memory. Here, a specially crafted spreadsheet file could make the program read from an attacker-chosen memory address, potentially leaking information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Marcin 'Icewall' Noga

View all

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

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.