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.
Originally disclosed on Cisco Talos
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.
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.