Mandrake Linux Security Advisory : tightvnc (MDKSA-2007:080-1)

high Nessus Plugin ID 24946

Synopsis

The remote Mandrake Linux host is missing one or more security updates.

Description

Local exploitation of a memory corruption vulnerability in the X.Org and XFree86 X server could allow an attacker to execute arbitrary code with privileges of the X server, typically root.

The vulnerability exists in the ProcXCMiscGetXIDList() function in the XC-MISC extension. This request is used to determine what resource IDs are available for use. This function contains two vulnerabilities, both result in memory corruption of either the stack or heap. The ALLOCATE_LOCAL() macro used by this function allocates memory on the stack using alloca() on systems where alloca() is present, or using the heap otherwise. The handler function takes a user provided value, multiplies it, and then passes it to the above macro. This results in both an integer overflow vulnerability, and an alloca() stack pointer shifting vulnerability. Both can be exploited to execute arbitrary code. (CVE-2007-1003)

iDefense reported two integer overflows in the way X.org handled various font files. A malicious local user could exploit these issues to potentially execute arbitrary code with the privileges of the X.org server. (CVE-2007-1351, CVE-2007-1352)

TightVNC uses some of the same code base as Xorg, and has the same vulnerable code.

Updated packages are patched to address these issues.

Update :

Packages for Mandriva Linux 2007.1 are now available.

Solution

Update the affected tightvnc, tightvnc-doc and / or tightvnc-server packages.

Plugin Details

Severity: High

ID: 24946

File Name: mandrake_MDKSA-2007-080.nasl

Version: 1.17

Type: local

Published: 4/5/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:tightvnc, p-cpe:/a:mandriva:linux:tightvnc-doc, p-cpe:/a:mandriva:linux:tightvnc-server, cpe:/o:mandriva:linux:2007.1

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 4/10/2007

Reference Information

CVE: CVE-2007-1003, CVE-2007-1351, CVE-2007-1352, CVE-2007-1667

CWE: 189

MDKSA: 2007:080-1