Check Point Advisories

Apple CUPS PNG Filter Overly Large Image Height Integer Overflow (CVE-2008-5286)

Check Point Reference: CPAI-2008-380
Date Published: 22 Oct 2009
Severity: High
Last Updated: Monday 17 December, 2018
Industry Reference:CVE-2008-5286
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable?
Vulnerability Description The Common Unix Printing System (CUPS) is a modular printing system for Unix-like operating systems that allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer. There exists a buffer overflow vulnerability in Apple's Common Unix Printing System (CUPS) distributed by multiple vendors. The vulnerability is due to a boundary error when handling PNG image format files. A remote attacker can exploit this vulnerability to inject and execute code with privileges of CUPS service. In an attack case where code injection is not successful, the affected application will terminate abnormally. This happens consistently if the vulnerable application is linked with libpng version greater than 1.2.6. In a more sophisticated attack case where code injection is successful, the behaviour of the target is entirely dependent on the intended function of the injected code. The code in such a case would execute within the security context of the affected service, with the privileges of the printer user, normally lp.

Protection Overview

This protection will detect and block attempts to exploit this vulnerability

In order for the protection to be activated, update your Security Gateway product to the latest IPS update. For information on how to update IPS, go to SBP-2006-05, click on Protection tab and select the version of your choice.

Security Gateway R80 / R77 / R75

  1. In the IPS tab, click Protections and find the Apple CUPS PNG Filter Overly Large Image Height Integer Overflow protection using the Search tool and Edit the protection's settings.
  2. Install policy on all Security Gateways.

This protection's log will contain the following information:

Attack Name:  Application Servers Protection Violation.
Attack Information:  Apple CUPS PNG Filter overly large image height integer overflow

This website uses cookies for its functionality and for analytics and marketing purposes. By continuing to use this website, you agree to the use of cookies. For more information, please read our Cookies Notice.