---------------------------------------------------------------------- Passionate about writing secure code? http://secunia.com/company/jobs/open_positions/talented_programmer Read this if your favourite tool is a disassembler http://secunia.com/company/jobs/open_positions/reverse_engineer ---------------------------------------------------------------------- TITLE: LibTIFF Denial of Service Vulnerabilities SECUNIA ADVISORY ID: SA40422 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/40422/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=40422 RELEASE DATE: 2010-07-02 DISCUSS ADVISORY: http://secunia.com/advisories/40422/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/40422/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=40422 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: Some vulnerabilities have been reported in LibTIFF, which can be exploited by malicious people to cause a DoS (Denial of Service). 1) An error within the "putcontig8bitYCbCr12tile()" function in libtiff/tif_getimage.c can be exploited to cause a crash when trying to flip an image vertically on 64-bit platforms. 2) An error within the "TIFFYCbCrtoRGB()" function in libtiff/tif_color.c when processing invalid ReferenceBlackWhite values can be exploited to cause a crash. 3) An assertion error within the "OJPEGPostDecode()" function in libtiff/tif_ojpeg.c can be exploited to terminate an application using the library. 4) The "TIFFNewScanlineSize()", "TIFFScanlineSize()", and "TIFFVStripSize()" functions in libtiff/tif_strip.c call the "TIFFGetField()" without properly checking the return value, which can potentially be exploited to e.g. cause a crash. 5) The library does not properly handle images with "SamplesPerPixel" set to "1" and "Photometric" set to "YCbCr", which can be exploited to cause a crash. 6) Errors when handling TIFF images with undefined strip byte counts can be exploited to cause a crash. SOLUTION: Do not process untrusted TIFF images. PROVIDED AND/OR DISCOVERED BY: 1-4, 6) Reported in e.g. Red Hat bug #583081 or #603024 5) Sauli Pahlman ORIGINAL ADVISORY: 1) http://bugzilla.maptools.org/show_bug.cgi?id=2207 https://bugzilla.redhat.com/show_bug.cgi?id=583081 2) http://bugzilla.maptools.org/show_bug.cgi?id=2208 https://bugzilla.redhat.com/show_bug.cgi?id=583081 3) http://bugzilla.maptools.org/show_bug.cgi?id=2209 https://bugzilla.redhat.com/show_bug.cgi?id=583081 4) http://bugzilla.maptools.org/show_bug.cgi?id=2215 https://bugzilla.redhat.com/show_bug.cgi?id=583081 5) http://bugzilla.maptools.org/show_bug.cgi?id=2216 6) http://bugzilla.maptools.org/show_bug.cgi?id=1996#c12 https://bugzilla.redhat.com/show_bug.cgi?id=603024#c9 OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXPLOIT: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------