AT&T Labs Xmill XML decompression EnumerationUncompressor::UncompressItem heap-based buffer overflow vulnerability
A heap-based buffer overflow exists in the XML decompression functionality of AT&T Labs Xmill 0.7, specifically in EnumerationUncompressor::UncompressItem. A specially crafted XMI file can trigger the overflow, potentially leading to remote code execution.
A heap-based buffer overflow vulnerability exists in the XML Decompression EnumerationUncompressor::UncompressItem functionality of AT&T Labs’ Xmill 0.7. A specially crafted XMI file can lead to remote code execution.
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 decompression routine uses a length value from the compressed file without validating it against the actual buffer size before copying data into a heap buffer.
Impact
A malicious XMI file could cause a heap-based buffer overflow, potentially leading to remote code execution.
What the attacker needed
Victim opens a malicious XMI 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.
This report describes a memory corruption bug in an old XML decompression tool. When the tool decompresses a malicious file, it trusts a length value from the file and copies too much data into a fixed-size memory buffer, causing an overflow. An attacker could use this to run their own code on the victim's machine.
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.