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

medium Nessus Plugin ID 66798
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: 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