(0Day) Ecava IntegraXor Inkscape EMF File Parsing Out-Of-Bound Read Information Disclosure Vulnerability
The Inkscape component used by Ecava IntegraXor does not properly validate user-supplied data when parsing EMF files, so a crafted file can cause a read past the end of an allocated buffer. An attacker could use this to disclose sensitive information, and could combine it with other flaws to execute code in the current process.
Tran Van Khang - khangkito (VinCSS) Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Ecava IntegraXor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 EMF parser in the Inkscape component trusts size or offset values in the file without checking them against the actual buffer length.
Impact
A remote attacker could disclose sensitive information, and could leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current process; the target must visit a malicious page or open a malicious file.
What the attacker needed
Victim opens a malicious EMF file; or victim visits a malicious page
The fix
No patch was published; the advisory says the only practical mitigation is to restrict interaction with the application.
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.
A program reads a file format (EMF, a Windows image format) and trusts numbers inside the file to say how much data to read. If those numbers are wrong, the program reads past the end of its memory buffer and may hand back data it should not. Here that leaked data could be sensitive, and the same flaw could be chained with others to run attacker 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.