w3m certificate processing format string
| w3m-certificate-format-string (31114) |
Description:
w3m could allow a remote attacker to execute arbitrary commands on the system, caused by a format string vulnerability in the processing of certificates. By supplying a specially-crafted SSL certificate with a CN value containing specially-crafted format specifiers, a remote attacker could execute arbitrary commands on the system once the certificate is loaded by the w3m browser.
Note: Successful exploitation requires that the application is running with the -dump or -backend option.
Platforms Affected:
- Canonical, Ubuntu 5.10
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Gentoo, Linux
- Novell, Linux Desktop 9
- Novell, Linux POS 9
- Novell, Open Enterprise Server
- Novell, Open Enterprise Server
- Novell, OpenSUSE 10.2
- Novell, UnitedLinux 1.0
- OpenPKG, OpenPKG 2-STABLE
- OpenPKG, OpenPKG CURRENT
- SuSE, SuSE Linux 10.0
- SuSE, SuSE Linux 10.1
- SuSE, SuSE Linux 9.3
- SuSE, SuSE Linux Enterprise Server 8.0
- SuSE, SuSE Linux OpenExchange Server 4
- SuSE, SuSE Linux Retail Solution 8
- SuSE, SuSE Linux School Server
- SuSE, SuSE Linux Standard Server 8
- SuSE, SuSE SLED 10
- SuSE, SuSE SLES 10
- SuSE, SuSE SLES 9
- w3m, w3m 0.5.1
Remedy:
For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2006.044 for patch, upgrade, or suggested workaround information. See References.
For SUSE Linux:
Refer to SUSE Security Announcement SUSE-SA:2007:005 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200701-06 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Gain Access
References:
- Full-Disclosure Mailing List, Date: Mon Dec 25 2006 - 13:05:19 CST, w3m format string bug at http://archives.neohapsis.com/archives/fulldisclosure/2006-12/0435.html.
- SourceForge.net, w3m at http://w3m.sourceforge.net/.
- SourceForge.net: Detail: 1612792, crashes on -dump or -backend with "%n%n" in SSL certificate at http://sourceforge.net/tracker/index.php?func=detail&aid=1612792&group_id=39518&atid=425439.
- BID-21735: W3M SSL Certificate Format String Vulnerability
- BID-24332: W3M Browser InputAnswer Format String Vulnerability
- CVE-2006-6772: Format string vulnerability in the inputAnswer function in file.c in w3m before 0.5.2, when run with the dump or backend option, allows remote attackers to execute arbitrary code via format string specifiers in the Common Name (CN) field of an SSL certificate associated with an https URL.
- GLSA-200701-06: w3m: Format string vulnerability
- OpenPKG-SA-2006.044: W3M
- SA23492: w3m Certificate Handling Format String Vulnerability
- SECTRACK ID: 1017440: w3m Format String Bug in Processing Certificates May Permit Remote Code Execution
- SUSE-SA:2007:005: w3m format string problem
- USN-399-1: w3m vulnerability
- VUPEN/ADV-2006-5164: W3m Browser inputAnswer() SSL Certificate Handling Remote Format String Vulnerability
Reported:
Dec 25, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
