GLSA-200701-06 : w3m: Format string vulnerability

This script is Copyright (C) 2007-2014 Tenable Network Security, Inc.


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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200701-06.xml

Solution :

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

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 24204 (gentoo_GLSA-200701-06.nasl)

Bugtraq ID:

CVE ID: CVE-2006-6772