GLSA-200909-12 : HTMLDOC: User-assisted execution of arbitrary code

critical Nessus Plugin ID 40959

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-200909-12 (HTMLDOC: User-assisted execution of arbitrary code)

ANTHRAX666 reported an insecure call to the sscanf() function in the set_page_size() function in htmldoc/util.cxx. Nico Golde of the Debian Security Team found two more insecure calls in the write_type1() function in htmldoc/ps-pdf.cxx and the htmlLoadFontWidths() function in htmldoc/htmllib.cxx.
Impact :

A remote attacker could entice a user to process a specially crafted HTML file using htmldoc, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.
NOTE: Additional vectors via specially crafted AFM font metric files do not cross trust boundaries, as the files can only be modified by privileged users.
Workaround :

There is no known workaround at this time.

Solution

All HTMLDOC users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-text/htmldoc-1.8.27-r1'

See Also

https://security.gentoo.org/glsa/200909-12

Plugin Details

Severity: Critical

ID: 40959

File Name: gentoo_GLSA-200909-12.nasl

Version: 1.14

Type: local

Published: 9/14/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/12/2009

Reference Information

CVE: CVE-2009-3050

BID: 35727

CWE: 119

GLSA: 200909-12