FreeBSD : xorg -- protocol handling issues in X Window System client libraries (2eebebff-cd3b-11e2-8f09-001b38c3836c)

medium Nessus Plugin ID 66798

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

freedesktop.org reports :

Ilja van Sprundel, a security researcher with IOActive, has discovered a large number of issues in the way various X client libraries handle the responses they receive from servers, and has worked with X.Org's security team to analyze, confirm, and fix these issues.

Most of these issues stem from the client libraries trusting the server to send correct protocol data, and not verifying that the values will not overflow or cause other damage. Most of the time X clients & servers are run by the same user, with the server more privileged from the clients, so this is not a problem, but there are scenarios in which a privileged client can be connected to an unprivileged server, for instance, connecting a setuid X client (such as a screen lock program) to a virtual X server (such as Xvfb or Xephyr) which the user has modified to return invalid data, potentially allowing the user to escalate their privileges.

The vulnerabilities include :

Integer overflows calculating memory needs for replies.

Sign extension issues calculating memory needs for replies.

Buffer overflows due to not validating length or offset values in replies.

Integer overflows parsing user-specified files.

Unbounded recursion parsing user-specified files.

Memory corruption due to unchecked return values.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?ed736d9f

Plugin Details

Severity: Medium

ID: 66798

File Name: freebsd_pkg_2eebebffcd3b11e28f09001b38c3836c.nasl

Version: 1.8

Type: local

Published: 6/5/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:libfs, p-cpe:/a:freebsd:freebsd:libgl, p-cpe:/a:freebsd:freebsd:libx11, p-cpe:/a:freebsd:freebsd:libxcursor, p-cpe:/a:freebsd:freebsd:libxext, p-cpe:/a:freebsd:freebsd:libxfixes, p-cpe:/a:freebsd:freebsd:libxi, p-cpe:/a:freebsd:freebsd:libxinerama, p-cpe:/a:freebsd:freebsd:libxp, p-cpe:/a:freebsd:freebsd:libxrandr, p-cpe:/a:freebsd:freebsd:libxrender, p-cpe:/a:freebsd:freebsd:libxres, p-cpe:/a:freebsd:freebsd:libxt, p-cpe:/a:freebsd:freebsd:libxtst, p-cpe:/a:freebsd:freebsd:libxv, p-cpe:/a:freebsd:freebsd:libxvmc, p-cpe:/a:freebsd:freebsd:libxxf86dga, p-cpe:/a:freebsd:freebsd:libxxf86vm, p-cpe:/a:freebsd:freebsd:libdmx, p-cpe:/a:freebsd:freebsd:libxcb, p-cpe:/a:freebsd:freebsd:xf86-video-openchrome, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 6/4/2013

Vulnerability Publication Date: 5/23/2013

Reference Information

CVE: CVE-2013-1981, CVE-2013-1982, CVE-2013-1983, CVE-2013-1984, CVE-2013-1985, CVE-2013-1986, CVE-2013-1987, CVE-2013-1988, CVE-2013-1989, CVE-2013-1990, CVE-2013-1991, CVE-2013-1992, CVE-2013-1993, CVE-2013-1994, CVE-2013-1995, CVE-2013-1996, CVE-2013-1997, CVE-2013-1998, CVE-2013-1999, CVE-2013-2000, CVE-2013-2001, CVE-2013-2002, CVE-2013-2003, CVE-2013-2004, CVE-2013-2005, CVE-2013-2062, CVE-2013-2063, CVE-2013-2064, CVE-2013-2066