CVE-2009-5022 : Detail

CVE-2009-5022

Overflow
15.47%V3
Network
2011-05-03
18h00 +00:00
2017-08-16
12h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Metrics

Metrics Score Severity CVSS Vector Source
V2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 22681

Publication date : 2012-11-12 23h00 +00:00
Author : Francis Provencher
EDB Verified : Yes

##################################################################################### Application: IrfanView TIF Image Decompression Buffer Overflow Vulnerability Plateform: Windows Version: The vulnerabilities are confirmed in version 4.33. Other versions may also be affected. Exploitation: Remote code execution Secunia Number: SA49856 {PRL}: 2012-31 Author: Francis Provencher (Protek Research Lab's) Website: http://www.protekresearchlab.com/ Twitter: @ProtekResearch ##################################################################################### 1) Introduction 2) Timeline 3) Technical details 4) PoC ##################################################################################### =============== 1) Introduction =============== IrfanView is a freeware/shareware image viewer for Microsoft Windows that can view, edit, and convert image files and play video/audio files. It is noted for its small size, speed, ease of use, and ability to handle a wide variety of graphic file formats, and has some image creation and painting capabilities. The software was first released in 1996. IrfanView is free for non-commercial use; commercial use requires paid registration. ##################################################################################### ============ 2) Timeline ============ 2012-07-11 - Vulnerability reported to secunia 2012-11-12 - Coordinated public release of advisory ##################################################################################### ================= 3) Technical details ================= An error when processing JPEG compressed TIFF images can be exploited to cause a heap-based buffer overflow via a specially crafted "ImageWidth" value. ##################################################################################### ============= 4) The Code ============= http://protekresearchlab.com/exploits/PRL-2012-31.tif https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/22681.tif.tar.gz (PRL-2012-31.tif.tar.gz)

Products Mentioned

Configuraton 0

Libtiff>>Libtiff >> Version To (including) 3.9.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.4

Libtiff>>Libtiff >> Version 3.5.1

Libtiff>>Libtiff >> Version 3.5.2

Libtiff>>Libtiff >> Version 3.5.3

Libtiff>>Libtiff >> Version 3.5.4

Libtiff>>Libtiff >> Version 3.5.5

Libtiff>>Libtiff >> Version 3.5.6

Libtiff>>Libtiff >> Version 3.5.6

Libtiff>>Libtiff >> Version 3.5.7

Libtiff>>Libtiff >> Version 3.5.7

Libtiff>>Libtiff >> Version 3.5.7

Libtiff>>Libtiff >> Version 3.5.7

Libtiff>>Libtiff >> Version 3.5.7

Libtiff>>Libtiff >> Version 3.5.7

Libtiff>>Libtiff >> Version 3.6.0

Libtiff>>Libtiff >> Version 3.6.0

Libtiff>>Libtiff >> Version 3.6.0

Libtiff>>Libtiff >> Version 3.6.1

Libtiff>>Libtiff >> Version 3.7.0

Libtiff>>Libtiff >> Version 3.7.0

Libtiff>>Libtiff >> Version 3.7.0

Libtiff>>Libtiff >> Version 3.7.0

Libtiff>>Libtiff >> Version 3.7.1

Libtiff>>Libtiff >> Version 3.7.2

Libtiff>>Libtiff >> Version 3.7.3

Libtiff>>Libtiff >> Version 3.7.4

Libtiff>>Libtiff >> Version 3.8.0

Libtiff>>Libtiff >> Version 3.8.1

Libtiff>>Libtiff >> Version 3.8.2

Libtiff>>Libtiff >> Version 3.9

Libtiff>>Libtiff >> Version 3.9.0

Libtiff>>Libtiff >> Version 3.9.0

Libtiff>>Libtiff >> Version 3.9.1

Libtiff>>Libtiff >> Version 3.9.2

Libtiff>>Libtiff >> Version 3.9.2-5.2.1

Libtiff>>Libtiff >> Version 3.9.3

References

http://openwall.com/lists/oss-security/2011/04/12/10
Tags : mailing-list, x_refsource_MLIST
http://www.debian.org/security/2011/dsa-2256
Tags : vendor-advisory, x_refsource_DEBIAN
http://secunia.com/advisories/44271
Tags : third-party-advisory, x_refsource_SECUNIA
http://securitytracker.com/id?1025380
Tags : vdb-entry, x_refsource_SECTRACK
http://www.mandriva.com/security/advisories?name=MDVSA-2011:078
Tags : vendor-advisory, x_refsource_MANDRIVA
http://security.gentoo.org/glsa/glsa-201209-02.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://www.vupen.com/english/advisories/2011/1014
Tags : vdb-entry, x_refsource_VUPEN
http://www.vupen.com/english/advisories/2011/1082
Tags : vdb-entry, x_refsource_VUPEN
http://www.securityfocus.com/bid/47338
Tags : vdb-entry, x_refsource_BID
http://www.ubuntu.com/usn/USN-1120-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.redhat.com/support/errata/RHSA-2011-0452.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/50726
Tags : third-party-advisory, x_refsource_SECUNIA