REDHAT-BUG-2520560: Integer Overflow
GIMP TIF File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of TIF files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29403.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ZDI-CAN-29403 - Compensating control
Because user interaction is required (the target must visit a malicious page or open a malicious file), prevent untrusted users from opening untrusted TIF files and block/inspect inbound and email-borne attachments that could contain malicious TIF content.
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
The attacker must persuade a user to visit a malicious page or open a malicious TIF file. Exploitation occurs through crafted user-supplied data processed by GIMP's TIF parser.
What level of access could successful exploitation provide?
Successful exploitation can allow arbitrary code execution in the context of the current GIMP process. The resulting privileges are therefore those of the user running GIMP.
How can organizations identify potential exposure?
Systems running GIMP that may open TIF files from untrusted sources, or whose users may be directed to malicious pages, are potentially exposed. The provided data does not include affected or fixed version information.