Remote code execution in libexif



Published: 2009-11-20 | Updated: 2020-07-26
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2009-3895
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libexif
Universal components / Libraries / Libraries used by multiple products

Vendor libexif.sourceforge.net

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU31854

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2009-3895

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the exif_entry_fix function (aka the tag fixup routine) in libexif/exif-entry.c in libexif. A remote attacker can create a specially crafted imgae, trick the victim into opening it, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libexif: 0.6.9 - 0.6.18

CPE2.3 External links

http://bugs.debian.org/557137
http://bugs.gentoo.org/show_bug.cgi?id=293190
http://libexif.cvs.sourceforge.net/viewvc/libexif/libexif/NEWS?view=markup&pathrev=libexif-0_6_19-release
http://secunia.com/advisories/37378
http://sourceforge.net/mailarchive/message.php?msg_name=20091113072359.GA22681%40coneharvesters.com
http://www.openwall.com/lists/oss-security/2009/11/19/2
http://www.osvdb.org/59956
http://www.securityfocus.com/bid/37022
http://www.vupen.com/english/advisories/2009/3243
http://exchange.xforce.ibmcloud.com/vulnerabilities/54275


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###