w3m inputAnswer function format string
| w3m-inputanswer-format-string (34821) |
Description:
w3m could allow a remote attacker to execute arbitrary commands on the system, caused by a format string vulnerability in the inputAnswer function. 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 or cause the application to crash, 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:
- w3m, w3m prior to 0.5.2
Remedy:
Upgrade to the latest version of w3m (0.5.2 or later), available from SourceForge.net: Detail: 1612792. See References.
Consequences:
Gain Access
References:
- 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.
- w3m CVS NEWS revision 1.79, w3m 0.5.2 - 2007-05-31 at http://w3m.cvs.sourceforge.net/*checkout*/w3m/w3m/NEWS?revision=1.79.
- BID-24332: W3M Browser InputAnswer Format String Vulnerability
- CVE-2007-3125: Format string vulnerability in the inputAnswer function in file.c in w3m before 0.5.2 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via format string specifiers in the CN field in an SSL certificate associated with an https URL.
- OpenPKG-SA-2006.044: W3M
Reported:
May 31, 2007
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
