Foxit Studio Photo JPEG Batch Processing Out-Of-Bounds Read Information Disclosure Vulnerability
The JPEG to EPS conversion in Foxit Studio Photo does not properly validate user-supplied data, causing a read past the end of an allocated structure. A remote attacker could use this to disclose sensitive information, and could combine it with other flaws to execute code in the current process.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo. 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 JPEG-to-EPS conversion code trusts size or length values from the input file and reads beyond the allocated buffer without checking them.
Impact
A remote attacker could disclose sensitive information, and could chain this with other vulnerabilities to execute code in the context of the current process; user interaction is required.
What the attacker needed
Victim opens a malicious file; or victim visits a malicious page
The fix
The vendor issued an update to correct the vulnerability.
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 converts a JPEG image into another format, it reads data from the file into a fixed-size area of memory. Here it trusted the file's contents too much and read past the end of that area, so it could show memory it should not. An attacker who gets a victim to open a crafted file or visit a malicious page may see that leaked memory.
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.