Pidgin < 2.12.0 libpurple/util.c purple_markup_unescape_entity() XML Entity Handling RCE

critical Nessus Plugin ID 97947

Synopsis

An instant messaging client installed on the remote host is affected by a remote code execution vulnerability.

Description

The version of Pidgin installed on the remote Windows host is prior to 2.12.0. It is, therefore, affected by a remote code execution vulnerability in the libpurple library in util.c due to an out-of-bounds writer error in the purple_markup_unescape_entity() function that is triggered when handling invalid XML entities separated by whitespaces. An unauthenticated, remote attacker can exploit this, via a malicious server, to execute arbitrary code.

Solution

Upgrade to Pidgin version 2.12.0 or later.

See Also

https://pidgin.im/news/security/?id=109

Plugin Details

Severity: Critical

ID: 97947

File Name: pidgin_2_12_0.nasl

Version: 1.5

Type: local

Agent: windows

Family: Windows

Published: 3/24/2017

Updated: 11/13/2019

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-2640

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:pidgin:pidgin

Required KB Items: SMB/Pidgin/Version

Exploit Ease: No known exploits are available

Patch Publication Date: 3/9/2017

Vulnerability Publication Date: 2/20/2017

Reference Information

CVE: CVE-2017-2640

BID: 96775

IAVB: 2017-B-0029