GLSA-200701-06 : w3m: Format string vulnerability

high Nessus Plugin ID 24204

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-200701-06 (w3m: Format string vulnerability)

w3m in -dump or -backend mode does not correctly handle printf() format string specifiers in the Common Name (CN) field of an X.509 SSL certificate.
Impact :

An attacker could entice a user to visit a malicious website that would load a specially crafted X.509 SSL certificate containing '%n' or other format string specifiers, possibly resulting in the execution of arbitrary code with the rights of the user running w3m.
Workaround :

There is no known workaround at this time.

Solution

All w3m users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=www-client/w3m-0.5.1-r4'

See Also

https://security.gentoo.org/glsa/200701-06

Plugin Details

Severity: High

ID: 24204

File Name: gentoo_GLSA-200701-06.nasl

Version: 1.16

Type: local

Published: 1/17/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:w3m, 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: 1/12/2007

Vulnerability Publication Date: 12/25/2006

Reference Information

CVE: CVE-2006-6772

BID: 21735

CWE: 134

GLSA: 200701-06