GLSA-201708-05 : RAR and UnRAR: User-assisted execution of arbitrary code

critical Nessus Plugin ID 102617

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201708-05 (RAR and UnRAR: User-assisted execution of arbitrary code)

A VMSF_DELTA memory corruption was discovered in which an integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the “DestPos” variable which allows writing out of bounds when setting Mem[DestPos].
Impact :

A remote attacker, by enticing a user to open a specially crafted archive, could execute arbitrary code with the privileges of the process.
Workaround :

There is no known workaround at this time.

Solution

All RAR users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/rar-5.5.0_beta4_p20170628' All UnRAR users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/unrar-5.5.5'

See Also

https://security.gentoo.org/glsa/201708-05

Plugin Details

Severity: Critical

ID: 102617

File Name: gentoo_GLSA-201708-05.nasl

Version: 3.4

Type: local

Published: 8/21/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:rar, p-cpe:/a:gentoo:linux:unrar, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 8/21/2017

Vulnerability Publication Date: 6/22/2017

Reference Information

CVE: CVE-2012-6706

GLSA: 201708-05