GLSA-200710-11 : X Font Server: Multiple Vulnerabilities

high Nessus Plugin ID 27046

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-200710-11 (X Font Server: Multiple Vulnerabilities)

iDefense reported that the xfs init script does not correctly handle a race condition when setting permissions of a temporary file (CVE-2007-3103). Sean Larsson discovered an integer overflow vulnerability in the build_range() function possibly leading to a heap-based buffer overflow when handling 'QueryXBitmaps' and 'QueryXExtents' protocol requests (CVE-2007-4568). Sean Larsson also discovered an error in the swap_char2b() function possibly leading to a heap corruption when handling the same protocol requests (CVE-2007-4990).
Impact :

The first issue would allow a local attacker to change permissions of arbitrary files to be world-writable by performing a symlink attack.
The second and third issues would allow a local attacker to execute arbitrary code with privileges of the user running the X Font Server, usually xfs.
Workaround :

There is no known workaround at this time.

Solution

All X Font Server users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=x11-apps/xfs-1.0.5'

See Also

https://security.gentoo.org/glsa/200710-11

Plugin Details

Severity: High

ID: 27046

File Name: gentoo_GLSA-200710-11.nasl

Version: 1.17

Type: local

Published: 10/15/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:xfs, cpe:/o:gentoo:linux

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/12/2007

Vulnerability Publication Date: 10/2/2007

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2007-3103, CVE-2007-4568, CVE-2007-4990

CWE: 119, 189, 59

GLSA: 200710-11